Skip to content

fix(test): give session_transcript handler test a temp KB - #591

Closed
kurosawareiji7007-hub wants to merge 1 commit into
vouchdev:testfrom
kurosawareiji7007-hub:fix/session-transcript-handler-test
Closed

fix(test): give session_transcript handler test a temp KB#591
kurosawareiji7007-hub wants to merge 1 commit into
vouchdev:testfrom
kurosawareiji7007-hub:fix/session-transcript-handler-test

Conversation

@kurosawareiji7007-hub

Copy link
Copy Markdown
Contributor

Summary

  • test_handler_returns_degraded_when_absent called kb.session_transcript with no discoverable .vouch root, so _store() raised and CI failed (seen on py3.13).
  • Point the handler at a temp KB via chdir, and empty Claude/Codex search roots so the degraded available: false path is what gets exercised.

Test plan

the degraded-when-absent case called handle_request with no discoverable
.vouch root, so _store raised KBNotFoundError and CI failed on py3.13.
chdir into a fixture KB and empty the Claude/Codex search roots instead.
@coderabbitai

coderabbitai Bot commented Jul 29, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@kurosawareiji7007-hub, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 52 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 1d477d0c-4e35-4c85-855b-795da5beeb6f

📥 Commits

Reviewing files that changed from the base of the PR and between be43b22 and 7ee942c.

📒 Files selected for processing (2)
  • CHANGELOG.md
  • tests/test_session_transcript.py

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added docs documentation, specs, examples, and repo guidance tests tests and fixtures size: XS less than 50 changed non-doc lines labels Jul 29, 2026
@kurosawareiji7007-hub

Copy link
Copy Markdown
Contributor Author

Superseded: same test fix cherry-picked onto #585 and #586 so their CI can pass without waiting on a separate PR. Closing to stay under the open-PR spam threshold.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs documentation, specs, examples, and repo guidance size: XS less than 50 changed non-doc lines tests tests and fixtures

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant