Repository navigation
Description
Observed Linux failure
PR #856 head64e84e39ac2d24cb6cfb21c7ed015fc88b9a5aed, based on3dd313a43ca5344394ebe1103ef071a901473203, failed Linux CI in packages/script/test/release-flow.test.ts:212:
release lifecycle with stubbed gh and a real git remote > partial setup late: original error survives; cleanup removes owned directory
Source: https://github.com/mdev34-lab/silvercode/actions/runs/44276641828/job/134706497329
The test's diagnostic reports the original injected setup error survived, cleanup was called once, the owned directory remained visible, and this was the branch without an injected cleanup failure. The subsequent stat(owned) resolved rather than rejecting with ENOENT. The script package finished with123pass/1fail; Turbo aborted after4.67s, before completion of the opencode tests.
Source-grounded scope
The late git setup branch injects an error when the factory reaches git push. The factory catches that setup error, awaits its cleanup callback, then rethrows the original error. The test callback awaits removeFixture(dir, rm) in the non-injected-cleanup-failure branch. removeFixture awaits recursive force removal and records caught removal errors for later reporting; it does not verify post-removal absence itself.
The current PR changes only abandoned-entry test files; the entire packages/script tree is unchanged from the target. This establishes file ownership, not complete causal independence or a flake classification.
Required investigation and acceptance
- Establish why the directory is visible after the awaited cleanup path in this specific late git setup cell.
- Preserve the original setup error, exactly-once cleanup check, no-leak assertion and real cleanup-error reporting.
- Distinguish a failed removal, later directory recreation, test-state interference or another cause with evidence before choosing a fix.
- No blind rerun, sleep/retry loop, increased budgets or skipped assertion as a substitute for a cause.
- Qualify any fix on the actual integration candidate under standard CI and review gates.
One failure is observed. A subprocess race or directory recreation is a hypothesis, not established. No repair is claimed here.
Related #286 concerns intermittent Windows release-fixture subprocess failures with empty stderr. This issue is the distinct Linux cleanup/remaining-directory assertion, not a duplicate claim that the broader Windows issue is fixed. Dedup checked cleanup, partial setup, release-flow and directory terms against current issues. The existing partial-setup test matrix was introduced by #706; related diagnostics/budget history does not establish this failure's cause.
Activity