Preserve original prow job names in PG provider - #3863
Conversation
The PG data provider for component readiness was overwriting the ProwJob field on TestJobRunRows with the normalized name (X.X), while the BQ provider correctly preserved the original name. The normalized name is only needed as the map key for cross-release grouping; the ProwJob field is used for display and regression tracking and should retain the literal version number. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Pipeline controller notification For optional jobs, comment This repository is configured in: automatic mode |
|
@mstaeble: This pull request references TRT-2821 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 story to target the "5.0.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. |
WalkthroughThe provider now preserves original Prow job names in result rows while continuing to group results by normalized names. The integration test verifies that version-specific names remain preserved after merging. ChangesComponent readiness job results
Estimated code review effort: 1 (Trivial) | ~5 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 21✅ Passed checks (21 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 |
|
Scheduling required tests: |
|
@mstaeble: No Jira issue is referenced in the title of this pull request. 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. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mstaeble, smg247 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 |
|
@mstaeble: all tests passed! 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. |
Summary
ProwJobfield onTestJobRunRowswith the normalized name (X.X) instead of preserving the original version number (e.g.,4.22). The BQ provider already preserved the original name correctly.ProwJobfield flows to the test details API response (displayed on the frontend) and intoRegressionJobRunrecords, so it should retain the literal version number.Test plan
gofmt -won modified filesgo vetpassesgo test ./pkg/api/componentreadiness/...)make integration)🤖 Generated with Claude Code
Summary by CodeRabbit
Bug Fixes
Tests