mirror of
https://github.com/DeterminateSystems/nix-installer-action.git
synced 2024-12-23 13:32:06 +01:00
?
This commit is contained in:
parent
e3ea98c75e
commit
2e8de0a130
2 changed files with 13 additions and 8 deletions
15
dist/index.js
generated
vendored
15
dist/index.js
generated
vendored
|
@ -96403,7 +96403,7 @@ const external_node_dns_promises_namespaceObject = __WEBPACK_EXTERNAL_createRequ
|
||||||
var cache = __nccwpck_require__(6878);
|
var cache = __nccwpck_require__(6878);
|
||||||
;// CONCATENATED MODULE: external "node:child_process"
|
;// CONCATENATED MODULE: external "node:child_process"
|
||||||
const external_node_child_process_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:child_process");
|
const external_node_child_process_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:child_process");
|
||||||
;// CONCATENATED MODULE: ./node_modules/.pnpm/github.com+DeterminateSystems+detsys-ts@fda3a6fa4f2a0b59a2883e622efbb4f436bcf519_gffdeucnlubwru3j2mmwcetiyq/node_modules/detsys-ts/dist/index.js
|
;// CONCATENATED MODULE: ./node_modules/.pnpm/github.com+DeterminateSystems+detsys-ts@ea83acf8006fc1263b0f938e570a61e3fbf0cd8a_joe566rr7fdnkaxml45twusmwe/node_modules/detsys-ts/dist/index.js
|
||||||
var __defProp = Object.defineProperty;
|
var __defProp = Object.defineProperty;
|
||||||
var __export = (target, all) => {
|
var __export = (target, all) => {
|
||||||
for (var name in all)
|
for (var name in all)
|
||||||
|
@ -97614,11 +97614,16 @@ var DetSysAction = class {
|
||||||
}
|
}
|
||||||
recordPlausibleTimeout(e) {
|
recordPlausibleTimeout(e) {
|
||||||
if (e instanceof TimeoutError && "timings" in e && "request" in e) {
|
if (e instanceof TimeoutError && "timings" in e && "request" in e) {
|
||||||
this.recordEvent("timeout", {
|
const reportContext = {
|
||||||
timings: e.timings,
|
url: e.request.requestUrl?.toString(),
|
||||||
url: e.request.requestUrl,
|
|
||||||
retry_count: e.request.retryCount
|
retry_count: e.request.retryCount
|
||||||
});
|
};
|
||||||
|
for (const [key, value] of Object.entries(e.timings.phases)) {
|
||||||
|
if (Number.isFinite(value)) {
|
||||||
|
reportContext[`timing_phase_${key}`] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
this.recordEvent("timeout", reportContext);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -16,7 +16,7 @@ dependencies:
|
||||||
version: 5.1.1
|
version: 5.1.1
|
||||||
detsys-ts:
|
detsys-ts:
|
||||||
specifier: github:DeterminateSystems/detsys-ts#retry-streams
|
specifier: github:DeterminateSystems/detsys-ts#retry-streams
|
||||||
version: github.com/DeterminateSystems/detsys-ts/fda3a6fa4f2a0b59a2883e622efbb4f436bcf519
|
version: github.com/DeterminateSystems/detsys-ts/ea83acf8006fc1263b0f938e570a61e3fbf0cd8a
|
||||||
got:
|
got:
|
||||||
specifier: ^14.4.2
|
specifier: ^14.4.2
|
||||||
version: 14.4.2
|
version: 14.4.2
|
||||||
|
@ -5650,10 +5650,10 @@ packages:
|
||||||
engines: { node: ">=10" }
|
engines: { node: ">=10" }
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
github.com/DeterminateSystems/detsys-ts/fda3a6fa4f2a0b59a2883e622efbb4f436bcf519:
|
github.com/DeterminateSystems/detsys-ts/ea83acf8006fc1263b0f938e570a61e3fbf0cd8a:
|
||||||
resolution:
|
resolution:
|
||||||
{
|
{
|
||||||
tarball: https://codeload.github.com/DeterminateSystems/detsys-ts/tar.gz/fda3a6fa4f2a0b59a2883e622efbb4f436bcf519,
|
tarball: https://codeload.github.com/DeterminateSystems/detsys-ts/tar.gz/ea83acf8006fc1263b0f938e570a61e3fbf0cd8a,
|
||||||
}
|
}
|
||||||
name: detsys-ts
|
name: detsys-ts
|
||||||
version: 1.0.0
|
version: 1.0.0
|
||||||
|
|
Loading…
Reference in a new issue