fix(release): register instance-cluster-management as a release subproject - #650
fix(release): register instance-cluster-management as a release subproject#650balajinvda wants to merge 1 commit into
Conversation
|
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 (1)
📝 WalkthroughWalkthroughThe pull request adds ChangesRelease service registration
Estimated code review effort: 1 (Trivial) | ~5 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
…oject main has been red since #595. ICMS was imported in #573 with a bazel-java-ci.json declaring component_kind java-service, and #595 then added the assertion that every java-service must be a registered release subproject: AssertionError: 'src/control-plane-services/instance-cluster-management' not found in {...} Neither PR was wrong on its own; the invariant #595 introduced is violated by code #573 had already landed. service_name is icms-service-oss, matching the DOCKER_IMAGE_NAME its pre-Bazel CI published and the nvcf-internal release config registered in that repo's !110. Co-authored-by: Balaji Ganesan <bganesan@nvidia.com>
1fe5a7f to
44c50e7
Compare
There was a problem hiding this comment.
🧹 Nitpick comments (1)
tools/ci/github-release-subprojects.json (1)
220-223: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick winExtend the Java registration assertion to cover the complete entry.
test_java_ci_components_match_registered_subprojectsalready covers this service's registered path. Add an equality assertion forid,path, andservice_name, or reference that test in the PR description if path-only coverage is sufficient.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@tools/ci/github-release-subprojects.json` around lines 220 - 223, Update test_java_ci_components_match_registered_subprojects to assert the complete instance-cluster-management registration, including matching id, path, and service_name for icms-service-oss; only leave path-only coverage if the PR description explicitly references and justifies it.Source: Coding guidelines
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In `@tools/ci/github-release-subprojects.json`:
- Around line 220-223: Update
test_java_ci_components_match_registered_subprojects to assert the complete
instance-cluster-management registration, including matching id, path, and
service_name for icms-service-oss; only leave path-only coverage if the PR
description explicitly references and justifies it.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: 3b97d602-9dfb-4383-ad5d-dc8008a55796
📒 Files selected for processing (1)
tools/ci/github-release-subprojects.json
|
Superseded by #628, closing.
Verified main is green on the assertion this was opened to fix: The only difference between the two entries is |
Pull request was closed
Why
main is red and has been since #595 merged.
ICMS was imported in #573 carrying a
bazel-java-ci.jsonthat declares"component_kind": "java-service". #595 then added the assertion that every java-service must be a registered release subproject, and ICMS never was:Neither PR was wrong on its own. The invariant #595 introduced is violated by code #573 had already landed.
What changed
One entry in
tools/ci/github-release-subprojects.json.service_nameisicms-service-oss, matching theDOCKER_IMAGE_NAMEits pre-Bazel CI published, and matching the release config registered on the nvcf-internal side in that repo's !110.Testing
python3 tools/ci/test-github-release.py-> 20 tests, OK. It fails on main without this change.Notes
This is the source half. The nvcf-internal half (destinations, promote config) merged separately; the two together are what let ICMS actually release.
Summary by CodeRabbit