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: strengthen hook, release, and mobile transport coverage - #33031
Several tests passed without observing the behavior their names promised. Strengthen the witnesses for oversized pane keys, exact title limits, invalid launch preferences, restored idle children, expiry session identity, release artifact preservation, telemetry-key identity, and shared JavaScript SHA dispatch.
The mobile coverage now checks every cached-host render, opening unsubscribe request IDs, stream option propagation, all-host disposal, and release after a page client was acquired. Test renderers, clients, requests, and streams are cleaned up. Remove string-method spies in favor of public outputs and delete one duplicate Claude reverse-mapping test; retained round-trip coverage catches that regression. No production changes.
Validation: 267 focused cases pass without skips (202 root, 65 mobile). Fourteen sources reviewed, including one unchanged upstream re-review; 194 declarations become 193 and 11 test files change. Node typecheck, mobile test-typecheck ratchet, changed-code quality including React Doctor, formatting, whitespace, and commit hooks pass. Targeted production controls distinguish the strengthened witnesses from retained coverage. Frozen proposals, committed-source hashes, runtime receipts, and detailed review records are preserved in the local audit tracker.
Release checks use Linux fixtures and injected HTTP; mobile checks use Node renderer/transport fixtures. These checks do not claim native builds, live workflows, real WebView pairing, or remote delivery. Full CI runs on this combined batch.
OrcaWin
changed the title
test: strengthen hook, title, and launch preference boundaries
test: strengthen hook, launch, and release coverage
Oct 24, 2026
OrcaWin
changed the title
test: strengthen hook, launch, and release coverage
test: strengthen hook, release, and mobile transport coverage
Oct 24, 2026
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.
Walkthrough
The pull request updates tests in release scripts, mobile transport, and shared-agent modules. The tests now check telemetry-key hashing, restore inventory preservation, workflow dispatch inputs, host-client identity and lifecycle behavior, and execution-host frame contents. Shared-agent tests add assertions for hook payloads and metadata, title-signature length boundaries, pane-key construction, and invalid launch preferences.
Priority: Low
Merge Risk: Minimal · up to 4f808
This change only strengthens test coverage and does not alter production behavior. No actionable merge-blocking risk remains.
Pre-merge checks: 3 · 2
Failed checks: 2 warnings
Check name
Status
Explanation
Resolution
Description check
The description follows the template's main sections. It gives a ELI5-style explanation of the goal and a Testing section with validation steps, commands, and platform limits. It does not include the …
Add the missing template sections. Include an ELI5 summary and a What Changed section that describes the before and after behavior of the test changes. Add a Why section that explains why strengthened witnesses and removed string-method spi…
Docstring Coverage
Docstring coverage is 33.33% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 6 functions across 10 files.
Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed checks: 3 passed
Check name
Status
Explanation
Title check
The title "test: strengthen hook, release, and mobile transport coverage" matches the changeset. The diff changes only test files across hook listener, release script, and mobile transport areas, and …
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.
Full details: Title check
Explanation
The title "test: strengthen hook, release, and mobile transport coverage" matches the changeset. The diff changes only test files across hook listener, release script, and mobile transport areas, and it strengthens assertions in each. It is a concise, conventional-commit style summary of the main change. It does not list every file, which is acceptable.
Full details: Description check
Explanation
The description follows the template's main sections. It gives a ELI5-style explanation of the goal and a Testing section with validation steps, commands, and platform limits. It does not include the template's ELI5, What Changed, Why, or Linked Issue headings. It has no 'Fixes #' issue link, no Visual Proof statement (N/A reason needed), no AI Disclosure, no Review section, no Agent skill upstream boundary checkbox, and no Notes/Checklist items. The 'Validation' paragraph covers test results, but the manual-test checkbox is not checked and the platforms actually tested are not clearly listed. The description is mostly technical, but it omits several required sections.
Resolution
Add the missing template sections. Include an ELI5 summary and a What Changed section that describes the before and after behavior of the test changes. Add a Why section that explains why strengthened witnesses and removed string-method spies are preferred. Add a Linked Issue entry with a 'Fixes #' reference to a real issue, or state that the PR is from a maintainer. Write N/A with a reason under Visual Proof, because the change has no UI behavior change. Complete the Testing section, including which platforms were tested and whether the manual-test checkbox applies. Fill in or mark N/A for AI Disclosure, the Review section, and the Agent skill upstream boundary checkbox. Complete the Checklist items, or confirm each one.
Finishing Touches: 💡 1
📝 Generate docstrings: 💡
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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.
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.
Several tests passed without observing the behavior their names promised. Strengthen the witnesses for oversized pane keys, exact title limits, invalid launch preferences, restored idle children, expiry session identity, release artifact preservation, telemetry-key identity, and shared JavaScript SHA dispatch.
The mobile coverage now checks every cached-host render, opening unsubscribe request IDs, stream option propagation, all-host disposal, and release after a page client was acquired. Test renderers, clients, requests, and streams are cleaned up. Remove string-method spies in favor of public outputs and delete one duplicate Claude reverse-mapping test; retained round-trip coverage catches that regression. No production changes.
Validation: 267 focused cases pass without skips (202 root, 65 mobile). Fourteen sources reviewed, including one unchanged upstream re-review; 194 declarations become 193 and 11 test files change. Node typecheck, mobile test-typecheck ratchet, changed-code quality including React Doctor, formatting, whitespace, and commit hooks pass. Targeted production controls distinguish the strengthened witnesses from retained coverage. Frozen proposals, committed-source hashes, runtime receipts, and detailed review records are preserved in the local audit tracker.
Release checks use Linux fixtures and injected HTTP; mobile checks use Node renderer/transport fixtures. These checks do not claim native builds, live workflows, real WebView pairing, or remote delivery. Full CI runs on this combined batch.