fix(operator): allow component-scoped topology - #12448
Conversation
|
👋 Hi alexeldeib! Thank you for contributing to ai-dynamo/dynamo. Just a reminder: The 🚀 |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (2)
WalkthroughThe DynamoGraphDeployment validator now recognizes topology constraints at both deployment and component scope. Missing pack-domain validation and environment-test expectations were updated accordingly. ChangesTopology validation
Estimated code review effort: 2 (Simple) | ~10 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 golangci-lint (2.12.2)level=error msg="[linters_context] typechecking error: pattern ./...: directory prefix . does not contain main module or its selected dependencies" Comment |
dc83c5a to
8c787c2
Compare
8c787c2 to
25950c0
Compare
|
/ok to test 25950c0 |
Signed-off-by: Ace Eldeib <aeldeib@coreweave.com>
25950c0 to
8ef5c1f
Compare
|
/ok to test 8ef5c1f |
Overview
Align DGD webhook validation with the existing component-scoped topology design. This allows GPU workers to be rack-packed while CPU frontends and auxiliary components remain topology-free.
Details
packDomainwhen at least one component defines its own topology constraint.packDomainnor any component-scoped constraint.This matches the documented service-level-only topology behavior and the existing Grove render path.
Where should the reviewer start?
deploy/operator/internal/webhook/validation/dynamographdeployment.godeploy/operator/internal/webhook/validation/dynamographdeployment_validation_envtest_test.goValidation
make envtest ENVTEST_PACKAGES=./internal/webhook/validationgo vet ./internal/webhook/validationRelated Issues
🔗 This PR is linked to an issue:
Related design: ai-dynamo/enhancements#69
Summary by CodeRabbit