@vzn/vx 0.0.547 → 0.0.548

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.547",
3
+ "version": "0.0.548",
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.547",
25
- "@vzn/vx-linux-arm64": "0.0.547",
26
- "@vzn/vx-darwin-x64": "0.0.547",
27
- "@vzn/vx-darwin-arm64": "0.0.547"
24
+ "@vzn/vx-linux-x64": "0.0.548",
25
+ "@vzn/vx-linux-arm64": "0.0.548",
26
+ "@vzn/vx-darwin-x64": "0.0.548",
27
+ "@vzn/vx-darwin-arm64": "0.0.548"
28
28
  },
29
29
  "dependencies": {
30
30
  "@anthropic-ai/sandbox-runtime": "^0.0.76"
@@ -507,11 +507,13 @@ async function executePersistentTask(args: ExecuteArgs): Promise<TaskOutcome> {
507
507
  }
508
508
  // The reason rides the outcome (every label reads it), and a child that
509
509
  // exited before ready keeps its own exit code rather than a made-up 1.
510
+ // One the readiness timeout is killing reports the signal's, as an
511
+ // ordinary timeout does (X-24).
510
512
  const ready = err instanceof PersistentReadyError ? err : undefined
511
513
  return {
512
514
  node,
513
515
  status: 'failed',
514
- exitCode: ready?.exitCode ?? 1,
516
+ exitCode: ready?.reason === 'timeout' ? await spawn.child.exited : (ready?.exitCode ?? 1),
515
517
  durationMs: spawn.readyMs(),
516
518
  ...(ready !== undefined ? { notReady: ready.reason } : {}),
517
519
  wallclockStartNs,