Skip to content

test: remove low-value automation host and listing suites - #40631

Merged
OrcaWin merged 1 commit into
mainfrom
rm-tests/audit3199-host-listing-cuts
Nov 10, 2026
Merged

OrcaWin merged 1 commit into
mainfrom
rm-tests/audit3199-host-listing-cuts

Conversation

@OrcaWin

@OrcaWin OrcaWin commented Nov 10, 2026 •

Copy link
Copy Markdown
Collaborator

ELI5

Remove six low-value automation host/listing test suites. Application behavior is unchanged.

Files Added Deleted Net
Test 6 0 $\color{#cf222e}{\Huge{\mathbf{−}}}$​334 $\color{#cf222e}{\Huge{\mathbf{−}}}$​334
Prod 2 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​20 $\color{#cf222e}{\Huge{\mathbf{−}}}$​21 $\color{#cf222e}{\Huge{\mathbf{−}}}$​1

What Changed

13 authored / 27 expanded cases removed, six whole suites and 334 net test lines. Retain the entire orphan-action and cross-host same-ID search regression suites. Remove six obsolete timing entries and append scoped coverage-loss notes while preserving historical evidence.

Why

The removed suites sample supplied health state, error taxonomies, selectors and one-step routing/focus policies. Their real alarms have limited value relative to fixture and maintenance cost. Whole-suite deletion makes those losses explicit; survivors 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 26 changed checks passed, including Node/web/CLI typechecks. Both unchanged keeper suites passed (two 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. Future RPC classification/retryability, failed-versus-empty/scoped evidence, exact create selector and paired-host catalog routing, execution health, runtime-first reconnect, or focus policy regressions may escape. No production/data/protocol changes. A plain revert restores all tests and metadata.

AI Disclosure

Internal maintainer work; template says to leave disclosure unfilled.

Review

Separate source-value review and technical composition review completed. Both keeper files remain byte-exact. Full raw/parsed metadata restoration checks preserve inherited notes, receipts and unrelated upstream edits. 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 change removes five automation host test files and one automation-list focus-recovery test file. It also updates the unit timing manifest by adding one test timing and removing six timing records.

Pre-merge checks: Passed 5

Check name Status Explanation
Title check Passed The title clearly describes the removal of low-value automation host and listing test suites, which is the main change.
Description check Passed The description covers the change, rationale, testing, visual-proof exception, risk, rollback, review, and checklist. It also explains why no linked issue was created under the maintainer exception.
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: d8074899-a543-4ce6-92d3-429a16fb3227
Commits

Reviewing files that changed from the base of the PR and between 6e445fe and 4daf2db.

Files selected for processing: 8

  • config/reliability-gates.jsonc
  • config/scripts/ci/sharding/ci-shard-timings.json
  • src/renderer/src/components/automations/hosts/automation-host-cache-error.test.ts
  • src/renderer/src/components/automations/hosts/automation-host-cache-health.test.ts
  • src/renderer/src/components/automations/hosts/automation-host-client.test.ts
  • src/renderer/src/components/automations/hosts/automation-host-health.test.ts
  • src/renderer/src/components/automations/hosts/automation-host-recovery.test.ts
  • src/renderer/src/components/automations/listing/automation-list-focus-recovery.test.ts
Files with no reviewable changes: 7

  • src/renderer/src/components/automations/hosts/automation-host-client.test.ts
  • src/renderer/src/components/automations/hosts/automation-host-health.test.ts
  • src/renderer/src/components/automations/hosts/automation-host-cache-error.test.ts
  • src/renderer/src/components/automations/hosts/automation-host-cache-health.test.ts
  • config/scripts/ci/sharding/ci-shard-timings.json
  • src/renderer/src/components/automations/listing/automation-list-focus-recovery.test.ts
  • src/renderer/src/components/automations/hosts/automation-host-recovery.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 0d62b2c 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