Skip to content

fix(#980 Bug 2): raise rust-bindings timeout to 900s + env-override - #990

Merged
joelteply merged 1 commit into
canaryfrom
mac/980-bug2-rust-bindings-timeout
May 1, 2026
Merged

joelteply merged 1 commit into
canaryfrom
mac/980-bug2-rust-bindings-timeout

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Summary

300s budget for `cargo test --lib export_bindings --no-run` was catching cold-cold builds on slower hardware. M1 Carl-validator pass measured 192s real for the partially-cached compile; cold-cold routinely blows past 300s, causing Phase 2b to fail with the cryptic "Timed out after 300s → npm run prebuild failed" cascade.

Default 900s for headroom. Env-override via `CONTINUUM_TS_RS_TIMEOUT_MS` for both directions:

  • Faster hardware / dev iteration → set lower for tighter feedback loop
  • CI lanes that need to bail sooner on a wedged build → also lower

Invalid env values (non-numeric, missing) fall back cleanly to 900s default.

Closes #980 Bug 2.

The 300s budget for `cargo test --lib export_bindings --no-run` was
catching cold-cold builds on slower hardware. M1 Carl-validator pass
measured 192s real for the partially-cached compile; cold-cold
routinely blows past 300s, causing Phase 2b to fail with the cryptic
"Timed out after 300s → npm run prebuild failed" cascade.

Default 900s for headroom. Env-override via CONTINUUM_TS_RS_TIMEOUT_MS
for both directions (users on faster hardware who want a tighter
feedback loop, OR CI lanes that need to bail sooner on a wedged
build). Invalid env values fall back to the 900s default cleanly.
@joelteply
joelteply merged commit 683712b into canary May 1, 2026
3 checks passed
@joelteply
joelteply deleted the mac/980-bug2-rust-bindings-timeout branch May 1, 2026 23:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant