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
{{ message }}
Repository navigation
test: remove 152 low-value renderer store tests - #37608
Remove 152 low-value tests, including five entire suites, to reduce maintenance and CI work. Retain 91 registrations covering real races, destructive cleanup, recovery and ownership boundaries.
What Changed
Delete fixture-result, forwarding, scalar/reference, counter and notification-copy checks across renderer repository catalogs and runtime-status stores. Remove dead registrars and suite timing/baseline entries. Narrow current reliability-gate assertions and document the specific lost alarms while preserving historical execution evidence.
Why
These tests mostly check implementation details or canned results without exercising their downstream consequences. The removed draft-preservation suite uses a slice fixture without destructive host purge. We deliberately retire those narrow alarms; other tests are not claimed as equivalent replacements.
Linked Issue
Maintainer-requested comprehensive test-value audit; no separate issue.
Visual Proof
N/A — test and metadata removals only; no application UI changes.
External parsing/formatting and retained registration/callback/scope hash verification passed.
Inert lint passed for changed surviving suites and the registrar caller.
Metadata references and historical evidence checked; all source/owner/change originals reconciled against the verified base.
Current-head GitHub CI: all 12 full unit shards, aggregate, static/typecheck, relay integration, headless server and test-LoC passed.
CI ran merge 8cee6ee over 7a038070. Main subsequently advanced; an independent proposed-tree check preserves its 15 timing-path relocations and the exact reviewed removal patch. That newer combined tree has not run this CI. The public squash will be checked independently against its actual parent.
AI Disclosure
Prepared with Codex.
Review
Root read all 30 original sources and every per-case advisory reason. Independent read provenance is recorded per component. Kept held-response races, actual host purge and persistence consumers, measured publication/work bounds, compatibility-cache recovery, outage retry coalescing and host-collision activation. Retained test bodies and setup scopes are unchanged. Reviewed the suggestion to restore a direct local-fallback assertion after runtime purge; intentionally accept that narrow lost alarm. The retained writer case proves the retired runtime stops receiving writes, without proving every other destination is local. CodeRabbit reported an unrelated PHP ast-grep rule configuration failure; no complete external-tool execution or formal approval claim.
Agent skill upstream boundary
Not applicable; no upstream skill-installer material changed.
Risk
Level: Low
Risk: exact removed scalar, routing, field, reference, counter and feedback alarms are lost. Loss notes narrow current gate claims; historical commands/counts/results stay intact. Cross-platform, independent client/server versions, SSH/remote, mobile and folder-workspace coverage losses were considered; no new live-host/platform evidence is claimed. Rollback: revert this test-only commit.
Checklist
Focused test-value cleanup batched to reduce CI cycles.
Explained what changed and why.
Visual proof N/A with reason.
Self-reviewed for correctness, security and performance.
Cross-platform, remote/SSH and folder-workspace impact considered.
Applicable current-head CI checks pass; no local project tests, typechecks or builds run.
The pull request removes renderer tests and test registrations across repository, restored-editor-owner, and runtime areas. It also updates reliability-gate notes, the flaky-test baseline, and CI shard timing data. The supplied summaries describe test and audit-data changes, not runtime implementation changes.
Merge Risk: Low · up to 1517b
This PR removes low-value renderer tests and does not change runtime behavior. One retained test should assert local routing after a host purge, so a misrouted session write would not pass unnoticed. Merging is low risk, and the assertion fix is small.
Pre-merge checks: 5
Check name
Status
Explanation
Title check
The title "test: remove 152 low-value renderer store tests" matches the main change. The changeset deletes two spec files and removes many test cases across renderer store slice tests, which the raw 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 is complete and follows the required structure. It explains the scope, rationale, testing, risk, rollback plan, AI use, and the absence of UI changes. It also documents that local proj…
Full details: Title check
Explanation
The title "test: remove 152 low-value renderer store tests" matches the main change. The changeset deletes two spec files and removes many test cases across renderer store slice tests, which the raw summary and PR objectives both describe. The title is specific and concise, and it uses the conventional commit prefix. The 152 count comes from the author's PR description and is not checked against the diff.
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 5 files. (1 skipped: 1 unsupported.)
Full details: Description check
Explanation
The description is complete and follows the required structure. It explains the scope, rationale, testing, risk, rollback plan, AI use, and the absence of UI changes. It also documents that local project tests were not run and identifies the CI evidence and remaining validation requirement. The linked-issue section has no issue number, but the author identifies this as a maintainer-requested audit, which matches the template's maintainer exception.
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/php/security/curl-certificate-verification.yml
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.
42-42: Trivial · Data Integrity & Integration · Quick win
Keep a direct check that purged worktrees route to local.
The retained test rejects writes only to RUNTIME_A. It still passes if the post-purge write routes to another non-local host, such as a second runtime partition. The removed buildHostIdByWorktreeId assertion was the only test of that routing in src.
Assert the post-purge call count and that the local write omits the host ID:
patchWorkspaceSessionByHost calls api.patch(local) first, with no host argument. Any non-local write adds a second call with a host ID, so the length check fails on a misroute.
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: 1e3afcde-70f2-4e0c-8ae9-389b8ec29637
Commits
Reviewing files that changed from the base of the PR and between 7a03807 and 1517b07.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 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 152 low-value tests, including five entire suites, to reduce maintenance and CI work. Retain 91 registrations covering real races, destructive cleanup, recovery and ownership boundaries.
What Changed
Delete fixture-result, forwarding, scalar/reference, counter and notification-copy checks across renderer repository catalogs and runtime-status stores. Remove dead registrars and suite timing/baseline entries. Narrow current reliability-gate assertions and document the specific lost alarms while preserving historical execution evidence.
Why
These tests mostly check implementation details or canned results without exercising their downstream consequences. The removed draft-preservation suite uses a slice fixture without destructive host purge. We deliberately retire those narrow alarms; other tests are not claimed as equivalent replacements.
Linked Issue
Maintainer-requested comprehensive test-value audit; no separate issue.
Visual Proof
N/A — test and metadata removals only; no application UI changes.
Testing
CI ran merge
8cee6eeover7a038070. Main subsequently advanced; an independent proposed-tree check preserves its 15 timing-path relocations and the exact reviewed removal patch. That newer combined tree has not run this CI. The public squash will be checked independently against its actual parent.AI Disclosure
Prepared with Codex.
Review
Root read all 30 original sources and every per-case advisory reason. Independent read provenance is recorded per component. Kept held-response races, actual host purge and persistence consumers, measured publication/work bounds, compatibility-cache recovery, outage retry coalescing and host-collision activation. Retained test bodies and setup scopes are unchanged. Reviewed the suggestion to restore a direct local-fallback assertion after runtime purge; intentionally accept that narrow lost alarm. The retained writer case proves the retired runtime stops receiving writes, without proving every other destination is local. CodeRabbit reported an unrelated PHP ast-grep rule configuration failure; no complete external-tool execution or formal approval claim.
Agent skill upstream boundary
Risk
Level: Low
Risk: exact removed scalar, routing, field, reference, counter and feedback alarms are lost. Loss notes narrow current gate claims; historical commands/counts/results stay intact. Cross-platform, independent client/server versions, SSH/remote, mobile and folder-workspace coverage losses were considered; no new live-host/platform evidence is claimed. Rollback: revert this test-only commit.
Checklist