Repository navigation
fix(tools): settle the review threads left open on merged PRs #553-#559 and #507 - #561
Conversation
…ges stay under --image-root, readiness drops a stale 500, typecheck reads quoted paths and the last passing program, the diff hook bounds its blob read and masks command headings, du offers only evictable files, and Hub range links diff from the real parent
|
🐉 eve review — ✅ APPROVE · 2 findings
|
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configuration
📒 Files selected for processing: 41
✨ Finishing Touches
Comment |
There was a problem hiding this comment.
🐉 eve review — 🟡 Review comments
7e40b01· 2 actionable findings · reviewed by find codex/gpt-6.1-sol + codex/gpt-6-luna, verify codex/gpt-6-luna · view run ↗
| Severity | Count |
|---|---|
| 🟡 Medium | 2 |
Blast radius
waitForUrlReady(~) → 12 dependent(s) outside this PR: src/utils/DashboardApp/access.ts, src/utils/DashboardApp/lifecycle.ts, src/utils/DashboardApp/preview/openBrowserWhenEnv.ts, +3 moreApi(~) → 8 dependent(s) outside this PR: src/azure-devops/lib/work-item-enrichment.ts, src/azure-devops/inline-images.ts, src/azure-devops/lib/work-item-markdown.test.ts, +2 moreapply(~) → 8 dependent(s) outside this PR: src/macos/GenesisKit/Sources/GenesisKitCharts/HealthBar.swift, src/macos/GenesisKit/Sources/GenesisKitCharts/RingGauge.swift, src/macos/GenesisKit/Sources/GenesisKitBase/Window/SingleInstance.swift, +5 moreshow(+) → 5 dependent(s) outside this PR: src/macos/GenesisWidgetPreview/Sources/PreviewApp.swift, src/macos/GenesisKit/Sources/GenesisKitCharts/HealthBar.swift, src/macos/GenesisKit/Sources/GenesisKitCharts/TreemapView.swift, +2 moreloadConfig(~) → 3 dependent(s) outside this PR: src/azure-devops/commands/timelog/configure.ts, src/azure-devops/lib/config-path.test.tsensureShim(~) → 2 dependent(s) outside this PR: src/du/lib/bun-scan.tsparent(+) → 2 dependent(s) outside this PR: src/macos/GenesisKit/Sources/GenesisKitCharts/SquarifiedLayout.swift, src/macos/GenesisKit/Sources/GenesisKitCharts/ChartNode.swift- 78 compiler diagnostic(s) on the PR head touch this diff (graph truncated)
ℹ️ Claims vs diff — 8 claims could not be checked from the diff (c1, c2, c3, c4, c5, c6, c7, c8).
| } | ||
| } | ||
|
|
||
| const requested = opts.cli.apply ? (opts.cli.path ?? []) : []; |
There was a problem hiding this comment.
🧹 Quality | 🟡 Medium · confidence 98/100
Fail explicit apply requests when selection produces no eligible files
The new requested-path failure check is bypassed by the existing chosen.length === 0 return. When the offer contains an eligible file plus a refused file and --apply --path names only the refused file, plan.eligible is nonempty, selectPaths returns [], and runEvict prints 'Nothing selected' and exits successfully without reaching the requested-versus-evicted check. This matters to the exported shared function, which accepts files independently of cli.path (the CLI currently prefilters them). Set exitCode to 1 on that early return when an explicit apply request remains unfulfilled, and cover this mixed-plan case.
🧩 Analysis
Grep evidence: const requested =|chosen.length === 0|requested.some|export async function runEvict
| rangeLookup = lookup | ||
| Task { | ||
| let parent = await Task.detached(priority: .userInitiated) { HubCommitLookup.parent(of: sha, in: root) }.value | ||
| guard rangeLookup == lookup, self.review === review else { return } |
There was a problem hiding this comment.
🧹 Quality | 🟡 Medium · confidence 97/100
Cancel the pending range lookup when the reader changes scope
The detached parent lookup checks only its UUID and ReviewModel identity. Clicking a commit row calls showCommit, and choosing Whole PR calls showWholePR; both retain the same review and clear pendingCommit but do not invalidate rangeLookup. If either action occurs while git is resolving the parent, this completion subsequently overwrites the reader's chosen scope with the older link's range. Invalidate rangeLookup in these explicit scope-selection paths (and test a delayed lookup followed by a manual selection).
🧩 Analysis
Grep evidence: rangeLookup|func showCommit\(_ commit|func showWholePR|pendingCommit = nil
One commit that settles the review threads still open on the merged PRs #553, #555, #557, #558 and #559, and the 51 outdated #507 threads whose code reached master through them.
Each of the 69 threads was checked against current master:
Highlights:
Verification: bun tests of every touched area (556 pass in the changed test files, babysit 158 pass), tsc and
typecheck.ts --allclean, biome and lint-rules clean, GenesisKit and GenesisTools Swift suites.