api: adapt hypershift verification test to be multi-module - #83270
api: adapt hypershift verification test to be multi-module#83270patrickdillon wants to merge 1 commit into
Conversation
The hypershift verification test needs to be vendor both the root and api modules.
WalkthroughThe ChangesHypershift integration vendoring
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: patrickdillon The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Retrying #83260 to see if I can get rehearsals to run on this one |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
ci-operator/config/openshift/api/openshift-api-master.yaml (1)
138-143: 🗄️ Data Integrity & Integration | 🔵 Trivial | ⚡ Quick winLet
go mod vendorgeneratevendor/modules.txt.Remove the manual
echoandsedcommands from both vendoring steps.go mod vendorresetsvendorand regeneratesvendor/modules.txt, so these edits are discarded. Thesedcommands also depend on av0.0.0module version. Keep the replacements, then rungo mod tidyandgo mod vendor.🤖 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 `@ci-operator/config/openshift/api/openshift-api-master.yaml` around lines 138 - 143, Remove the manual echo and sed edits targeting vendor/modules.txt from both vendoring steps, leaving the existing replacements intact. Ensure each step runs go mod tidy followed by go mod vendor so the vendor directory and modules.txt are generated automatically.
🤖 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 `@ci-operator/config/openshift/api/openshift-api-master.yaml`:
- Around line 138-143: Remove the manual echo and sed edits targeting
vendor/modules.txt from both vendoring steps, leaving the existing replacements
intact. Ensure each step runs go mod tidy followed by go mod vendor so the
vendor directory and modules.txt are generated automatically.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository YAML (base), Central YAML (inherited)
Review profile: CHILL
Plan: Enterprise
Run ID: d16d125e-f723-4b8d-9107-08c4407b5d06
📒 Files selected for processing (1)
ci-operator/config/openshift/api/openshift-api-master.yaml
|
@patrickdillon: 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. |
|
/pj-rehearse |
|
@patrickdillon: your |
The hypershift verification test needs to be vendor both the root and api modules.
Trying this a second time because rehearsals seem broken on my earlier PR
Summary by CodeRabbit
The Hypershift verification test now supports multi-module repositories. It vendors both the API module and the root module before running
make api test-envtest-api-all. This updates OpenShift CI validation for repositories that use separate root and API Go modules.