Repository navigation
fix(ci): prevent oversized database-worker jobs from timing out - #150581
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: blocked before merge. Reviewed September 17, 2026, 12:26 AM ET / 04:26 UTC. ClawSweeper reviewWhat this changesThe PR splits native database-worker tests into groups of at most 20 files and prevents job packing from recombining them above that limit. Merge readiness⛔ Blocked before merge - 1 item remains Keep open: this remains a useful, focused CI repair absent from the inspected main revision. No actionable introduced defect was found, and the protected maintainer submission is not a cleanup candidate. Priority: P2 Review scores
Verification
How this fits togetherOpenClaw’s CI planner turns changed paths and plugin test inventories into runner jobs. Its splitting and packing stages determine which tests share a job before the existing runner executes their isolated processes. flowchart TD
A[Changed repository paths] --> B[Plugin test inventory]
B --> C[Classify native and migrated tests]
C --> D[Split bounded test groups]
D --> E[Pack jobs within file and cost limits]
E --> F[Run existing isolated test processes]
Before merge
Agent review detailsSecurityNone. PR surfaceTests +15, Docs +11, Other +27. Total +53 across 4 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep job sizing and packing under the existing planner owners, preserving complete coverage and process isolation while using completed hosted timings to assess the ceiling. Do we have a high-confidence way to reproduce the issue? Yes, source establishes the unbounded native group through the fallback planner, supported by the recorded hour-long CI cancellation; this review did not execute a current-main reproduction. Is this the best way to solve the issue? Yes. Applying the bound at both existing splitting and packing stages addresses the demonstrated mechanism without changing process isolation or raising deadlines. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 3e8b396a7dc8. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
What Problem This Solves
Fixes database-worker CI jobs timing out while tests are still passing, as seen in run 35176277297.
User Impact
No product behavior changes. CI distributes the native database-worker tests across bounded jobs while retaining every test, existing process isolation, worker limits, timeouts, and capacity caps.
Why This Change Was Made
The planner left 185 native worker files in one envelope, then treated the group as inexpensive enough to bundle with other suites. Cap native worker files at 20 both when creating envelopes and when packing jobs. Migrated channel files retain their original plugin's limits.
Evidence
Related: #149737.