Skip to content

Fix 500 server error when re-applying replica groups service#3678

Open
Bihan wants to merge 1 commit intodstackai:masterfrom
Bihan:issue_3676_fix_replica_groups_500_error
Open

Fix 500 server error when re-applying replica groups service#3678
Bihan wants to merge 1 commit intodstackai:masterfrom
Bihan:issue_3676_fix_replica_groups_500_error

Conversation

@Bihan
Copy link
Collaborator

@Bihan Bihan commented Mar 19, 2026

Fixes #3676
Move the top-level resources check out of the model validator and perform it on the server, inside validate_run_spec_and_set_defaults, before set_resources_defaults and set_gpu_vendor_default run. This keeps the same validation rule but evaluates it before any mutations, so valid configs no longer fail.

@Bihan Bihan requested a review from r4victor March 19, 2026 10:15
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.

[Bug]: 500 server error when re-applying replica groups service

2 participants