Skip to content

test: remove low-value skill and work-item query suites - #40637

Merged
OrcaWin merged 1 commit into
mainfrom
rm-tests/audit3209-skills-work-item-cuts
Nov 10, 2026
Merged

OrcaWin merged 1 commit into
mainfrom
rm-tests/audit3209-skills-work-item-cuts

Conversation

@OrcaWin

@OrcaWin OrcaWin commented Nov 10, 2026 •

Copy link
Copy Markdown
Collaborator

ELI5

Remove four low-value skill-sharing and work-item query test suites. Application behavior is unchanged.

Files Added Deleted Net
Test 4 0 $\color{#cf222e}{\Huge{\mathbf{−}}}$​107 $\color{#cf222e}{\Huge{\mathbf{−}}}$​107
Prod 2 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​20 $\color{#cf222e}{\Huge{\mathbf{−}}}$​19 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1

What Changed

Remove seven authored/expanded cases, four whole suites and 107 test-code lines. Keep the entire originless-project fallback, destructive confirmation, bundled-target ownership and runtime-precedence suites. Remove four obsolete timing entries and append bounded coverage-loss notes, preserving earlier evidence.

Why

The deleted suites sample oversized ASCII query refusals, package-selection grouping and negative link syntax. Their real regression alarms have narrow diagnostic value relative to maintaining four more suites. Those losses are deliberate; retained tests are not equivalent replacements.

Linked Issue

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

Visual Proof

N/A — test deletions and metadata only; no product UI or interaction change.

Testing

Linux: all 30 changed checks passed, including Node/web/CLI typechecks. Four unchanged keeper suites passed, six cases. Applicable GitHub Actions must pass before merge. No local macOS/Windows/SSH/native-focus runtime claims.

  • Local automated validation completed; manual product flow N/A.
  • Automated tests deliberately reduced; no new tests added.
  • Added-test requirement N/A.

Risk

Level: Low product risk; deliberate regression-detection loss. Query guard ordering/empty-query refusals, package association completeness/destination ambiguity, or URI origin/path/scheme admission may regress without these direct alarms. The composer accepts unbounded query input, so no blanket upstream replacement is claimed. No production/data/protocol changes. A plain revert restores tests and metadata.

AI Disclosure

Internal maintainer work; template says to leave disclosure unfilled.

Review

Separate source-value and technical composition reviews completed. Four keeper files remain byte-exact, including the Windows-host preference alarm retained after independent review. Independent raw/parsed reconstruction verifies exactly 15 metadata fields and four timing deletions, preserving old notes, arrays and receipts. Current-main replay is checked before merge.

Agent skill upstream boundary

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

Notes

No production security/platform/path/shortcut changes. Remote, mobile, mixed-version and folder-workspace behavior considered; no performance improvement measured.

Checklist

  • Focused removal batch.
  • Change and rationale explained.
  • Coverage risk and plain-revert rollback stated.
  • Visual proof N/A with reason.
  • Source and composition reviews completed.
  • Cross-platform and remote impact considered.
  • Relevant local checks passed; applicable CI will cover merge. No separate production build needed for test deletions.

@coderabbitai

coderabbitai Bot commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Explain Change →

Walkthrough

The changes delete tests for skill-share ID parsing, skill-share package selection, and GitHub and GitLab link-query normalization. They also remove CI sharding timing entries for the skill-share tests and the GitHub link test.

Pre-merge checks: Passed 5

Check name Status Explanation
Title check Passed The title clearly summarizes the removal of skill-sharing and work-item query test suites.
Description check Passed The description covers the required sections, including the changes, rationale, testing, risk, visual-proof status, and relevant checklist items.
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: d8730368-2f65-46cd-a66e-02fd7db19e93
Commits

Reviewing files that changed from the base of the PR and between 54090f9 and 4935e8e.

Files selected for processing: 6

  • config/reliability-gates.jsonc
  • config/scripts/ci/sharding/ci-shard-timings.json
  • src/renderer/src/components/skills/sharing/skill-share-package-selection.test.ts
  • src/shared/new-workspace/github-links.test.ts
  • src/shared/new-workspace/gitlab-links.test.ts
  • src/shared/skill-share-link.test.ts
Files with no reviewable changes: 5

  • src/shared/skill-share-link.test.ts
  • src/shared/new-workspace/gitlab-links.test.ts
  • src/shared/new-workspace/github-links.test.ts
  • config/scripts/ci/sharding/ci-shard-timings.json
  • src/renderer/src/components/skills/sharing/skill-share-package-selection.test.ts
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; 8 remain after this review.

@OrcaWin
OrcaWin merged commit 8becc04 into main Nov 10, 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.

1 participant