You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unrelated PRs such as #45 randomly failed because repository-wide node --test discovered cli-agent-bridge integration suites that explicitly enable its unsupported POSIX polling tracker. Under CPU pressure, a short-lived parent and child can both exit before polling captures their identities. The tracker must quarantine that unverified tree, even when the backend exits successfully (CI failure).
Move the two server suites to an explicit integration/ directory and update the existing Windows workflow to execute both complete suites against the supported Windows Job Object containment. Root package changes also trigger the Windows job. Default repository checks retain the process-tracker fixtures and workspace-lock tests; explicit POSIX integration remains available for diagnostics. Document these validation boundaries and commands.
This changes test discovery and workflow wiring only. Production code, containment policy, and integration assertions are unchanged. Existing platform-specific skips remain unchanged.
Validation:
Reproduced the fail-closed exitCode: 0 / treeTerminated: false result with real short-lived Git subprocesses, including a 1-CPU Linux pressure run.
Final local npm run check: 345 tests, 344 passed, 1 existing skip, 0 failures; 28 hosted plugin manifests and all examples validate.
Verified the renamed entry points with protocol initialization, Codex argument templates, and unsupported-platform boundary tests.
GitHub Ubuntu CI passed three consecutive attempts on the identical head 189b1b04f5dc80cf0ac3606dda128c93f29e6963 (run). CodeQL and the complete Windows integration run also passed on that same head.
hetaoBackend
changed the title
Fix Linux bridge process-tracking races in CI
Stabilize bridge CI with supported Windows integration coverage
Sep 18, 2026
Independent confirmation from the affected-PR side: across four runs we recorded five distinct failing test names in this family (a fetch in another repository…, new-branch attribution considers baselines beyond the first 256 tips, a workspace fetch makes commit attribution explicitly unavailable, a new branch forked from a divergent branch…, a delegation cancelled while queued for the lock never starts its worker) with a constant treeTerminated:false error family, green main runs interleaved between red fork-PR runs, and the same head passing the full 493-test gate on an idle local Ubuntu box (482 pass / 0 fail) — all consistent with the identity-capture race under CPU pressure described here. Moving the suites to explicit integration/ with supported Windows Job Object coverage looks like the right containment; glad the evidence thread on #43 fed into this.
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
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.
Unrelated PRs such as #45 randomly failed because repository-wide
node --testdiscovered cli-agent-bridge integration suites that explicitly enable its unsupported POSIX polling tracker. Under CPU pressure, a short-lived parent and child can both exit before polling captures their identities. The tracker must quarantine that unverified tree, even when the backend exits successfully (CI failure).Move the two server suites to an explicit
integration/directory and update the existing Windows workflow to execute both complete suites against the supported Windows Job Object containment. Root package changes also trigger the Windows job. Default repository checks retain the process-tracker fixtures and workspace-lock tests; explicit POSIX integration remains available for diagnostics. Document these validation boundaries and commands.This changes test discovery and workflow wiring only. Production code, containment policy, and integration assertions are unchanged. Existing platform-specific skips remain unchanged.
Validation:
exitCode: 0/treeTerminated: falseresult with real short-lived Git subprocesses, including a 1-CPU Linux pressure run.npm run check: 345 tests, 344 passed, 1 existing skip, 0 failures; 28 hosted plugin manifests and all examples validate.189b1b04f5dc80cf0ac3606dda128c93f29e6963(run). CodeQL and the complete Windows integration run also passed on that same head.