Repository navigation
fix(status): status --all slows down with missing plugins - #119203
Patrick-Erichsen merged 6 commits into
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 4, 2026, 10:08 PM ET / August 5, 2026, 02:08 UTC. ClawSweeper reviewWhat this changesThis PR batches missing official-external-plugin repair hints so status, gateway, agent-summary, and outbound-selection callers avoid repeated plugin-manifest discovery while keeping the same user guidance. Merge readinessKeep open. Current main still resolves each missing status channel through the scalar repair-hint path, which reloads manifest metadata when no prepared records are supplied; this PR moves that shared work into one batch and preserves the visible repair output. No blocking correctness or security finding remains after the repaired head addressed the two prior P2 filter-before-batch findings. Likely related people: Vincent Koc is the feature-history owner; Shakker is the most recent current-main contributor on the affected path. Priority: P2 Review scores
Verification
How this fits togetherConfigured channel status paths must explain how to repair a channel whose plugin is absent. They combine configured channel IDs with plugin metadata and presence policy, then render CLI rows or gateway/outbound error guidance. flowchart LR
Config[Configured channels] --> Status[Status and error callers]
Status --> Hints[Repair-hint resolver]
Hints --> Policy[Channel presence policy]
Policy --> Metadata[Plugin manifest metadata]
Hints --> Output[Repair rows and guidance]
Before merge
Agent review detailsSecurityNone. PR surfaceSource +21, Tests +228. Total +249 across 13 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Land the single batched resolver with the prepared status metadata handoff once the exact head is green against the current merge result; retain scalar resolution only for true one-channel errors. Do we have a high-confidence way to reproduce the issue? Yes. Current main’s status-all loop calls the scalar resolver per missing channel, and the resolver loads the manifest registry when callers provide no prepared records; the PR also supplies an after-fix CLI transcript and discovery-count comparison. Is this the best way to solve the issue? Yes. Batching at the repair-hint owner and carrying the already-prepared status metadata forward removes duplicate discovery without adding a cache, configuration surface, or competing repair policy. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 6a8e11e63cee. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (5 earlier review cycles)
|
|
@clawsweeper re-review The PR body now includes inspectable after-fix |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review The PR body now includes the inspectable production-path discovery-count comparison requested by the previous review:
The real CLI transcript and unchanged normalized channel-row hashes remain included as well. |
|
@clawsweeper re-review |
|
🦞👀 Command router queued. I will update this comment with the next step. |
|
@clawsweeper re-review |
|
🦞👀 Command router queued. I will update this comment with the next step. |
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review The exact head now addresses both prior P2 findings:
Patch-identical sanitized AWS proof passed core typecheck, repository-wide formatting, and 83 focused tests (run_404c876f9c29). Fresh autoreview is clean. |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
* origin/main: (22 commits) refactor(plugins): consolidate lifecycle hook dispatch (#119429) fix(ci): stabilize TUI PTY proof ownership (#119420) test(system-agent): reduce suite setup overhead (#119424) fix(ui): keep session rail pill status from overlapping the headline (#119397) fix(discord): avoid doctor runtime loading (#119391) fix(media): decouple playback cache retention (#119417) fix(slack): infer upload filename extensions from MIME types (#119399) refactor(channels): unify configured binding resolution (#119414) refactor(google-meet): unify gateway and tool dispatch (#119413) test(state): reuse legacy database fixtures (#119423) fix(reset): preserve bootstrap guidance for dynamic models (#119179) fix(chutes): honor serving context limits (#119196) refactor(status): consolidate scan projections and lazy loaders (#119412) fix(status): status --all slows down with missing plugins (#119203) refactor(gateway): consolidate usage reporting and caches (#119409) perf(gateway): keep reload and recovery machinery off gateway cold start (#119094) fix(cli): align TaskFlow controller columns for wide text (#118801) fix: make startup migration restart guidance install-neutral (#119406) fix(ci): preserve cache warmer shard envelopes (#119403) fix(sessions): preserve compatible auth profiles on model changes (#117550) ...
…19203) * fix(status): avoid repeated discovery for missing channels * fix(status): batch missing plugin repair hints * fix(status): type missing plugin channel ids * fix(status): preserve required channel ids * fix(status): keep batch hint type internal * fix(status): preserve batch repair laziness --------- Co-authored-by: daily-fix[bot] <daily-fix[bot]@users.noreply.github.com> Co-authored-by: Patrick Erichsen <[email protected]>
What Problem This Solves
Fixes repeated plugin-manifest discovery when commands resolve repair guidance for several configured official-external channels. The reported
status --allpath was one instance of the shared bulk-caller invariant.Why This Change Was Made
The repair-hint owner now exposes one batched resolver that evaluates channel presence policy once.
status --all, config-only channel status, agent summaries, web-login errors, and outbound channel selection use it; the scalar API remains for true single-channel errors.User Impact
Missing-plugin status and error output stays the same while discovery work remains constant as configured missing channels increase. No config, schema, persistence, gateway protocol, plugin API, or output-format contract changes.
Evidence
status --allrun rendered Feishu, Google Chat, Matrix, and Twitch repair rows and exited 0.