Repository navigation
fix(ci): rebalance session storage test type graph - #154497
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: needs maintainer review before merge. Reviewed September 21, 2026, 2:21 AM ET / 06:21 UTC. ClawSweeper reviewWhat this changesMoves session-storage tests into the existing agent-session typechecking group and updates CI documentation, restoring capacity without raising limits. Merge readiness✅ Ready for maintainer review Keep open: this remains a useful, focused CI repair absent from the inspected main revision. No actionable correctness or security findings were identified. Priority: P2 Review scores
Verification
How this fits togetherOpenClaw divides test files into bounded compiler groups for CI typechecking. An inventory guard checks complete, single ownership before those groups run through the existing CI stripes. flowchart LR
A[Test source files] --> B[Compiler group configuration]
B --> C[Complete ownership and size guard]
C --> D[Existing CI stripes]
D --> E[Typechecking results]
F[Session-storage tests] --> B
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests 0, Docs 0. Total 0 across 3 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Keep session runtime and storage tests together in the existing bounded graph while preserving complete coverage and current compiler limits. Do we have a high-confidence way to reproduce the issue? Yes, from source: the existing inventory test rejects a 701-root graph, matching the reported failing CI merge. This review independently checked file counts but did not execute tests or reproduce a failure on current main. Is this the best way to solve the issue? Yes. Transferring the complete subtree between existing identically configured graphs is a narrow repair that preserves the ownership guard, compiler settings, and size limits. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 2cda0413f7fd. 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
The state/logging test type graph reached 701 roots in the CI merge for #154414, exceeding the existing 700-root headroom guard. Its candidate contributed one SQLite-worker test on top of main's newly added transcript FTS tests; the standalone candidate had 699 roots.
User Impact
CI can typecheck new session-storage tests without exceeding the existing graph limit. Test coverage, compiler settings, and graph size limits are preserved.
Why This Change Was Made
Move the complete
src/config/sessions/test subtree into the existingagents-sessionsgraph, alongside its session runtime consumers. On the current main base, this changes the two graphs from 700/87 roots to 485/302 while preserving all 12,116 canonical test roots exactly once. Every other root keeps its existing owner. Update the CI ownership documentation; graph registration, stripe order, compiler settings, and the 700/720 limits remain unchanged.Evidence
Validation: reproduced the unchanged inventory guard on the exact failing CI merge
a27419e2b4bb7acdce9060fa62eaa49d59cacfa8, then verified it passes with this change. All 24 existing shard tests pass, both affected graph typechecks and the selectedcheck:changedgates (including the full compiler boundary) pass, and independent review found no actionable findings through P2. One initial native-compiler fixture run timed out during dependency-copy I/O; it passed with the original timeout after the task's private dependency install was ready.