Skip to content

feat(admin): add GET /server/config endpoint (#1109)#1111

Open
Issac-Newton wants to merge 1 commit into
alibaba:masterfrom
Issac-Newton:feature/server-config
Open

feat(admin): add GET /server/config endpoint (#1109)#1111
Issac-Newton wants to merge 1 commit into
alibaba:masterfrom
Issac-Newton:feature/server-config

Conversation

@Issac-Newton

Copy link
Copy Markdown
Collaborator

Summary

  • Add ImageRegistryConfig and ServerConfig dataclasses for platform public config
  • Add GET /server/config endpoint on proxy role, returning image registries and builder image
  • Add server section in rock-local.yml with image_registries list and builder_image

fixes #1109

Test plan

  • Unit tests added (TestGetServerConfig — multiple registries + empty case)
  • uv run ruff check passes
  • uv run pytest tests/unit/sandbox/test_sandbox_proxy.py passes

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Issac-Newton Issac-Newton force-pushed the feature/server-config branch from c0006b4 to 128e7db Compare June 16, 2026 10:01
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 GET /server/config endpoint for public platform config

1 participant