Skip to content

improve findings by Fable#2787

Draft
sedghi wants to merge 2 commits into
mainfrom
advisor/improve-findings-plans
Draft

improve findings by Fable#2787
sedghi wants to merge 2 commits into
mainfrom
advisor/improve-findings-plans

Conversation

@sedghi

@sedghi sedghi commented Jul 7, 2026

Copy link
Copy Markdown
Member

What

Adds a plans/ directory with the findings from a code audit of main at b4c094e92 (2026-07-07) and 13 self-contained implementation plans, one per selected finding. plans/README.md is the index: execution order, dependency graph, status table, the confirmed-but-unplanned backlog, and a considered-and-rejected list so items don't get re-audited.

Every finding was verified against the code (file:line evidence in each plan). Each plan carries current-state excerpts, exact verification commands, scope boundaries, a test plan, and STOP conditions — written so an executor with zero context from the audit can implement it.

Plans

Plan Title Category
001 Fix cancelLoadAll calling nonexistent .cancel() instead of cancelFn bug
002 Fix getVolumeContainingImageId aborting on the first empty/unloaded volume bug
003 Settle superseded StackViewport CPU load promise (hangs await setImageIdIndex) bug
004 Bind VideoViewport.elementDisabledHandler so video teardown runs bug
005 Fix Synchronizer add/removeEventListener reference mismatches (two listener leaks) bug
006 Remove VolumeCroppingTool's leaked global eventTarget listener bug
007 Count geometry in the cache budget and purge it in purgeCache() bug
008 Bound segmentation-statistics worker payloads to the segment's boundsIJK perf
009 Bound WholeBodySegmentTool's main-thread full-volume island scan perf
010 Add a typecheck + api-check CI gate dx
011 Expand oxlint to the correctness category (ratcheted) dx
012 Override the public decompress critical advisory (GHSA-w7fw-mjwx-w883) via pnpm overrides security
013 Scheduled non-blocking Firefox/WebKit Playwright lane tests

Recommended order: 010 first (verification baseline), then 001–006 (independent), 007 after 002 (same file), 011 after 010, 008→009, 013 last.

Notes

  • Excluded from audit scope: RenderingEngine/GenericViewport/** (separately reviewed), examples, and the in-progress legacy-viewport migration.
  • Docs-only PR: no source code is modified.
  • Supersedes improve findings by Fable #2786.

Audit and plans produced with Claude (Fable).

13 self-contained implementation plans from a code audit of main at
b4c094e: correctness fixes (cancelLoadAll, Synchronizer listener
leaks, VideoViewport teardown, cache lookup/budget, StackViewport CPU
promise, VolumeCroppingTool leak), performance (bounded segmentation
stats payloads, WholeBodySegmentTool island scan), and CI hardening
(typecheck gate, oxlint expansion, decompress advisory override,
cross-browser Playwright lane).
@coderabbitai

coderabbitai Bot commented Jul 7, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: d3da257f-3fe7-4ed3-ad18-27923ef454b5

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch advisor/improve-findings-plans

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.

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