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
fix: repair sidebar lint and adoption test command fixture - #36080
Main has two deterministic CI failures: WorktreeCardAgents.tsx exceeds the max-lines limit, and the adoption test returns a string from a command resolver that now requires { command, prefixArgs }.
Move the compact-card reveal function into the existing sidebar reveal module with its body and call site unchanged. Update the adoption fixture to return the current command shape, preserving its transcript, linked-workspace, launch-directory, and replay assertions.
Validation: static formatting/lint, exact move reconstruction, and zero missing/added refactor logic. The original hosted run confirms TS2322 for the stale fixture; fresh hosted checks are required for this revision. Unblocks #36075. No test removals are counted in this repair.
OrcaWin
changed the title
refactor(sidebar): move compact card reveal into the reveal module
fix: repair sidebar lint and adoption test command fixture
Oct 29, 2026
WorktreeCardAgents.tsx now imports revealCompactAgentCard from worktree-sidebar-reveal.ts. The shared helper finds the enclosing worktree sidebar and option for an agent-list root, then asks the sidebar to reveal the option with automatic scroll behavior.
Priority: Pending latest changes
Merge Risk: Minimal · up to efe48
This is a localized refactor with no supported behavior change; merge after normal CI checks.
Pre-merge checks: 3 · 2
Failed checks: 2 warnings
Check name
Status
Explanation
Resolution
Docstring Coverage
Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Write docstrings for the functions missing them to satisfy the coverage threshold.
Description check
The description explains the implementation and validation, but it does not follow the required template. It omits the required ELI5, What Changed, Why, Linked Issue, Visual Proof, Testing, Review, No…
Rewrite the description using the repository template. Add each required section, include an actual linked issue reference such as "Fixes #36075" when applicable, add visual proof or state "N/A" with a reason, document testing and platforms…
Passed checks: 3 passed
Check name
Status
Explanation
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.
Title check
The title clearly identifies both real changes: the sidebar lint repair and the adoption-test command fixture update.
Full details: Docstring Coverage
Explanation
Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. 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 1 functions across 2 files.
Resolution
Write docstrings for the functions missing them to satisfy the coverage threshold.
Full details: Description check
Explanation
The description explains the implementation and validation, but it does not follow the required template. It omits the required ELI5, What Changed, Why, Linked Issue, Visual Proof, Testing, Review, Notes, and Checklist sections, and it does not provide the required issue link or visual-proof statement.
Resolution
Rewrite the description using the repository template. Add each required section, include an actual linked issue reference such as "Fixes #36075" when applicable, add visual proof or state "N/A" with a reason, document testing and platforms, complete the required checkboxes, and include AI disclosure when applicable.
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.
Main has two deterministic CI failures: WorktreeCardAgents.tsx exceeds the max-lines limit, and the adoption test returns a string from a command resolver that now requires
{ command, prefixArgs }.Move the compact-card reveal function into the existing sidebar reveal module with its body and call site unchanged. Update the adoption fixture to return the current command shape, preserving its transcript, linked-workspace, launch-directory, and replay assertions.
Validation: static formatting/lint, exact move reconstruction, and zero missing/added refactor logic. The original hosted run confirms TS2322 for the stale fixture; fresh hosted checks are required for this revision. Unblocks #36075. No test removals are counted in this repair.