Skip to content

prioritize interactive provider turns - #226

Merged
pmbstyle merged 1 commit into
mainfrom
feature/interactive-provider-lane
Aug 13, 2026
Merged

prioritize interactive provider turns#226
pmbstyle merged 1 commit into
mainfrom
feature/interactive-provider-lane

Conversation

@pmbstyle

@pmbstyle pmbstyle commented Aug 13, 2026

Copy link
Copy Markdown
Owner

Summary

  • propagate explicit interactive and background lanes at the app-server provider boundary
  • admit at most two provider processes, cap background work at one slot, preserve per-session serialization, and add bounded fairness
  • return a direct-user progress response at safe 90/110 second budget checkpoints and enqueue exactly one non-nesting continuation
  • detach a slow in-flight tool at the hard response deadline, wait for that same execution in the continuation, and never replay or cancel its side effect through continuation cancellation
  • retain resumable mappings only after terminal turns and prevent tool side-effect replay across provider recovery
  • preserve simultaneous terminal events when transport loss is reported

Validation

  • 1473 passed, 1 platform-specific skip
  • Ruff
  • Black
  • MyPy
  • diff check

@coderabbitai

coderabbitai Bot commented Aug 13, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

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

Next review available in: 54 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

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: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 0455fe86-26a1-419d-b8fc-35451ebe6c77

📥 Commits

Reviewing files that changed from the base of the PR and between 32b9c2c and 09357aa.

📒 Files selected for processing (5)
  • src/octopal/infrastructure/providers/codex_provider.py
  • src/octopal/runtime/octo/route_continuations.py
  • src/octopal/runtime/octo/router.py
  • tests/test_codex_provider_sessions.py
  • tests/test_router_tool_budget.py
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/interactive-provider-lane

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.

@pmbstyle
pmbstyle force-pushed the feature/interactive-provider-lane branch from 6f50294 to 4ab3f08 Compare August 13, 2026 13:28
@pmbstyle
pmbstyle force-pushed the feature/interactive-provider-lane branch from 4ab3f08 to 09357aa Compare August 13, 2026 13:30
@pmbstyle pmbstyle self-assigned this Aug 13, 2026
@pmbstyle
pmbstyle merged commit 7ddca61 into main Aug 13, 2026
7 checks passed
@pmbstyle
pmbstyle deleted the feature/interactive-provider-lane branch August 13, 2026 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant