Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
External sandbox providers currently require modifying the built-in provider table. Add module discovery through
UNI_AGENT_SANDBOX_PLUGINSso separately installed providers can register themselves.Changes
Validation
PYTHONPATH=.:verl uv run --no-project --python /usr/bin/python python -m pytest -q tests/uni_agent/sandbox/test_sandbox_provider_discovery_on_cpu.py tests/uni_agent/sandbox/test_exec_error_policy.py: 34 passed. Tests used the runtime interpreter with Uni-Agent and the pinned public verl gitlink explicitly selected.pre-commit run --all-files --show-diff-on-failure: passed.Internal validation and benefit
The integration use case is a separately installed sandbox provider that can be selected without adding provider code or dependencies to the built-in registry. No isolated internal latency, throughput or capacity benefit has been measured for plugin discovery itself. Validation for this PR is the discovery, import-failure/retry and built-in-name protection coverage listed above; no internal provider implementation or infrastructure is included.
Compatibility
Built-in providers keep lazy loading. External modules must be installed and configured on each worker; no migration is needed for existing configurations. Provider names reserved by built-in modules cannot be replaced. This is a standalone extension without a linked issue.
Checklist
pre-commit run --all-files --show-diff-on-failurepasses.