Skip to content

test: remove 61 low-value runtime tests and five suites - #34431

Merged
OrcaWin merged 1 commit into
mainfrom
test-audit-601-runtime-replays
Oct 27, 2026
Merged

OrcaWin merged 1 commit into
mainfrom
test-audit-601-runtime-replays

Conversation

@OrcaWin

@OrcaWin OrcaWin commented Oct 27, 2026 •

Copy link
Copy Markdown
Collaborator
Files Added Deleted Net
Test 13 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​2 $\color{#cf222e}{\Huge{\mathbf{−}}}$​1703 $\color{#cf222e}{\Huge{\mathbf{−}}}$​1701
Prod 2 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1 $\color{#cf222e}{\Huge{\mathbf{−}}}$​6 $\color{#cf222e}{\Huge{\mathbf{−}}}$​5

Removes 61 low-value authored test cases from runtime client suites: mock-result echoes, RPC argument inventories, literal predicate tables, and cases already covered by stronger retained tests. Deletes the host-contact-parity, SSH-target-management, directory-browser, Jira saved-filter-state, and Jira status-filter suites entirely.

The audit covers 112 cases across 17 files and keeps 51 cases, including refresh/coalescing races, stale-response rejection, environment isolation, capacity limits, malformed protocol handling, and transport precedence. Removes five obsolete timing entries and the deleted directory-browser filename from the active reliability command.

Validation: static AST checks preserve retained test bodies, callbacks, suite wrappers, and support code; formatting, lint, discovery, deleted-file references, and metadata checks pass. Runtime validation runs in this PR's full CI workflow.

@coderabbitai

coderabbitai Bot commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

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: b44cf493-3bee-4dc2-b0b3-6b04abbbcb97
Commits

Reviewing files that changed from the base of the PR and between 7c921b0 and 33e2169.

Files selected for processing: 15
  • config/reliability-gates.jsonc
  • config/scripts/ci-shard-timings.json
  • src/renderer/src/runtime/runtime-environment-ssh-state.test.ts
  • src/renderer/src/runtime/runtime-file-client-download.test.ts
  • src/renderer/src/runtime/runtime-file-client-external-import.test.ts
  • src/renderer/src/runtime/runtime-file-client-mutation-ownership.test.ts
  • src/renderer/src/runtime/runtime-file-client-watch.test.ts
  • src/renderer/src/runtime/runtime-host-connection-state.test.ts
  • src/renderer/src/runtime/runtime-host-contact-parity.test.ts
  • src/renderer/src/runtime/runtime-jira-board-filter-compatibility.test.ts
  • src/renderer/src/runtime/runtime-jira-connection-status.test.ts
  • src/renderer/src/runtime/runtime-jira-saved-filter-state.test.ts
  • src/renderer/src/runtime/runtime-jira-status-filters.test.ts
  • src/renderer/src/runtime/runtime-server-directory-browser.test.ts
  • src/renderer/src/runtime/runtime-ssh-target-management.test.ts
Files with no reviewable changes: 12
  • src/renderer/src/runtime/runtime-host-contact-parity.test.ts
  • src/renderer/src/runtime/runtime-server-directory-browser.test.ts
  • src/renderer/src/runtime/runtime-jira-board-filter-compatibility.test.ts
  • src/renderer/src/runtime/runtime-jira-saved-filter-state.test.ts
  • src/renderer/src/runtime/runtime-host-connection-state.test.ts
  • src/renderer/src/runtime/runtime-jira-status-filters.test.ts
  • src/renderer/src/runtime/runtime-file-client-download.test.ts
  • src/renderer/src/runtime/runtime-jira-connection-status.test.ts
  • src/renderer/src/runtime/runtime-ssh-target-management.test.ts
  • src/renderer/src/runtime/runtime-file-client-watch.test.ts
  • src/renderer/src/runtime/runtime-file-client-mutation-ownership.test.ts
  • config/scripts/ci-shard-timings.json

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

Walkthrough

This PR removes or narrows runtime tests for file clients, SSH and host state, and Jira integrations. It also removes selected test timing records and removes the server-directory-browser test from a reliability-gate command. The changes described are to tests and CI configuration; they do not describe changes to runtime implementation.

Priority: Low

Merge Risk: Minimal · up to 33e21

No actionable merge-blocking risk was established. The change is mergeable after normal checks.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title names the main change: removing 61 low-value runtime tests and five suites. It is specific, concise, and matches the raw summary, which shows deleted test files and removed test cases. The '…
Description check Passed The description follows the template's main sections and gives substantive content. It states what changed (61 test cases removed, five suites deleted, five timing entries and one filename removed fro…
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. Documentation-only edits and deletions within survi…
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: Title check

Explanation

The title names the main change: removing 61 low-value runtime tests and five suites. It is specific, concise, and matches the raw summary, which shows deleted test files and removed test cases. The 'test:' prefix follows a conventional-commit style. The title does not name the audit scope (runtime client suites), but it is not vague.

Full details: Description check

Explanation

The description follows the template's main sections and gives substantive content. It states what changed (61 test cases removed, five suites deleted, five timing entries and one filename removed from the reliability command) and the validation performed. It also explains the reason for the removal (low-value cases such as mock-result echoes, RPC argument inventories, and cases covered by stronger retained tests). However, it lacks the template's ELI5, Why (alternatives considered), Linked Issue (the template says outside contributors must link an issue), Visual Proof (marked N/A or attachment), Testing checkboxes, AI Disclosure, and Agent skill upstream boundary sections. Because this is a test-only removal, several of these sections may be N/A, but the author did not mark them as N/A. The description is mostly complete on substance and is missing several template sections.

Resolution

Add or mark as N/A the following template sections: ELI5, Why (including why deletion is preferred over the alternatives considered), Linked Issue (or a note explaining why none applies), Visual Proof (write N/A with reason, since no UI change exists), and the Testing checkboxes. Complete the AI Disclosure section if applicable and tick the Agent skill upstream boundary box or explain it. Check the Checklist items that apply.

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. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 2 files. (1 skipped: 1 unsupported.)

Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
  • 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.

@OrcaWin
OrcaWin merged commit dc57b3d into main Oct 27, 2026
33 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