Repository navigation
fix: avoid full app builds in worker ownership tests - #197729
Conversation
Retain explicit private-network denial and host suppression of retired results after an admitted transport completes. Attribute the stale expectations to #197615; all eight provider integration cases pass.
|
🦞👀 Pull request received. I will update this pull request when review starts. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@clawsweeper re-review Please review final head a97af0c. The final diff contains only the worker-group compiler fixture and logger-worker module graph fixture; equivalent Git and Decision repairs are already on main. Focused integration proof and independent P2 review are complete. |
|
🦞👀 Re-review progress:
|
|
Codex review: needs maintainer review before merge. What this changesThis PR uses the existing controlled compiler for every worker-ownership matrix row and checks the shared row’s compiler receipt count. Example: The ownership matrix runs with parallelism=2 and shared=true.
Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review This PR makes a focused, justified test-fixture repair without weakening the ownership assertions. No actionable findings; exact-head CI remains pending. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe CI shard runner lends compiled worker generations to test groups; this suite exercises borrowing and cleanup using real child processes and IPC. flowchart TD
A[Ownership matrix] --> B[CI shard runner]
B --> C[Worker generation owner]
C --> D[Controlled compiler]
C --> E[Test group borrowers]
E --> F[Sharing and cleanup assertions]
Technical reviewBest possible solution: Keep lifecycle checks on the existing controlled compiler while retaining real compilation and integrity coverage in the compiler-owner suite. Do we have a high-confidence way to reproduce the issue? Source confirms that the shared parallel row alone selects the full compiler; the reported timeout was not independently rerun during this read-only review. Is this the best way to solve the issue? This is the smallest complete fixture repair: reuse the existing compiler substitution, preserve lifecycle assertions, and leave compilation correctness with its established owner. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against bfd85da11eeb. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
PR surfaceTests -3. Total -3 across 1 file. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (1 earlier review cycle)
Reviewed November 12, 2026, 8:15 AM ET / 13:15 UTC (Revision 2). |
Resolve the overlap with #197728 using its exact main version, including logger and global lifecycle cleanup. Only the previously tested and independently reviewed worker-group compiler fixture remains in this PR.
|
@clawsweeper re-review Final head 016763e retains peer #197728's exact landed admission-fixture cleanup. The remaining diff is only the already-tested worker-ownership compiler fixture, net −3 test lines with no production changes. Fresh isolated P2 review is clean; the prior review had no open items. |
|
🦞👀 Re-review progress:
|
|
Merged via squash.
|
* test: repair hourly CI fixture boundaries * test: align Decision fixtures with request-start admission Retain explicit private-network denial and host suppression of retired results after an admitted transport completes. Attribute the stale expectations to openclaw#197615; all eight provider integration cases pass.
What Problem This Solves
Fixes an hourly full-CI timeout where one worker-ownership test compiles the full application before it can exercise its intended process-lifecycle assertions.
User Impact
No runtime behavior changes. The worker-ownership matrix retains its real process, IPC, sharing, borrowing, generation and cleanup checks.
Why This Change Was Made
The matrix introduced in #146353 (
94a56b2f78fbbd80e0af4ae95ab9e03b8ec8a375) used a full application compile for its parallel/shared row, while the other rows already used a controlled compiler. Use that existing compiler consistently and assert that the shared row produces one compiler receipt.Actual compiler, source-freshness, altered-output, build-error and compiler-lifetime coverage remains in the separate
vitest-worker-artifacts.test.tsowner suite. No production code, timeout, configuration, cache, or test-only production seam changes. Production LOC delta 0; test delta −3, in one existing file.Evidence
Original failure: full CI 43204708317, job 131137466845, exact head
fc445e60c9e32b9a0330b17e7884ea5c9816312c.pnpm check:changedpassed, including all three unused-export scans with zero entries.9426950e80d05d9cf62b8efa4a13c8b0595ff5d5. The remaining test, compiler/runner owners, runtime declarations and dependency inputs are unchanged from the passing replay; unrelated peer repairs are retained exactly as landed. Fresh isolated Codex P2 review of the final one-file diff is scoped-clean.Landing uses native
scripts/pr; E2BIG hydration fix #197593 is already on main. No fallback, timeout increase, CI rerun-to-green or inherited-red exception is requested. Final scheduled-main qualification remains a separate lane obligation.