Skip to content

feat: add scenarios field to space resources and support auto allocate sandbox resource#1255

Merged
HaiHui886 merged 1 commit into
mainfrom
sync_mr_2710_65d9a52
Jul 9, 2026
Merged

feat: add scenarios field to space resources and support auto allocate sandbox resource#1255
HaiHui886 merged 1 commit into
mainfrom
sync_mr_2710_65d9a52

Conversation

@Rader

@Rader Rader commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Summary:

  • Added a scenarios field to space_resources and updated related types to enable marking resources with specific use cases like "sandbox".
  • Implemented automatic sandbox resource allocation that selects the optimal resource based on minimum CPU/memory requirements when resource_id is not specified.
  • Ensures backward compatibility by maintaining existing logic when a specific resource_id is provided during sandbox creation.

@Rader

Rader commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator Author

Depends on #1254

@HaiHui886 HaiHui886 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@HaiHui886
HaiHui886 merged commit 8637790 into main Jul 9, 2026
7 checks passed
@HaiHui886
HaiHui886 deleted the sync_mr_2710_65d9a52 branch July 9, 2026 06:17
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.

3 participants