Repository navigation
test: remove 36 low-value terminal lifecycle cases - #40503
Merged
Merged
Conversation
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 36 low-value terminal lifecycle tests (37 expanded cases), cutting 1,200 net lines while keeping the state and identity races that justify their fixtures.
What Changed
Five registration modules shrink from 63 to 27 authored cases; the four unchanged shutdown-deferral cases were also reviewed. Across all six reviewed modules, 67 declarations / 68 expanded cases become 31 / 31.
Why
These long fixtures mostly add another supplied-input composition or mock assertion. Whole-suite removal was considered for each module; the retained cases exercise useful state transitions at the real owner. No equivalent replacement coverage is claimed for deleted cases.
Linked Issue
Maintainer-requested test-value audit; no separate issue.
Visual Proof
N/A — test removal only; no application behavior or UI change.
Testing
Linux background execution only. No native process, rendered UI, actual phone wake, SSH server, macOS or Windows execution claim.
Risk
Level: Low application risk; intentional coverage reduction. We lose exact alarms for ordinary wake/liveness policy, remote/SSH guards, mode-reset bytes, startup exceptions and agent-row forwarding. The retained tests do not replace those compositions. Revert this PR to restore them.
Review
Source reviews cover all selected case bodies, fixtures and bounded production owners. Root reviewed both complete patches, per-case decisions, consumer/metadata cleanup and current-main drift. Historical test receipts receive no fresh coverage credit.
Agent skill upstream boundary
Checklist