OTA-2110: remove cluster_id from LLM-bound readiness payload - #1451
OTA-2110: remove cluster_id from LLM-bound readiness payload#1451jrangelramos wants to merge 1 commit into
Conversation
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
@jrangelramos: This pull request references OTA-2110 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the weakness to target the "5.1.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
💤 Files with no reviewable changes (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. WalkthroughThe readiness result no longer includes ChangesReadiness payload
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to This localized change removes an unnecessary cluster identifier from the readiness payload while retaining it in resource metadata for audit purposes; no actionable merge-blocking risk remains after normal checks and review. 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
The cluster UUID (spec.clusterID) adds no analytical value for upgrade risk assessment and creates an unnecessary correlation surface at the LLM provider. The identifier is already available in CR metadata for audit purposes. Fixes: https://redhat.atlassian.net/browse/OTA-2110 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
5621995 to
d0e3219
Compare
|
Scheduling tests matching the |
|
@jrangelramos: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ankitathomas, jhadvig, jrangelramos, wking The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/verified by @jrangelramos Before $ oc get agenticrun ota-5-0-0-ec-5-to-5-0-1 -o yaml | grep cluster_id | jq '.checks["cluster_conditions"].cluster_id'
"f4866a85-4db2-4774-a60a-88e4045ccc6e"After $ oc get agenticrun ota-5-0-0-ec-5-to-5-0-1 -o yaml | grep cluster_id | wc -c
0 |
|
@jrangelramos: This PR has been marked as verified by DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
| @@ -471,9 +471,6 @@ func TestClusterConditionsCheck(t *testing.T) { | |||
| if result["channel"] != "stable-4.21" { | |||
There was a problem hiding this comment.
: [Jira:"Cluster Version Operator"] cluster-version-operator readiness checks should report cluster conditions matching ClusterVersion status expand_less 1s
{ fail [github.com/openshift/cluster-version-operator/test/cvo/readiness.go:227]: cluster ID should match ClusterVersion spec
Expected
<nil>: nil
to equal
<string>: 9b552191-222f-4b1a-bcbf-6b14d81a8265}
which points out that you'll also want to remove this:
$ git grep -B1 'cluster ID should match' origin/pr/1451
origin/pr/1451:test/cvo/readiness.go- o.Expect(result.Data["cluster_id"]).To(o.Equal(string(cv.Spec.ClusterID)),
origin/pr/1451:test/cvo/readiness.go: "cluster ID should match ClusterVersion spec")/hold
Summary
cluster_id(spec.clusterID) from the readiness JSON sent to the LLM in agentic runsReferences
Test plan
go test ./pkg/readiness/passes🤖 Generated with Claude Code
Summary by CodeRabbit