Skip to content

fix(runs): disable implicit lifetime cancellation - #195

Merged
drewstone merged 1 commit into
mainfrom
fix/no-default-timeout
Sep 4, 2026
Merged

fix(runs): disable implicit lifetime cancellation#195
drewstone merged 1 commit into
mainfrom
fix/no-default-timeout

Conversation

@drewstone

Copy link
Copy Markdown
Owner

Elapsed time alone must not end an accepted durable run.

  • default BRIDGE_RUN_MAX_LIFETIME_MS and RunRegistry maxLifetimeMs to 0
  • preserve explicit positive operator and caller deadlines
  • document the opt-in emergency cap
  • prove the default survives the former six-hour boundary

Proof:

  • pnpm build
  • pnpm exec vitest run tests/run-memory-bounds.test.ts tests/server-capabilities.test.ts tests/execution-timeout.test.ts: 22/22 passed
  • full macOS suite: 1008/1043 passed; 16 existing platform-specific failures in jail, Docker path canonicalization, and Linux Pi isolation tests

@drewstone
drewstone merged commit e3f8762 into main Sep 4, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant