@vzn/vx 0.0.520 → 0.0.521
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vzn/vx",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.521",
|
|
4
4
|
"description": "The fastest task runner and build cache for JavaScript monorepos.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"node": ">=18"
|
|
22
22
|
},
|
|
23
23
|
"optionalDependencies": {
|
|
24
|
-
"@vzn/vx-linux-x64": "0.0.
|
|
25
|
-
"@vzn/vx-linux-arm64": "0.0.
|
|
26
|
-
"@vzn/vx-darwin-x64": "0.0.
|
|
27
|
-
"@vzn/vx-darwin-arm64": "0.0.
|
|
24
|
+
"@vzn/vx-linux-x64": "0.0.521",
|
|
25
|
+
"@vzn/vx-linux-arm64": "0.0.521",
|
|
26
|
+
"@vzn/vx-darwin-x64": "0.0.521",
|
|
27
|
+
"@vzn/vx-darwin-arm64": "0.0.521"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@anthropic-ai/sandbox-runtime": "^0.0.76"
|
|
@@ -192,6 +192,17 @@ export interface TaskTelemetry {
|
|
|
192
192
|
notReady?: 'timeout' | 'exited' | 'spawn'
|
|
193
193
|
/** On a task that retried: each attempt that failed before the last, in order. Additive. */
|
|
194
194
|
failedAttempts?: readonly FailedAttempt[]
|
|
195
|
+
/** On a task proved flaky this run: its key's passes and failures on record. Additive. */
|
|
196
|
+
flaky?: { passes: number; failures: number }
|
|
197
|
+
/** On a sandboxed task: the violation lines themselves, one per denial. Additive. */
|
|
198
|
+
sandboxViolationLines?: readonly string[]
|
|
199
|
+
/** On a cache hit: how long the run that stored the entry took — the time this hit saved. Additive. */
|
|
200
|
+
storedDurationMs?: number
|
|
201
|
+
/** On a cache hit: the CPU and peak memory of the run that stored it. Additive. */
|
|
202
|
+
storedCpuMs?: number
|
|
203
|
+
storedPeakRssBytes?: number
|
|
204
|
+
/** How long an `admit` policy held the task once it was ready. Additive. */
|
|
205
|
+
admissionHeldMs?: number
|
|
195
206
|
/**
|
|
196
207
|
* On a cache hit: whether outputs were written this run (`true`) or the
|
|
197
208
|
* disk already matched the entry and nothing was restored (`false`, an
|
|
@@ -718,6 +729,14 @@ export function taskTelemetryOf(o: TaskOutcome): TaskTelemetry {
|
|
|
718
729
|
if (o.sandboxViolations !== undefined) t.sandboxViolations = o.sandboxViolations
|
|
719
730
|
if (o.notReady !== undefined) t.notReady = o.notReady
|
|
720
731
|
if (o.failedAttempts !== undefined) t.failedAttempts = o.failedAttempts
|
|
732
|
+
if (o.flaky !== undefined) t.flaky = o.flaky
|
|
733
|
+
if (o.sandboxViolationLines !== undefined && o.sandboxViolationLines.length > 0) {
|
|
734
|
+
t.sandboxViolationLines = o.sandboxViolationLines
|
|
735
|
+
}
|
|
736
|
+
if (o.storedDurationMs !== undefined) t.storedDurationMs = o.storedDurationMs
|
|
737
|
+
if (o.storedCpuMs !== undefined) t.storedCpuMs = o.storedCpuMs
|
|
738
|
+
if (o.storedPeakRssBytes !== undefined) t.storedPeakRssBytes = o.storedPeakRssBytes
|
|
739
|
+
if (o.admissionHeldMs !== undefined) t.admissionHeldMs = o.admissionHeldMs
|
|
721
740
|
if (isCacheHit(o.status)) t.restored = o.restored === true
|
|
722
741
|
if (o.wallclockStartNs !== undefined) t.wallclockStartNs = o.wallclockStartNs.toString()
|
|
723
742
|
if (o.wallclockEndNs !== undefined) t.wallclockEndNs = o.wallclockEndNs.toString()
|