Repository navigation
fix(ci): stabilize nightly release checks and recovery - #1292
Merged
Merged
Conversation
nixuuu
enabled auto-merge (squash)
November 26, 2026 06:56
nixuuu
added a commit
that referenced
this pull request
Nov 27, 2026
…1339) ## Changes runCli settled only from execFile's callback, and its timeout only sent SIGTERM. A child that ignores SIGTERM, cannot be reaped yet (macOS holds a just-written executable in exec during its first-launch assessment), or has a descendant holding its output kept the promise pending. The Tailscale reading is single flight, so one such call stalled every later refresh. The macOS native check hit this: it hung past its 15 s budget although runCli had a 10 s deadline. runCli now owns the deadline: it sends SIGKILL and resolves a failed result whether or not the exit is reported. The macOS test now links the bundle CLI path to the system shell and keeps its checks in a plain script that shell reads, so it still checks the bundle location, forced CLI mode, the fixed arguments and the empty PATH without launching a new file. A new test shows that a CLI ignoring SIGTERM, with a child holding its output, now fails at the deadline instead of hanging. Related: #1248 Related: #1292 ## Verification - `tests/integration/tailscale-desktop-detection.test.ts` repeated on Linux; the new SIGTERM-ignoring CLI test times out with the old `runCli` and passes with the fix. - Not run on macOS locally: the macOS native check in CI covers it. - Gateway typecheck, oxlint and oxfmt on edited files. Copy audit: no UI text changed. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
This was referenced Nov 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
StartTurnandSteerTurnas delivered. This matches archival and prevents the sandbox profile trigger from deadlocking against command expiry.actooland Swift phases.CreateArtifactrequest timeout. The retry uses the same run and revision and preserves the existing Push CI and publication gates.Verification
check:tmp. A 50,000-iteration race reproduced 23,655 missed links with the previous lookup and zero after the fix.40P01with the old outbox lock order. The regression passed five repetitions after the fix. All 31 targeted archive, linked-agent and sandbox integration tests passed.actionlint, andgit diff --checkpassed. Tested the recovery script with real historical GitHub job data and a stubbed POST for runner loss, theCreateArtifacttimeout that blocked v0.11.0-nightly.1, an ordinary CI failure, and a prior rerun.Fixes: #1213
Fixes: #1114