Skip to content

test(cli): remove the artificial launcher probe deadline - #91

Merged
ScriptedAlchemy merged 2 commits into
mainfrom
codex/fix-launcher-probe-fixture
Nov 9, 2026
Merged

ScriptedAlchemy merged 2 commits into
mainfrom
codex/fix-launcher-probe-fixture

Conversation

@ScriptedAlchemy

@ScriptedAlchemy ScriptedAlchemy commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

The unusable-release fixture introduced in #62 replaces the launcher’s 30-second validation bound with 500ms. On a loaded host, valid shell fixture startup can exhaust that bound before writing stderr or its ready marker, so the test fails before exercising the intended behavior.

Remove the artificial timeout hook and run the four failure fixtures as separate live tests under the existing project ceiling. The hanging probe uses the production bound and still checks that it started, timed out without invoking its TERM trap, and left no published install. Missing-loader, stderr failure and actual SIGTERM coverage remain; the signal and timeout diagnostics are now explicit assertions.

Validation: the original test failed repeatedly with ETIMEDOUT before its stderr/ready assertions. The repaired file passes all 5 tests, and npm_config_offline=true vp run check:changed origin/main passes format, lint, both Knip passes, scripts typecheck and all changed tests. All five tests passed on macOS. Also exercised the actual Node launcher in a Debian ARM64 container for successful installation, stderr failure, SIGTERM, and ETIMEDOUT with no partial install. The POSIX fixtures skip Windows. The probe blocks on a FIFO and uses negligible CPU during the 30-second production timeout.

Model and harness: GPT-6, Codex.

@changeset-bot

changeset-bot Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: d0e2b67

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@ScriptedAlchemy
ScriptedAlchemy merged commit 92c43b9 into main Nov 9, 2026
9 checks 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