Repository navigation
refactor(config): share issue-location container scanning - #149099
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 18, 2026, 7:05 PM ET / 23:05 UTC (Revision 4). ClawSweeper reviewWhat this changesShares object and array scanning in configuration error diagnostics and adds coverage for locating errors after mixed nested containers. Merge readiness✅ Ready for maintainer review The cleanup remains useful: current main retains duplicated traversal, and no introduced correctness defect was found. This maintainer-authored, protected PR should remain open for normal landing. Priority: P3 Review scores
Verification
How this fits togetherConfiguration diagnostics combine validation paths with raw configuration text to identify source lines. CLI and startup error reporting consume the resulting messages, including safely filtered received values. flowchart LR
A[Raw configuration text] --> C[Source location scanner]
B[Validation issue paths] --> C
C --> D[Shared container traversal]
D --> E[Source line]
E --> F[Diagnostic renderer]
F --> G[CLI and startup errors]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource -15, Tests +33. Total +18 across 2 files. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep one private container traversal loop while preserving source locations, malformed-input behavior, and received-value filtering. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR removes duplication rather than reporting a behavior defect; source inspection confirms the duplication on current main. Is this the best way to solve the issue? Yes. Sharing the existing loop preserves container-specific decisions without adding another scanner or changing the public diagnostic contract. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against aa6d12cc1041. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (3 earlier review cycles) |
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
…pr-149099-main-20260918 * commit '795e460278d4f8f41545dc8b4a66da1d12defd90': (1902 commits) refactor(slack): share Markdown preparation (#149129) fix(tooling): release completed PR operations with exited loaders (#152209) fix(release): allow stable npm bootstrap under an operator soak waiver (#152206) fix(daemon): avoid false restart timeouts during slow startup (#151387) feat: read agent documents from a host-owned workspace (#150584) improve(startup): skip redundant single-agent directory checks (#152192) test(ui): await board widget readiness before size reports (#152198) perf(browser): move dashboard event discovery to SQLite worker (#151952) improve(auth): reduce pauses during concurrent credential reads (#152140) improve(ui): load older chat history in smaller pages (#152093) fix(release): reject incomplete legacy npm install trees (#152186) refactor: share current-conversation binding row serialization (#152134) test(tooling): preserve Node and terminal fixture ownership under Bun (#152187) fix(sqlite): service worker admission through retained path aliases (#152190) improve: reduce CPU work for long CLI reasoning streams (#152191) chore(ui): refresh control ui locales (#152196) test(subagents): align lifecycle retries with durable completion owners (#152184) perf(gateway): defer participant maps for owned sessions (#152097) refactor(stream): share auxiliary queue overflow handling (#149282) fix(test): execute CLI fixture preloads on Node and Bun (#152076) ...
|
Merged via squash.
|
…rent-main-20260918 * origin/main: (1925 commits) fix(ui): preserve person picker selection and profile photos (#152194) feat(meetings): summarize meetings during live capture (#151957) refactor(watch): share delivery status text formatting (#152228) fix(skills): detach idle reviews from foreground plugin scope (#152235) fix(mcp): stop cancelled question tests leaking into later cases (#152215) fix: show pasted text as compact chat chips (#151618) refactor(config): share diagnostic container scanning (#149099) fix(whatsapp): admit debounce candidates independently (#112001) fix(release): qualify 2026.7.34 frozen SDK (#152230) fix(sessions): notify Home about new sessions by default (#152068) fix(ui): open workspace links with spaces and emoji (#152179) fix(update): reconcile completed updates after interrupted verification (#152202) fix: reduce repeated update validation for large agent fleets (#151678) docs: clarify WebChat commentary attachment compatibility (#152225) fix(worktrees): keep provisioning inspection under the Git output cap (#150532) fix(ui): unify fullscreen widget menu typography (#152223) test(gateway): synchronize unstable task registry scans (#152213) fix: restore automation creation for remote administrators (#151291) improve: defer internal agent-turn execution imports until use (#151935) fix(agents): resume private child results in channel conversations (#152207) ...
What Problem This Solves
Maintainer-requested internal cleanup removes duplicated object and array traversal from the configuration issue-location scanner.
User Impact
No user-visible behavior change. Nested values, comments, quoted strings, cursor positions, and malformed-input stopping rules keep their existing behavior.
Why This Change Was Made
Share the container loop while retaining object-only key and colon handling and the matching closing delimiter. Production changes by −15 lines; tests add 33 lines.
Evidence