docs: update Sandbox for standalone praisonai-sandbox package + glob-rule activation#2114
Conversation
…rule activation (fixes #2106) Co-authored-by: MervinPraison <454862+MervinPraison@users.noreply.github.com>
|
@coderabbitai review |
|
/review |
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
|
@gemini review this PR |
✅ Action performedReview finished.
|
|
Warning Review limit reached
Next review available in: 36 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the 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 configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Code Review
This pull request updates the documentation to explain how path-scoped rules activate and introduces the new standalone praisonai-sandbox package. It details how the sandbox backends can be used independently of the full praisonai wrapper, updating installation instructions, CLI commands, and CI pipeline examples. A review comment suggests improving the direct import example for the standalone sandbox package by removing the dependency on praisonaiagents.sandbox.SandboxConfig, which ensures the example remains truly standalone.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| from praisonai_sandbox import DockerSandbox | ||
| from praisonaiagents.sandbox import SandboxConfig | ||
|
|
||
| config = SandboxConfig.docker("python:3.11-slim") | ||
| sandbox = DockerSandbox(image=config.image, config=config) |
There was a problem hiding this comment.
Since the primary purpose of using the standalone praisonai-sandbox package is to run sandboxed environments without pulling in the full praisonai wrapper or its heavy dependencies, importing SandboxConfig from praisonaiagents defeats this goal. We can simplify this direct import example to use DockerSandbox directly with the image argument, keeping it completely standalone.
from praisonai_sandbox import DockerSandbox
sandbox = DockerSandbox(image="python:3.11-slim")
|
Merge gate scan — eligible for assessment. Claude merge gate will assess and may auto-merge if |
|
MERGE_GATE_VERDICT: APPROVE All checklist items pass:
|
|
Merged by Claude PR merge gate ( |
|
Merge gate scan — not eligible for auto-merge.
Actions: wait for CI and the Claude review chain, or add label |
Fixes #2106
Summary
Updates two feature docs to reflect SDK changes shipped in v4.6.151.
Part 1 —
docs/features/sandbox-backends.mdx<Note>callout introducing the new standalonepraisonai-sandboxpackage (after the agent-first intro snippet).praisonai-sandbox[...]is the preferred install with legacypraisonai[...]shown as a still-working shim.praisonai-sandboxCLI, legacy shim).Part 2 —
docs/features/rules.mdx<Note>and the dedup vsalways<Tip>.Constraints honored
docs/concepts/touched.docs.jsonchanges (both pages already registered).classDefdeclarations.Generated with Claude Code