You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove 255 low-value test definitions, including 21 entire test files, from terminal connection and orchestration suites.
What Changed
Reviewed 583 direct test definitions across 96 files; retain 328 with their callbacks and registrations unchanged. Delete unused test setup, 20 obsolete shard timing entries and one obsolete real-wait baseline row. Update reliability metadata to describe the reduced protection and retire five affected historical results in full.
Why
Removed cases mainly repeat predicates, mirror implementation, or assert mocked wiring. Whole-suite deletion is intentional where the suite offers little regression value. Retained tests exercise stronger observable behavior; they are not claimed as equivalent replacements for every deleted alarm.
Linked Issue
Maintainer-directed comprehensive test audit; no existing issue.
Visual Proof
N/A — test and coverage metadata changes only.
Testing
Automated tests updated: 423 focused checks passed across 75 surviving files, zero skips, using prepared dependencies on Linux with background launch and an isolated display. These ran on the previous published parent; exact selected sources and 225 bounded owner inputs were subsequently authenticated at the actual merged parent. This is bounded freshness evidence, not whole-tree execution equivalence.
Retained callbacks, registrations, wrappers and live hooks verified against originals; surviving support remains an exact subset.
Independent metadata review replayed all 48 operations; 221 surviving dated results remain byte-for-byte unchanged. Five affected results retire whole, without reduced pass claims.
All 32 applicable changed checks pass, including typecheck and related unit tests.
CI will run the full PR workflow before merge. No macOS, Windows, live provider or rendered-app validation is claimed locally.
Risk
Level: Medium. Deletion intentionally loses individual regression alarms, including the sole snapshot-freshness predicate suite. Its gate is demoted to no protection. Terminal delayed/null retry examples, formatter expectations and mocked orchestration examples also lose direct alarms. Direct old-style delivery INSERT acceptance after repairing a stamped-v34 schema also loses its narrow compatibility alarm; retained migration cases do not cover that exact shape. Retained integration cases do not guarantee equivalent coverage. A plain revert restores tests and metadata; runtime code and saved data are unchanged.
Review
Reviewed each selected definition against its bounded production context. Independent review checks metadata provenance and retained-source identity; it is not a second value audit of all 96 files. Two imported renderer factory definitions remain unchanged and earn no removal credit.
Agent skill upstream boundary
Not applicable; no upstream skill source is copied or translated.
Notes
No runtime code changes. Platform, remote, mobile and folder-workspace behavior are unchanged; local validation is Linux only.
Checklist
Focused test audit with explicit lost coverage and rollback.
Self-reviewed source preservation and coverage records.
Cross-platform and remote impact considered.
Applicable local checks pass; full CI required before merge.
The pull request removes or reduces test coverage across orchestration databases, federation, mailbox handling, and renderer PTY connections. Federation sync tests add coverage for protocol-3 attachment behavior after a remote capability downgrade. The pull request also updates CI shard timing records and removes one flaky-test baseline entry. The described changes affect tests and test metadata; they do not describe changes to production implementation behavior.
Pre-merge checks: 5
Check name
Status
Explanation
Title check
The title "test: remove 255 low-value tests" describes the main change: the PR deletes 255 test definitions (including 21 whole files) from terminal connection and orchestration suites. It is short, s…
Docstring Coverage
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
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Description check
The description follows the repository template and fills in every section: ELI5, What Changed, Why, Linked Issue, Visual Proof, Testing, Risk, Review, Agent skill upstream boundary, Notes, and Checkl…
Full details: Title check
Explanation
The title "test: remove 255 low-value tests" describes the main change: the PR deletes 255 test definitions (including 21 whole files) from terminal connection and orchestration suites. It is short, specific, and uses a conventional prefix. It does not name the affected areas, but it does not need to cover every detail.
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 9 files.
Full details: Description check
Explanation
The description follows the repository template and fills in every section: ELI5, What Changed, Why, Linked Issue, Visual Proof, Testing, Risk, Review, Agent skill upstream boundary, Notes, and Checklist. It states the scope (255 test definitions removed across 21 files, plus shard-timing and baseline metadata updates) and gives the reason (the removed tests repeat predicates, mirror implementation, or assert mocked wiring). It also lists the lost coverage, the rollback path (a plain revert restores tests and metadata), and the validation scope (Linux only, CI pending). The Linked Issue section says there is no existing issue and cites a maintainer-directed audit. The template says outside contributors must link an issue, but the author indicates a maintainer-directed change, so this is a minor gap. The AI Disclosure section is blank, which the template allows for stablyai team members. The Testing section has a dense, partly unclear claim about 'bounded freshness evidence' and 'authenticated' inputs, and the Risk level is 'Medium' without an explicit statement of the affected user-facing surface. The description is mostly complete and accurate, so it passes.
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.
7-7: Trivial · Data Integrity & Integration · Quick win
Keep behavioral coverage for stamped-v34 delivery repair.
The deleted test checked that a legacy delivery insert works after repair. The surviving migration tests do not exercise that delivery shape. Keep a migration-layer test for the legacy write without pinning schema values.
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: 41565423-d27e-474e-8f55-b81e6eddd67a
Commits
Reviewing files that changed from the base of the PR and between 05af4b2 and 4f241fc.
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; 7 remain after this review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ELI5
Remove 255 low-value test definitions, including 21 entire test files, from terminal connection and orchestration suites.
What Changed
Reviewed 583 direct test definitions across 96 files; retain 328 with their callbacks and registrations unchanged. Delete unused test setup, 20 obsolete shard timing entries and one obsolete real-wait baseline row. Update reliability metadata to describe the reduced protection and retire five affected historical results in full.
Why
Removed cases mainly repeat predicates, mirror implementation, or assert mocked wiring. Whole-suite deletion is intentional where the suite offers little regression value. Retained tests exercise stronger observable behavior; they are not claimed as equivalent replacements for every deleted alarm.
Linked Issue
Maintainer-directed comprehensive test audit; no existing issue.
Visual Proof
N/A — test and coverage metadata changes only.
Testing
Risk
Level: Medium. Deletion intentionally loses individual regression alarms, including the sole snapshot-freshness predicate suite. Its gate is demoted to no protection. Terminal delayed/null retry examples, formatter expectations and mocked orchestration examples also lose direct alarms. Direct old-style delivery INSERT acceptance after repairing a stamped-v34 schema also loses its narrow compatibility alarm; retained migration cases do not cover that exact shape. Retained integration cases do not guarantee equivalent coverage. A plain revert restores tests and metadata; runtime code and saved data are unchanged.
Review
Reviewed each selected definition against its bounded production context. Independent review checks metadata provenance and retained-source identity; it is not a second value audit of all 96 files. Two imported renderer factory definitions remain unchanged and earn no removal credit.
Agent skill upstream boundary
Notes
No runtime code changes. Platform, remote, mobile and folder-workspace behavior are unchanged; local validation is Linux only.
Checklist