Skip to content

fix(test): stop the SEA e2e test's own timeout race from swallowing diagnostics - #30

Merged
Mearman merged 1 commit into
mainfrom
fix/e2e-diagnostics
Sep 13, 2026
Merged

Mearman merged 1 commit into
mainfrom
fix/e2e-diagnostics

Conversation

@Mearman

@Mearman Mearman commented Sep 13, 2026

Copy link
Copy Markdown
Member

sea (macos-26-intel) failed a second time, burning through the entire SEA_BINARY_STARTUP_TIMEOUT_MS budget with zero success, but the outer test() timeout was set equal to that same budget — vitest's own abort raced this test's catch block and won, discarding every byte of captured stderr and leaving nothing to actually diagnose from. Logs stderr as it arrives, tracks the child's own exit/spawn-error state, and gives the outer timeout real headroom over the inner poll deadline so the next failure (if there is one) actually tells us what's happening.

…iagnostics

sea (macos-26-intel) failed a second time, burning through the whole
SEA_BINARY_STARTUP_TIMEOUT_MS budget with zero success — but the
outer test() timeout was set equal to that same budget, so vitest's
own abort raced this test's catch block and won, discarding every
byte of captured stderr and leaving nothing to diagnose from.

Logs stderr as it arrives instead of only from the catch block, tracks
the child's own exit/spawn-error state, and gives the outer test()
timeout real headroom over the inner poll deadline so this test's own
diagnostic Error is what actually surfaces as the failure.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 13, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review Completed 2026-09-13T14:04:01.564531Z 56e7fa8 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Mearman
Mearman merged commit b2e95d8 into main Sep 13, 2026
8 checks passed
@Mearman
Mearman deleted the fix/e2e-diagnostics branch September 13, 2026 14:07
@exaclaude

exaclaude Bot commented Sep 13, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 1.2.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

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