-
Notifications
You must be signed in to change notification settings - Fork 692
fix: resources naming #1318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: resources naming #1318
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughThis update synchronizes version numbers across multiple Rust and Python manifests, adjusts Dockerfiles to copy source code earlier in build stages, and refines resource configuration handling in code and documentation. It also adds conditional logic for controller argument generation, modifies error handling in model uniqueness checks, improves resource validation in tests, and updates type annotations for asynchronous tasks. Changes
Sequence Diagram(s)sequenceDiagram
participant Controller as dynamocomponentdeployment_controller.go
participant K8s as Kubernetes
Controller->Controller: Check KubeLabelDynamoComponent label
alt Label == "Planner"
Controller->Controller: Append --<service>.environment=kubernetes to args
else
Controller->Controller: Do not append environment arg
end
Controller->K8s: Generate PodTemplateSpec with args
sequenceDiagram
participant ServiceInfo as ServiceInfo.from_service
participant Config as service.config
ServiceInfo->Config: Check config.image
alt config.image is set
ServiceInfo->ServiceInfo: Use config.image
else
ServiceInfo->ServiceInfo: Use DYNAMO_IMAGE constant
end
ServiceInfo->ServiceInfo: Assert image is not None
ServiceInfo->ServiceInfo: Use config.resources.model_dump()
sequenceDiagram
participant LocalModel as ensure_unique
participant Etcd as network_name.load_entry
LocalModel->Etcd: Attempt to load entry
alt Ok(entry)
LocalModel->LocalModel: Check entry.name != model_name
alt Duplicate
LocalModel->LocalModel: Bail with error
end
else
LocalModel->LocalModel: Ignore error, continue
end
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: .coderabbit.yaml ⛔ Files ignored due to path filters (3)
📒 Files selected for processing (19)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
Overview:
Details:
Where should the reviewer start?
Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to)
Summary by CodeRabbit
New Features
Bug Fixes
Chores
Style
Tests
Documentation