Skip to content

Refactor: turn on local as last - #21238

Merged
wangq8 merged 2 commits into
infiniflow:mainfrom
wangq8:refactor/turn-on-local-as-last
Oct 20, 2026
Merged

wangq8 merged 2 commits into
infiniflow:mainfrom
wangq8:refactor/turn-on-local-as-last

Conversation

@wangq8

@wangq8 wangq8 commented Oct 20, 2026 •

Copy link
Copy Markdown
Collaborator
image

@wangq8 wangq8 added the ci Continue Integration label Oct 20, 2026
@coderabbitai

coderabbitai Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: bbdfd98c-fc72-44d7-8247-4b640e7ef0a7
📥 Commits

Reviewing files that changed from the base of the PR and between 3a4cef0 and c3944e9.

📒 Files selected for processing: 3
  • internal/agent/sandbox/catalog.go
  • internal/agent/sandbox/catalog_test.go
  • web/src/pages/admin/sandbox-settings.tsx
💤 Files with no reviewable changes: 1
  • web/src/pages/admin/sandbox-settings.tsx

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

📝 Walkthrough

The sandbox provider catalog now lists self_managed first and local last. The admin sandbox settings page now makes all providers returned by listSandboxProviders available for selection.

Changes: Sandbox provider availability

Layer / File(s) Summary
Catalog provider order
internal/agent/sandbox/catalog.go, internal/agent/sandbox/catalog_test.go
The catalog places self_managed first and local last. The test checks the provider order against an explicit list.
Admin provider selection
web/src/pages/admin/sandbox-settings.tsx
The settings page no longer filters out local from the provider list.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~5 minutes

Change: Feature

Suggested reviewers: 6ba3i, cike8899

Merge Risk: ⚪ Minimal · up to c3944

The provider ordering and local-provider selection changes are ready to merge with no established material risk.

Pre-merge checks: Passed 3 · Failed 2

Failed Failed checks: 2 warnings

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 2 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
Description check Warning The pull request description does not include the required "Summary" section or explain the purpose, background, or expected result of the changes. It contains only an image. Add a "## Summary" section that briefly explains the change, including why local sandbox support must be enabled last and how the provider ordering and settings page changes achieve that.
Passed Passed checks: 3 passed
Check name Status Explanation
Title check Passed The title clearly describes the main change: enabling the local provider and placing it last in the provider order.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
  • Fix all pre-merge checks with AI
  • 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.

❤️ Share

A rabbit checks the list at dawn,
Self-managed leads; local trails on.
The settings show the providers all,
No hidden one is left to fall.
I nibble greens and hop along!

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

@wangq8
wangq8 merged commit 3d881b9 into infiniflow:main Oct 20, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continue Integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant