Repository navigation
fix(ci): preserve cache warmer shard envelopes - #119403
Conversation
Punchcard-Session: amber-orchard-valley-s4
a7d22c2 to
31dec02
Compare
|
Codex review: needs maintainer review before merge. Reviewed August 4, 2026, 10:09 PM ET / August 5, 2026, 02:09 UTC. ClawSweeper reviewWhat this changesThis PR preserves each selected cache-warmer shard’s include patterns, environment, and identity while serially running its test configurations. Regression provenancePossible regression — probable (failure trace; reviewed change). No predecessor PR is attributed. Merge readinessNo blocking correctness finding: this distinct follow-up restores planner filters and environment at the cache-warmer plan producer, while the generic runner already applies them. It remains open for ordinary exact-head CI review because it is maintainer-authored and maintainer-labeled. Priority: P3 Review scores
Verification
How this fits togetherThe scheduled Vitest cache warmer converts selected CI planner shards into serial child groups that populate protected transform caches. Those groups feed the shard runner, which applies each group’s environment and optional test-file filter before launching Vitest. flowchart LR
A[Scheduled cache warmer] --> B[CI shard planner]
B --> C[Selected shard envelopes]
C --> D[Serial child groups]
D --> E[Shard runner]
E --> F[Filtered Vitest runs]
F --> G[Protected cache seed]
Before merge
Agent review detailsSecurityNone. PR surfaceTests +68, Docs 0, Config +3. Total +71 across 3 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Merge the producer-boundary repair after exact-head checks complete, then confirm the next scheduled or dispatched warmer runs the preserved filtered envelopes successfully. Do we have a high-confidence way to reproduce the issue? Yes—source-reproducible: current main visibly drops planner metadata before the runner, and the branch's workflow-boundary test reconstructs the affected group output from the real planner. Is this the best way to solve the issue? Yes. The workflow is the producer that loses the fields; preserving its existing shard envelopes is narrower and safer than changing the generic runner or widening the filtered suites. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 6a8e11e63cee. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
* origin/main: (22 commits) refactor(plugins): consolidate lifecycle hook dispatch (#119429) fix(ci): stabilize TUI PTY proof ownership (#119420) test(system-agent): reduce suite setup overhead (#119424) fix(ui): keep session rail pill status from overlapping the headline (#119397) fix(discord): avoid doctor runtime loading (#119391) fix(media): decouple playback cache retention (#119417) fix(slack): infer upload filename extensions from MIME types (#119399) refactor(channels): unify configured binding resolution (#119414) refactor(google-meet): unify gateway and tool dispatch (#119413) test(state): reuse legacy database fixtures (#119423) fix(reset): preserve bootstrap guidance for dynamic models (#119179) fix(chutes): honor serving context limits (#119196) refactor(status): consolidate scan projections and lazy loaders (#119412) fix(status): status --all slows down with missing plugins (#119203) refactor(gateway): consolidate usage reporting and caches (#119409) perf(gateway): keep reload and recovery machinery off gateway cold start (#119094) fix(cli): align TaskFlow controller columns for wide text (#118801) fix: make startup migration restart guidance install-neutral (#119406) fix(ci): preserve cache warmer shard envelopes (#119403) fix(sessions): preserve compatible auth profiles on model changes (#117550) ...
Punchcard-Session: amber-orchard-valley-s4
Follow-up to #119381.
Punchcard-Session: amber-orchard-valley-s4
What Problem This Solves
Fixes an issue where the scheduled Vitest cache warmer expanded filtered CI shards into whole configs, causing the final auto-reply worker to exit unexpectedly even after each config moved to a fresh child process.
Why This Change Was Made
The warmer now preserves each selected planner shard's include patterns, environment, and identity while still launching one config per serial child. This keeps the existing shared cache leaf and avoids retries, timeout increases, worker changes, or runner changes.
User Impact
Maintainers get a bounded cache-warm run that follows the same shard envelopes as normal CI instead of re-expanding filtered suites.
Evidence
Worker exited unexpectedly.