Skip to content

chore(core): improve viewport minimap coverage - #396

Closed
cursor[bot] wants to merge 1 commit into
mainfrom
topic/upkeep/coverage/viewport-minimap
Closed

cursor[bot] wants to merge 1 commit into
mainfrom
topic/upkeep/coverage/viewport-minimap

Conversation

@cursor

@cursor cursor Bot commented Oct 9, 2026

Copy link
Copy Markdown

Selected task: coverage. The selector chose projects/core/src/viewport/viewport-minimap.ts because it had “6 uncovered lines, 97.41% lines and 82.96% branches, the smallest gap below the 90% threshold.”

Coverage increased from 226/232 lines (97.41%) and 112/135 branches (82.96%) to 232/232 lines (100%) and 122/135 branches (90.37%).

No public API changed; this adds behavior-focused unit coverage only. Production code, visual baselines, and the remaining defensive branches were deliberately left unchanged.

Open in Web View Automation 

Covers disconnected, observer-free, preview-root, generated-key, and capability-loss behavior without changing production code.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>

Co-authored-by: Cory Rylan  <coryrylan@users.noreply.github.com>
@coryrylan coryrylan added the upkeep label Oct 9, 2026 — with Cursor
@coderabbitai

coderabbitai Bot commented Oct 9, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Repository: NVIDIA/elements/.coderabbit.yaml
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 9e9df024-82e6-4ee5-b654-8536e2eba003

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
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@github-code-quality

Copy link
Copy Markdown

Code Coverage Overview

Languages: TypeScript

TypeScript / code-coverage/vitest

The overall line coverage in commit 823e057 in the topic/upkeep/coverag... branch remains at 99%, unchanged from commit 2a84274 in the main branch.

Show a line coverage summary of the most impacted files.
File main 2a84274 topic/upkeep/coverag... 823e057 +/-
projects/core/s...port-minimap.ts 97% 100% +3%

@coryrylan coryrylan closed this Oct 9, 2026
@coryrylan
coryrylan deleted the topic/upkeep/coverage/viewport-minimap branch October 9, 2026 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants