Skip to content

test: remove 64 low-value renderer catalog tests - #37602

Merged
OrcaWin merged 1 commit into
mainfrom
codex/remove-low-value-renderer-catalog-tests-6
Nov 3, 2026
Merged

OrcaWin merged 1 commit into
mainfrom
codex/remove-low-value-renderer-catalog-tests-6

Conversation

@OrcaWin

@OrcaWin OrcaWin commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator
Files Added Deleted Net
Test 20 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​5 $\color{#cf222e}{\Huge{\mathbf{−}}}$​1385 $\color{#cf222e}{\Huge{\mathbf{−}}}$​1380
Prod 1 0 $\color{#cf222e}{\Huge{\mathbf{−}}}$​4 $\color{#cf222e}{\Huge{\mathbf{−}}}$​4

ELI5

Remove 64 low-value renderer catalog and workspace tests, including five entire suites, to reduce maintenance and CI work.

What Changed

Audit 20 sources containing 147 authored test registrations; remove 64 and retain 83. Delete shallow host-identity/reorder examples, catalog field/reference checks, callback projections and a mocked SSH-generation fence matrix. Remove five whole suites, their four direct-suite timing rows and one exported suite's registration from its parent test. Retained test bodies and setup remain unchanged.

Why

Keep actual host-collision application, overlapping local/remote load settlement, reconnect ownership, stale-response fencing, cross-host metadata and Windows runtime preference handling, teardown races, and folder/worktree behavior. The removed tests have narrow alarms that are intentionally surrendered; equivalent coverage is not claimed.

Linked Issue

Internal maintenance requested by a stablyai maintainer. The template exempts maintainers from opening needless issues; no pre-existing issue is linked.

Visual Proof

N/A — tests and test metadata only.

Testing

  • I manually tested these changes locally
  • Automated test removals explained above

Root read all 20 originals and decided every registration, informed by six advisory reports. External parsing, retained callback/setup/scope comparisons, exact cleanup replay, runtime import-edge preservation, formatting, inert lint, metadata semantics and caller cleanup passed. No local project tests, builds, typechecks, installs or apps were run. All 12 full unit shards and applicable workflows must pass before merge; CI has not yet passed.

Review

Each removal records its reason and lost alarm privately. Source, owner, metadata and caller snapshots are pinned and were reconciled against the verified #37598 squash before publication. Named owner reads are attributed individually; snapshots alone do not establish a read. Historical execution evidence is preserved. No dependency-closure claim.

Agent skill upstream boundary

  • Not applicable; no upstream skill source is copied or translated.

Risk

Level: Low. Coverage decreases intentionally. Reverting this PR restores the removed tests and metadata.

Notes

No production changes across macOS, Linux, Windows, remote, mobile or folder workspaces.

Checklist

  • Focused test cleanup
  • Scope and rationale explained
  • Visual proof marked N/A
  • Self-reviewed
  • Platform and remote impact considered
  • CI passed (required before merge)

@OrcaWin
OrcaWin marked this pull request as ready for review November 3, 2026 00:47
@coderabbitai

coderabbitai Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Walkthrough

The pull request removes renderer store tests across repository catalogs, project removal, runtime cleanup, tab handling, and remote updates. It adds repository refresh tests for shared-project ownership, local-only refresh state, and concurrent runtime catalog loads. It also changes two test imports to side-effect imports and removes four CI timing records.

Merge Risk: Minimal · up to 95828

No actionable merge-blocking defect is established. Run the required CI workflows before merging.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly and concisely describes the main change: removing 64 low-value renderer catalog tests.
Description check Passed The description is mostly complete. It explains the scope, rationale, retained coverage, testing status, risk, visual proof, and rollback path. The missing linked issue is explained by the maintainer …
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: Description check

Explanation

The description is mostly complete. It explains the scope, rationale, retained coverage, testing status, risk, visual proof, and rollback path. The missing linked issue is explained by the maintainer exception, and CI is correctly marked as pending.

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 4 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

Some tools did not complete. Review the errors below.

ast-grep (0.51.1)

ast-grep could not parse rule config: /ast-grep-rules/ast-grep-essentials/rules/c/security/fprintf-non-literal-format-string-c.yml

Tip

🎯 Customize your risk assessments

Guide how CodeRabbit assesses merge risk and security architecture risk. Highlight sensitive changes and explain your security boundaries using Merge Risk Instructions and Security Risk Instructions in your review settings. Security architecture risk assessments require the Advanced plan or above.

✅ Automatic approvals, with your rules

Let CodeRabbit approve pull requests once required threads are resolved, pre-merge checks pass, and your risk limits are met. Enable Automatic approvals in review settings, with overrides for teams or file paths.

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

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.
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: ef51150c-bd9f-41c4-a0b6-b3f01a9edd14
Commits

Reviewing files that changed from the base of the PR and between 4c6f325 and 9582892.

Files selected for processing: 21
  • config/scripts/ci-shard-timings.json
  • src/renderer/src/store/slices/project-removal-host-twin-state.test.ts
  • src/renderer/src/store/slices/project-removal-owner-host.test.ts
  • src/renderer/src/store/slices/project-removal-runtime-terminal-order.test.ts
  • src/renderer/src/store/slices/project-removal-unreachable-server.test.ts
  • src/renderer/src/store/slices/purge-stale-runtime-host-ownership.test.ts
  • src/renderer/src/store/slices/purge-stale-runtime-host-state.test.ts
  • src/renderer/src/store/slices/readopted-ssh-worktree-rows.test.ts
  • src/renderer/src/store/slices/recently-closed-tabs.test.ts
  • src/renderer/src/store/slices/remote-server-updates.integration.test.ts
  • src/renderer/src/store/slices/removed-worktree-diff-memory.test.ts
  • src/renderer/src/store/slices/repo-host-identity.test.ts
  • src/renderer/src/store/slices/repo-identity-reconcile.test.ts
  • src/renderer/src/store/slices/repo-reorder-host-split.test.ts
  • src/renderer/src/store/slices/repos-all-hosts-folder-workspaces.spec.ts
  • src/renderer/src/store/slices/repos-all-hosts-generation.test.ts
  • src/renderer/src/store/slices/repos-all-hosts.test.ts
  • src/renderer/src/store/slices/repos-catalog-connection-fence.test.ts
  • src/renderer/src/store/slices/repos-catalog-merge-identity.spec.ts
  • src/renderer/src/store/slices/repos-catalog-notifications.spec.ts
  • src/renderer/src/store/slices/repos-catalog-reconciliation.test.ts
Files with no reviewable changes: 17
  • src/renderer/src/store/slices/repo-host-identity.test.ts
  • src/renderer/src/store/slices/repos-catalog-merge-identity.spec.ts
  • src/renderer/src/store/slices/repos-all-hosts-generation.test.ts
  • src/renderer/src/store/slices/readopted-ssh-worktree-rows.test.ts
  • src/renderer/src/store/slices/repos-all-hosts-folder-workspaces.spec.ts
  • src/renderer/src/store/slices/purge-stale-runtime-host-ownership.test.ts
  • src/renderer/src/store/slices/project-removal-owner-host.test.ts
  • src/renderer/src/store/slices/remote-server-updates.integration.test.ts
  • src/renderer/src/store/slices/repos-catalog-connection-fence.test.ts
  • src/renderer/src/store/slices/repo-reorder-host-split.test.ts
  • src/renderer/src/store/slices/repo-identity-reconcile.test.ts
  • src/renderer/src/store/slices/repos-catalog-notifications.spec.ts
  • src/renderer/src/store/slices/project-removal-runtime-terminal-order.test.ts
  • src/renderer/src/store/slices/repos-catalog-reconciliation.test.ts
  • src/renderer/src/store/slices/project-removal-unreachable-server.test.ts
  • src/renderer/src/store/slices/repos-all-hosts.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; 4 remain after this review.

@OrcaWin
OrcaWin merged commit 7f0b513 into main Nov 3, 2026
68 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