Repository navigation
Description
Context
Ready-candidate confirmation for #4036 failed before product proof could start. The changeset job timed out in native Vitest file discovery and published no inventory; the aggregate proof job then refused the incomplete selected proof. This blocks delivery of p1 #4033. It is not evidence of a failing product assertion or a red main branch.
- Run: https://github.com/schlessera/brain-kit/actions/runs/44035623508 (attempt 1).
- Metadata job: https://github.com/schlessera/brain-kit/actions/runs/44035623508/job/133877677175, step
Discover product scenario and assertion ownership. - Aggregate job: https://github.com/schlessera/brain-kit/actions/runs/44035623508/job/133878748666, step
Require every selected proof category to pass. - Head:
f62a5f6a6f93aeb664edde38961bda96d3816b72. - Base:
d974052166f335cbf57b385fddc13875da1b98de. - Actual two-parent checkout:
2ad66730d7f0e85e772e210d81fdc9e7ac15ed02, tree3c00feb182fbad2dc87fb2c8b32dcbd18772a0f8, parents base then head.
browserInventory (scripts/proof-inputs.ts:55-112) runs node ../../node_modules/vitest/vitest.mjs list --filesOnly --json=<output> from packages/ui-kit, with CI=true and STORYBOOK_DISABLE_TELEMETRY=1. Its fixed 30-second lifetime includes child exit and both pipe drains. The #2380 option A ruling preserves that maximum; #2326 measured a cold discovery at 14,811 ms in the pinned two-CPU image.
The hosted receipt reports elapsed 30,333 ms, deadline 30,000 ms, timedOut: true, exitCode: null, signal: SIGKILL, stdout 0 bytes, stderr 38,826 bytes and inventory.present: false. Stderr ends with Vite native-config/CommonJS warnings. Those warnings are an observation, not an established root cause. Forty-four checks were skipped after discovery failed. The confirmation helper exited and released its owned reservation.
Out of scope
- Raising or removing the fixed 30-second cap, suppressing failures, bypassing confirmation, or retrying an unchanged failure until green.
- Dropping projects, narrowing the inventory to affected files, parsing diagnostics as the JSON envelope, or weakening cleanup/pipe-drain guarantees.
- Changes to experiments: Git read qualification expects resolve after synchronous revision refusal #4033's test-only direct-ref correction, reference acquisition policy, native/backend equivalence, or unrelated product tests.
Scope
Diagnose why the native file-only discovery did not publish its complete inventory within the supported hosted budget, then resolve the cause without weakening the existing discovery and confirmation contract.
Acceptance criteria
- A retained failing receipt identifies the responsible startup/discovery/lifetime phase, using the actual failed candidate and pinned environment where practical; the cause is established rather than inferred from warning text.
- Complete native file-only discovery succeeds within the unchanged 30-second maximum in the supported pinned two-CPU environment, publishing the validated file-channel inventory for every declared browser, layout and endurance project.
- Timeout, child failure, invalid/missing/duplicate inventory and unknown/missing project selection still fail closed; both pipes are drained and only the owned discovery process group is terminated/reaped.
- Focused failing-first or mutation proof detects the repaired failure class, and existing discovery contract tests remain effective.
- A new ordinary exact-candidate confirmation reaches all selected proof categories and they pass, with actual checkout, parent and tree evidence. Preserve the original failure separately.
Verification
Inspect the linked hosted logs and immutable checkout receipt. Reproduce with the same browserInventory invocation and supported image/resource limits; collect bounded phase evidence without changing the budget or selected projects. Run relevant discovery tests and bun run check:pr --base origin/main. Request fresh ordinary confirmation after the cause is corrected; record its selected-job checkout identities and results.
Contract impact
Preserve the #2380 discovery cap, complete project selection, validated JSON file channel, process-group ownership, pipe drains and fail-closed merge proof. No product API change is intended.
Activity
schlessera commentedon Nov 17, 2026
Claimed for implementation. Claim token:
claim-5983fbad. Branch:fix/4149-native-discovery-startup.collisions: closure-only reports against scripts/proof-inputs.ts; no direct path owner
fix(ci): name the starved phase in a native discovery timeout receipt (…
schlessera commentedon Nov 17, 2026
Merged in #4160 as
ddb5b5c84through the integration lease (orchestrator merge queue for 0.45.0). Candidate confirmation passed on the exact head; the squash's own main run carries the post-merge heavy categories.