Skip to content

fix(ci): drop duplicate grab-annotations type and split chat subscription perf test - #36101

Merged
OrcaWin merged 2 commits into
mainfrom
nwparker/ci-lint-dup-type-perf-split
Oct 29, 2026
Merged

OrcaWin merged 2 commits into
mainfrom
nwparker/ci-lint-dup-type-perf-split

Conversation

@nwparker

@nwparker nwparker commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 2 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​285 $\color{#cf222e}{\Huge{\mathbf{−}}}$​255 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​30
Prod 1 0 $\color{#cf222e}{\Huge{\mathbf{−}}}$​22 $\color{#cf222e}{\Huge{\mathbf{−}}}$​22

ELI5

Two pull requests that each passed on their own were merged around the same time, and together they made the main branch fail its lint check twice. This puts both back within the rules without changing any behaviour.

What Changed

Before: main fails Lint. After: both files pass lint and nothing changes for users.

Why

Deleting one of the identical copies is the only change that fixes the duplicate. For the test file, the selection-controller tests are a self-contained group with their own setup, so moving them was cleaner than squeezing lines or disabling the limit.

Linked Issue

N/A, this fixes main CI.

Visual Proof

N/A, no UI or behaviour change.

Testing

  • pnpm tc and pnpm run typecheck:ci pass.

  • Same test count before and after: the original file ran 8 tests; after the split, the two files run 5 and 3, all passing, each run on its own.

  • check:code-quality:changed, oxlint and check-test-file-runners.mjs pass. The new file is picked up by a test runner.

  • I manually tested these changes locally

  • Automated tests added/updated, or explained why not below

Review

Flag-off: N/A, no flag.
User-risk: None. One type declaration is removed and tests are moved; no production code paths change.

Agent skill upstream boundary

  • Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Notes

No impact on security, platforms, SSH, mobile, compatibility or performance.

Checklist

  • This PR is small and focused
  • I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
  • Before/after screenshots or videos attached for UI changes, or N/A with reason
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
  • pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)

@coderabbitai

coderabbitai Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 1 minute.

Check out review usage here.

View limit details

Limit details: You’ve used all 10 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: fe3f82a7-d0aa-4b35-84fa-f1ecc96787c2
Commits

Reviewing files that changed from the base of the PR and between 004907e and c5c74fe.

Files selected for processing: 3
  • src/renderer/src/components/browser-pane/describe-page/browser-page-types.ts
  • src/renderer/src/components/native-chat/native-chat-subscriptions.performance.test.tsx
  • src/renderer/src/components/native-chat/structured-session-selection.performance.test.tsx
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@greptile-apps

greptile-apps Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge; the type contract and test coverage are preserved.

Summary

Removes the duplicate BrowserPageGrabAnnotations type and moves three selection performance tests into a sibling file.

  • Browser-page annotation types no longer have a duplicate declaration.
  • Structured-session selection performance tests live in their own file.

Reviews (1) · Last reviewed commit: "Merge branch 'main' into nwparker/ci-lin..." · Reviewed by Greptile

@OrcaWin
OrcaWin merged commit b03c540 into main Oct 29, 2026
41 checks passed
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.

2 participants