Skip to content

test(env): import LocalSandbox from its new module in the artifact staging test - #381

Merged
earakely-scale merged 1 commit into
mainfrom
edgararakelyan/fix-artifact-staging-test-import
Oct 29, 2026
Merged

earakely-scale merged 1 commit into
mainfrom
edgararakelyan/fix-artifact-staging-test-import

Conversation

@earakely-scale

@earakely-scale earakely-scale commented Oct 29, 2026 •

Copy link
Copy Markdown
Collaborator

What and why

main's unit tier fails at collection since #374 merged:

ERROR tst/unit/env/envs/test_artifact_staging.py - ModuleNotFoundError: No module named 'agent_env.providers.sandbox_providers.local_sandbox'

#374's new test imports LocalSandbox from sandbox_providers.local_sandbox, which #369 moved to local_docker.provider while #374 was open. Each PR passed CI on its own. Because main's Local backends gate is red, the v0.9.1379 bump didn't publish: PyPI's latest is 0.9.1378, so #374's fix hasn't shipped.

This PR changes only that import.

How it was tested

  • pytest tst/unit/env/envs/test_artifact_staging.py: 28 passed.
  • grep finds no other import of the old module in src, tst or packages.

🤖 Generated with Claude Code

RetriggerView in GreptileConfidence Score: 5/5

This import-only fix appears safe to merge.

Summary

Updates the artifact-staging test to import LocalSandbox from its current module.

  • Artifact staging tests now import LocalSandbox from its current module.

Reviews (1) · Last reviewed commit: "test(env): import LocalSandbox from its ..." · Reviewed by Greptile

…aging test

The staging test added in #374 imports LocalSandbox from
sandbox_providers.local_sandbox, which #369 moved to local_docker.provider
while #374 was open. Both passed CI on their own, so main's unit tier fails
at collection with this test's ImportError, and the v0.9.1379 bump didn't publish.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@earakely-scale
earakely-scale requested a review from a team as a code owner October 29, 2026 01:47
@earakely-scale
earakely-scale merged commit ca50c77 into main Oct 29, 2026
25 checks passed
@earakely-scale
earakely-scale deleted the edgararakelyan/fix-artifact-staging-test-import branch October 29, 2026 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant