Repository navigation
refactor(modal): upgrade to 1.6.3 and use public SDK APIs - #533
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
🤖 Automated Claude routine — Env Pod PR Context Review. This is a bot, not Edgar Arakelyan; not a human review. Offering context on one branch this repo's tests can't exercise end to end: the ECR pull-secret path in The PR description says ECR images are pulled "with Two reasons this may not show up before it ships:
If Generated by Claude Code |
# Conflicts: # src/agent_env/providers/sandbox_providers/modal_vm_sandbox.py
|
Thanks for this! I resolved the conflict with What I pushed (4be474b, merges of
Checked against Modal 1.6.3's source:
Live results:
What failed, and why it isn't this PR: the Not covered: cancelling a create mid-flight. |
Hey, upgrading Modal to get on our latest backend, improving perf and reliability. Also uses new GA methods, no more experimental 🙂
Raise the Modal client requirement from
>=1.5.2.dev22to>=1.6.3and update the locked client from1.6.2.dev1to the latest stable release. Use the public APIs available with this floor:Sandbox.create(). Keep_experimental_create(i6pn=True)for private networking, which the public factory does not expose, and preserve GPU restrictions.runtime="vm"instead ofexperimental_options={"vm_runtime": True}. Preserve the nested-virtualization option for disk sandboxes.Image.from_registry()and the existing named AWS secret, preserving credential routing and registry-host checks.Update the provider tests and extend the installed-SDK signature checks to cover both public container creation and private networking. File-transfer changes are outside this PR.
Regenerated
uv.lockwith the CI-pinned uv 0.13.1. The only package version changes are Modal and its required synchronicity update (0.12.6→0.12.7); uv also normalizes lockfile markers and format.Validation:
smolpackage unavailable).uv lock --checkwith uv 0.13.1: passed.uv run --frozen ruff check .: passed.git diff --check: passed.Live Modal integration tests were not run. Upstream CodeBuild requires maintainer approval before running for this fork.


Confidence Score: 5/5
The PR appears safe to merge; no actionable defects were established.Summary
Upgrades Modal to 1.6.3 and moves ordinary container and VM creation to public SDK calls.
No actionable new issues were established. No previous review threads were supplied. The merge bases differed, so this review covered the full PR diff. Tests and live Modal calls were not run during this review.
Reviews (3) · Last reviewed commit: "Merge remote-tracking branch 'origin/mai..." · Reviewed by Greptile