Skip to content

fix(agentctl): run verify_all with 8 workers to fit the host - #4222

Merged
Sinity merged 1 commit into
masterfrom
fix/verify-all-workers
Aug 26, 2026
Merged

Sinity merged 1 commit into
masterfrom
fix/verify-all-workers

Conversation

@Sinity

@Sinity Sinity commented Aug 26, 2026

Copy link
Copy Markdown
Owner

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

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
@coderabbitai

coderabbitai Bot commented Aug 26, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 846aaaa8-dca8-4fab-9bc7-ca3d5be29fa0


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Sinity
Sinity merged commit e50bf01 into master Aug 26, 2026
2 of 3 checks passed
@Sinity
Sinity deleted the fix/verify-all-workers branch August 26, 2026 06:30

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread .agentctl/project.toml Resolved
Sinity added a commit that referenced this pull request Aug 26, 2026
## 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
@Sinity

Sinity commented Sep 29, 2026

Copy link
Copy Markdown
Owner Author

Closing out open Codex review threads on this PR (evidence checked against master at c950478):

  • P1 .agentctl/project.toml:74: Stale: The verify_all descriptor no longer carries a pinned worker environment; it runs devtools verify --all (.agentctl/project.toml:100), and the contract test asserts exactly that argv (tests/unit/devtools/test_dev_loop_service.py:31) with no POLYLOGUE_PYTEST_WORKERS assertion. (checked at 64a9bd0)

Resolving every thread listed; confirmed defects are fixed under the named bead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant