CodeRabbit Generated Unit Tests: Add unit tests for PR changes#654
CodeRabbit Generated Unit Tests: Add unit tests for PR changes#654coderabbitai[bot] wants to merge 1 commit intomainfrom
Conversation
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.
Tip: disable this comment in your organization's Code Review settings.
|
Important Review skippedThis PR was authored by the user configured for CodeRabbit reviews. CodeRabbit does not review PRs authored by this user. It's recommended to use a dedicated user account to post CodeRabbit review feedback. ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
|
👋 This PR was automatically closed by our quality checks. Common reasons:
If you believe this was a mistake, please open an issue explaining your intended contribution and a maintainer will help you. |
|
Hey! Your PR title Please update it to start with one of:
Where See CONTRIBUTING.md for details. |
|
This PR doesn't fully meet our contributing guidelines and PR template. What needs to be fixed:
Please edit this PR description to address the above within 2 hours, or it will be automatically closed. If you believe this was flagged incorrectly, please let a maintainer know. |
|
👋 This PR was automatically closed by our quality checks. Common reasons:
If you believe this was a mistake, please open an issue explaining your intended contribution and a maintainer will help you. |
Unit test generation was requested by @anandgupta42.
The following files were modified:
packages/opencode/test/session/processor.test.tsSummary by cubic
Add unit tests for the plan agent’s “no tool generation” detection in
packages/opencode/test/session/processor.test.ts. Tests cover event fields/types, suppression when at least one tool call exists, tokens_output edge cases (0 and large), correct metadata forwarding, one-time warning behavior across steps, and non-plan/empty-agent cases to prevent regressions.Written for commit 3ef4b56. Summary will update on new commits.