Repository navigation
Description
Closed historical diagnosis — 2026-11-17
Closed at the maintainer's request, without a root-cause or fixed-defect claim. The old failed/inconclusive receipts and cause-unproven status remain retained. This issue no longer blocks validated #4610 head7a3c272df8fb785c7155c427ee30c87757f0fb72.
Closure and readiness Decision. The original observations and investigation requirements below are historical evidence. A future recurrence needs a fresh actionable reproduction, not an indefinitely open placeholder.
Parent: #4368. The historical readiness block is superseded by the closure Decision above. This does not authorize unrelated PR maintenance or weakening test policy.
Observed behavior
The exact affected gate at candidate c7bb1990e541174c147e25b9f907d2d9c1625ada failed its full-unit fallback. Related tests passed 376. Unit tests reported 19,756 passed, one failed and three skipped. The checkout stayed clean; the actual runner receipt reports exactCommit: true and checkoutChanged: false.
Failure: packages/platform-android/src/__tests__/snapshot-helper-exit-result.test.ts:873:10, a helper that prints chunks and then times out in the executor leaks no stream. The exit-evidence assertion expected statusCode === 1 and received undefined.
A controlled comparison then ran this identical command once per checkout, strictly sequentially, with no competing audit checks:
AGENT_DEVICE_VITEST_MAX_WORKERS=4 npx --yes pnpm@11.17.0 run check:unit
- Unchanged base
80075b6412dfa94fd765a36407270e21adce8981: exit 1, 19,749 passed, two failed, three skipped. The same helper test failed at the same location withundefined !== 1. A second failure wastest/repo-guards/macos-helper-package-contents.test.ts:65:1, timing out after 5,000 ms. - Candidate: exit 1, 19,756 passed, one failed, three skipped. The helper assertion passed in this run. Instead,
test/repo-guards/snapshot-producer-emitters.test.ts:186:1,the scan fails an emitter that names an unlisted producer, timed out after 5,000 ms.
Neither run reached the later temporary-directory-leak or smoke sub-stages. Both checkouts stayed clean. Pinned setup passed. The candidate changes only the Android emulator-lifecycle module and its tests; the original failing helper cluster is unchanged across the comparison range.
Historical interpretation
The original assertion can fail without the candidate patch. The candidate still has failed validation. The changing failure set does not establish host contention, an infrastructure fault, or the cause of any failure. There is only one unchanged-base observation; it does not establish that base's repeatability. Historical receipts remain failed.
Original diagnosis requirements (historical)
Use bounded phase evidence at the existing helper/executor and repository-scan owners. Distinguish child startup/output/termination, exit-evidence normalization, scan work and teardown. If a concrete invariant defect is found, fix its owner and demonstrate detection with unchanged-base or isolated mutation evidence. If the failure does not recur, retain the failed logs and identify the evidence needed at the next occurrence.
Keep meaningful exit-evidence, stream-cleanup and producer-completeness assertions. Preserve #4050's full-unit fallback, worker and isolation policy. Do not increase timeouts, add retries or allowlists, delete tests, change the pool, or run repeated broad gates to obtain a pass. A passing focused case does not clear the failed affected gate. Native Android boot proof remains a separate #4426 requirement.
Evidence is retained under /tmp/agent-device-audit-review/coordinator/next4-apex/4426-current-exact/ (actual receipt receipt-stdout.json) and 4426-unit-base-comparison/ (report.md, base.log, head.log, setup/state records). The failure excerpts above provide remotely readable evidence; publish fuller excerpts with the eventual PR.
Activity
apex-sentinel-staging commentedon Nov 13, 2026
Apex Sentinel · Issue review
Suggested label:
bugThe report gives concrete failing validation cases, including a helper test expecting statusCode === 1 but receiving undefined and 5000ms repo-guard timeouts, plus the command, commits, and evidence paths. That makes it a real broken-behavior report that a maintainer can investigate.
Required sections
thymikee commentedon Nov 13, 2026
Current state: closed historical diagnosis; #4610 is ready for review
The maintainer authorized proceeding and requested that this historical diagnosis not remain open. #4512 is closed as not planned for further historical investigation under #4512 (comment). It no longer blocks current validated #4610 head7a3c272df8fb785c7155c427ee30c87757f0fb72; the PR is marked ready under #4426 (comment).
This is not a root-cause or fixed-defect claim. Original helper/guard/WebOS and related API36 causes remain unproven. Failed/inconclusive receipts retain their status and original SHAs. The original observations, phase-capture plans and durable proof remain available; no indefinite placeholder issue or automatic retry loop is retained. A concrete recurrence on current code needs its fresh reproduction and receipts.
The current head separately has exact full-selection validation(42passed/25skipped,415related,20,197unitpassed/10skipped,#4050retained), detecting HTTP/mutation proof, independent source/native review, actual API35 readiness/cancellation/live-child/deadline-response evidence and human readiness confirmation. Pre-ready CI had13successful checks/5draft skips and Sentinel approval; old skips remain skips. Ready-triggered checks must complete with their own authority. No timeout/assertion/worker/pool/gate weakening, source edit, merge/release/tag or shared-resource cleanup occurred.
thymikee commentedon Nov 17, 2026
Decision: close historical validation diagnosis and accept current-head readiness:
The maintainer authorized proceeding with #4610 and explicitly requested that this historical diagnosis not remain open. Close #4512 as not planned for further historical investigation. Remove its readiness block for validated head7a3c272df8fb785c7155c427ee30c87757f0fb72 and mark #4610 ready for review.
That head has a clean exact full-selection gate(42passed/25skipped,415related,20,197unitpassed/10skipped,#4050retained), independent source/smaller-design review, detecting HTTP/isolated mutation proof, actual API35 readiness/caller-cancel/live-child/deadline-response evidence,13successful CI checks/5draft skips and Sentinel approval. Human review6950247930 explicitly confirms the code and live receipts are ready. Skips receive no pass credit; ready-triggered CI must satisfy its own requirements.
This is a closure/readiness disposition, not a root-cause finding or a claim that an old failed receipt passed. Historical helper/guard/WebOS/API36 causes remain unproven, failed/inconclusive receipts keep their exact SHAs, and durable evidence/next-occurrence capture plans stay retained. There is no active historical investigation or placeholder follow-up to keep open. If a failure recurs on current code, use its fresh reproduction and receipts for a new actionable diagnosis that references this history.
This supersedes the standing #4512 draft-block instructions for this validated PR head. Keep finite runtime policies, meaningful assertions, worker/isolation policy and full-unit fallback unchanged. Do not retry CI blindly, weaken gates, infer causes, merge, release or push tags. #4426 residual scopes and umbrella #4368 remain separate and open.