Repository navigation
fix(test): resync suppression inventory line numbers after #139651 - #139747
Conversation
it.concurrent.each's added comment in fetch-guard.socks.test.ts shifted three @ts-expect-error markers down one line; the inventory ratchet still asserted the pre-shift lines.
|
🦞👀 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 6, 2026, 12:43 AM ET / 04:43 UTC. ClawSweeper reviewWhat this changesUpdates three expected TypeScript suppression locations so the repository inventory check matches the current proxy tests. Merge readiness✅ Ready for maintainer review Keep open: pinned main still contains the stale expectations, and this focused repair preserves the inventory's enforcement. No actionable patch defects were found; the maintainer-authored, protected PR is not a cleanup candidate. Priority: P3 Review scores
Verification
How this fits togetherThe type-suppression inventory scans repository TypeScript files and reports explicit exceptions to type checking. Its test compares those findings against an approved list to detect unintended changes. flowchart LR
A[Repository TypeScript files] --> B[Suppression scanner]
B --> C[Locations and explanations]
C --> D[Inventory comparison]
E[Approved suppression list] --> D
D --> F[Pass or report drift]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests 0. Total 0 across 1 file. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep the strict suppression inventory synchronized with actual source locations without expanding exceptions or weakening detection. Do we have a high-confidence way to reproduce the issue? Yes, from source: main's exact inventory comparison expects three coordinates that differ from the actual comments by one line; the focused test was not run during this read-only review. Is this the best way to solve the issue? Yes. Updating those coordinates repairs the demonstrated mismatch while retaining the existing suppression set and strict assertions. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 2d361a8cdbaf. 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.
|
Carry the already-merged test-only corrections from #139651 and #139747 so the PR head and GitHub merge-ref use matching suppression line numbers. No production behavior or suppression count changes. Co-authored-by: Peter Steinberger <[email protected]>
Suggested follow-ups now start in a normal session in the Control UI and Gateway-backed TUI. Remove the placement menu and Git-only suggestion rule; instruct the new session to ask before creating or switching to a worktree. Retain existing RPC modes and rollback/ownership safeguards. Verified plain folders and unavailable Git metadata through real session creation, UI navigation with a mock Gateway, terminal flows, and inspected before/after screenshots. Fresh local validation passed 166 tests, including the unchanged upstream test corrections from #139651 and #139747. Session context: https://team.openclaw.ai/beam/session-first-task-suggestions-openclaw-pr-7fb326346b7a Release-note context: follow-up suggestions open a usable conversation without requiring Git or a worktree first. Existing blocked sessions are unchanged. Co-authored-by: Peter Steinberger <[email protected]>
…39651 (openclaw#139747) it.concurrent.each's added comment in fetch-guard.socks.test.ts shifted three @ts-expect-error markers down one line; the inventory ratchet still asserted the pre-shift lines.
…w#139731) Suggested follow-ups now start in a normal session in the Control UI and Gateway-backed TUI. Remove the placement menu and Git-only suggestion rule; instruct the new session to ask before creating or switching to a worktree. Retain existing RPC modes and rollback/ownership safeguards. Verified plain folders and unavailable Git metadata through real session creation, UI navigation with a mock Gateway, terminal flows, and inspected before/after screenshots. Fresh local validation passed 166 tests, including the unchanged upstream test corrections from openclaw#139651 and openclaw#139747. Session context: https://team.openclaw.ai/beam/session-first-task-suggestions-openclaw-pr-7fb326346b7a Release-note context: follow-up suggestions open a usable conversation without requiring Git or a worktree first. Existing blocked sessions are unchanged. Co-authored-by: Peter Steinberger <[email protected]>
Problem
openclaw/ci-gateis red on currentmainfor every PR:test/scripts/type-suppression-inventory.test.tsasserts an exact, hand-maintained list of@ts-expect-errorfile:line locations, and #139651 inserted a one-line comment above theit.concurrent.eachblock insrc/infra/net/fetch-guard.socks.test.ts, shifting three of those markers down by one line without updating the ratchet.Solution
Resync the three stale line numbers (363→364, 374→375, 377→378) to match the current source. Verified against the live scan:
node --import ./scripts/tsx.mjs scripts/type-suppression-inventory.tsreports the same three markers at the new line numbers and nothing else changed in the suppression set.Evidence
node scripts/run-vitest.mjs test/scripts/type-suppression-inventory.test.ts→ 2 tests passed