Skip to content

feat: add regionless image resolver to envhub SDK#1173

Open
jake11-oho wants to merge 1 commit into
alibaba:masterfrom
jake11-oho:feat/regionless-resolver
Open

feat: add regionless image resolver to envhub SDK#1173
jake11-oho wants to merge 1 commit into
alibaba:masterfrom
jake11-oho:feat/regionless-resolver

Conversation

@jake11-oho

Copy link
Copy Markdown
Collaborator

Summary

  • Migrate RockRegistryResolver from harbor to rock.sdk.envhub.regionless as SDK standard capability
  • Add compose file support: resolve_compose rewrites image: fields, compose_pull wraps resolve + docker compose pull
  • 43 unit tests covering resolver (35) and compose (8) — caching, multi-registry fallthrough, timeout fallback, digest-pinned skip, Dockerfile rewrite, compose dedup, pull failure propagation

Fixes #1172

Test plan

  • uv run pytest tests/unit/envhub/regionless/ -v — 43/43 passed
  • uv run ruff check + uv run ruff format --check — clean
  • Full fast test suite (uv run pytest -m "not need_ray and not need_admin and not need_admin_and_network") — 1622 passed, 1 pre-existing failure (unrelated test_disk_statistics)

🤖 Generated with Claude Code

Migrate RockRegistryResolver from harbor to rock.sdk.envhub.regionless,
enabling container image reference rewriting to ROCK mirror registries.
Add compose file support (resolve_compose + compose_pull).

43 unit tests covering resolver, compose resolution, and compose pull.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: add regionless image resolver to envhub SDK

1 participant