Skip to content

test: remove notification schema and unused palette source suites - #40647

Merged
OrcaWin merged 1 commit into
mainfrom
rm-tests/audit3220-mobile-jump-extras-cuts
Nov 10, 2026
Merged

OrcaWin merged 1 commit into
mainfrom
rm-tests/audit3220-mobile-jump-extras-cuts

Conversation

@OrcaWin

@OrcaWin OrcaWin commented Nov 10, 2026 •

Copy link
Copy Markdown
Collaborator

ELI5

Remove two test suites whose maintenance cost outweighs their narrow coverage: mobile notification reply-schema samples and a Cmd+J extension source that has no registered implementation today.

Files Added Deleted Net
Test 2 0 $\color{#cf222e}{\Huge{\mathbf{−}}}$​440 $\color{#cf222e}{\Huge{\mathbf{−}}}$​440
Prod 1 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​20 $\color{#cf222e}{\Huge{\mathbf{−}}}$​15 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​5

What Changed

Delete 15 tests across two whole suites (440 test-code lines). Keep mobile notification payload routing, independent host-fingerprint vectors and notification identity boundaries. Keep both browser-navigation cases unchanged. Update bounded coverage notes while preserving prior audit evidence.

Why

The schema suite mostly samples declarative fallback, optional-field and enum choices. The palette suite maintains 339 lines around a synthetic extension source while the shipped registry returns no sources. Both contain real assertions; their regression-detection losses are deliberate and are not replaced by the retained suites.

Linked Issue

Maintainer-requested comprehensive test audit; the repository template's maintainer exception applies.

Visual Proof

N/A — test removals and coverage metadata only.

Testing

Linux: all 28 changed checks passed, including Node/web typechecks and mobile static checks. Three unchanged mobile keeper suites passed (12 expanded cases), and both unchanged browser-navigation cases passed. Normal commit hooks passed. Applicable GitHub Actions must pass before merge.

Risk

Low product risk; deliberate detection loss. Mixed-version reply salvage and refusal handling can regress without these direct schema alarms. Future palette sources could regress ordering, grouping, result counts, empty-query caps, callback dispatch or workspace suppression. There are no registered sources today. No production changes; a plain revert restores the suites and metadata.

AI Disclosure

Internal maintainer work; template says to leave disclosure unfilled.

Review

Separate external source-value reviews accepted both deletions. Independent technical composition review accepted the exact patch and tree; the reviewer’s authorship of the palette source proposal is disclosed, with its external source-value judgment supplied separately. Root independently reconstructed exactly 15 coverage-note fields while preserving 2,709 historical array tokens and all timing bytes.

Agent skill upstream boundary

  • N/A: no upstream skill-installer material copied.

Notes

Remote, mobile, mixed-version and folder-workspace implications considered. No CI time saving measured.

Checklist

  • Focused test-removal batch.
  • Coverage losses and rollback explained.
  • Visual proof N/A with reason.
  • Local validation and source-value reviews completed.
  • Final technical composition review completed.
  • Applicable CI completed.

@coderabbitai

coderabbitai Bot commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Explain Change →

Walkthrough

The pull request deletes two test files. One covered notification reply schema cases. The other covered extra-result behavior in the worktree jump palette.

Pre-merge checks: Passed 5

Check name Status Explanation
Title check Passed The title clearly identifies the removal of the notification-schema and unused palette-source test suites.
Description check Passed The description covers the change, rationale, testing, risk, visual-proof status, maintainer exception for the linked issue, and rollback. It also discloses that applicable CI is still pending.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files.

Finishing Touches

Generate docstrings

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Review coverage is incomplete: 1 file could not be fully reviewed. Findings from completed review steps are included; see review info for details.

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

Recent review info

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: d07daa5e-48de-45f1-9d92-b354f5037ea0
Commits

Reviewing files that changed from the base of the PR and between fc8da7f and 0d8002a.

Files selected for processing: 3

  • config/reliability-gates.jsonc
  • mobile/src/notifications/notification-reply-schema.test.ts
  • src/renderer/src/components/worktree-jump/WorktreeJumpPalette.extra-results.test.tsx
Files with no reviewable changes: 2

  • mobile/src/notifications/notification-reply-schema.test.ts
  • src/renderer/src/components/worktree-jump/WorktreeJumpPalette.extra-results.test.tsx
Files not fully reviewed because their changes were unavailable: 1

  • config/reliability-gates.jsonc

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

@OrcaWin
OrcaWin merged commit 67a2e97 into main Nov 10, 2026
44 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.

1 participant