Repository navigation
fix(agentctl): run verify_all with 8 workers to fit the host - #4222
Conversation
The learned 12-worker estimate (15.9GB) exceeds what the 32GB host has available while the desktop runs, so the operation starved in admission indefinitely. Two 8-worker runs tonight completed in 4-6 minutes at a peak the machine can actually admit. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_014BQsaB1NBY8mTR6yZByfMA
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b1874cbdb7
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
## Summary Round-2 corpus-fix lane (rest cluster): closes out the remaining corpus run `2b00a953` failures — lineage/MCP/storage/daemon — and repairs the MCP alias regression that #4226 introduced. ## Problem (evidence) 31 corpus failures across the rest cluster, classified per-failure: - **Real regressions**: the daemon's `/api/operation` route had no `RouteContract` entry (contract census red); MCP query alias lowering (`_mcp_aliases` mapping every declared name to its dataclass `spec_attr`) broke list pagination, provider/tag filters, cross-adapter query parity, and retrieval readiness; the startup recovery read path opened SQLite outside the controlled interruptible reader. - **Stale expectations**: lineage validation (index v73), model runtime (#4173), blob-GC v33 (schema evolution through v37 — test now pins `target_version=35`, the version its DDL snapshot proves), hook carrier identity (#4171), continuity capability catalogue (#4190), dev-loop worker count (#4222), and others per the lane report. - Additionally, #4226's `normalized = dict(params)` skipped normalization entirely, silently dropping the three genuine MCP-only alias spellings (`has_tool_use`, `has_thinking`, `has_paste_evidence`) — `SessionQuerySpec.from_params` only reads the `filter_has_*` names. Restored `normalize_query_params` with the alias map narrowed to exactly those three. ## Verification - All 40 nodeids from the corpus failure set (`/realm/tmp/work/corpus5-failed.txt`) → **40 passed** on this branch (rebased on master with #4226 + #4227 in). - `devtools test tests/unit/mcp/test_query_request_contracts.py tests/unit/test_cross_surface_agreement.py tests/unit/storage/test_retrieval_readiness_laws.py tests/integration/test_mcp.py` → 26 passed. - `devtools verify --quick` → all 15 gates ok. ## Residuals - One listed failure (`test_submit_failure_cleans_every_admitted_future_and_reservation`) was not reproducible in-lane and is unchanged; if it reappears in the corpus rerun it needs its own investigation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_014BQsaB1NBY8mTR6yZByfMA
|
Closing out open Codex review threads on this PR (evidence checked against master at c950478):
Resolving every thread listed; confirmed defects are fixed under the named bead. |
Summary
verify_all drops from 12 to 8 pytest workers: the learned 12-worker memory estimate (15.9GB) exceeds what the host has available whenever the desktop is loaded, so the operation starved in admission indefinitely (sinnix bead filed). Two 8-worker corpus runs tonight completed in 4–6 minutes.
Paired ops action after merge: the stale 15.9GB learned estimate for polylogue:verify_all is cleared from disposable admission state so the first 8-worker run can admit and record its true peak.
🤖 Generated with Claude Code
https://claude.ai/code/session_014BQsaB1NBY8mTR6yZByfMA