Skip to content

Comments

Speedup make test-integration by avoiding generate-code#9363

Open
gabesaba wants to merge 1 commit intokubernetes-sigs:mainfrom
gabesaba:integ
Open

Speedup make test-integration by avoiding generate-code#9363
gabesaba wants to merge 1 commit intokubernetes-sigs:mainfrom
gabesaba:integ

Conversation

@gabesaba
Copy link
Contributor

What type of PR is this?

/kind cleanup

What this PR does / why we need it:

Reverts the unintended side effect of #8988, which fixed a race condition in make verify -j (#8906) but inadvertently slowed down integration tests. This refines the fix by scoping the ordering constraint to the verify flow only.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?

NONE

…ests

Move the ordering constraint into verify-helm-prereqs instead, so that
make verify -j remains race-free without penalising make test-integration.
@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. labels Feb 19, 2026
@netlify
Copy link

netlify bot commented Feb 19, 2026

Deploy Preview for kubernetes-sigs-kueue ready!

Name Link
🔨 Latest commit 7d8ab24
🔍 Latest deploy log https://app.netlify.com/projects/kubernetes-sigs-kueue/deploys/6996e79ceabd87000880d824
😎 Deploy Preview https://deploy-preview-9363--kubernetes-sigs-kueue.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Feb 19, 2026
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gabesaba

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Feb 19, 2026
@gabesaba
Copy link
Contributor Author

cc @vladikkuzn @mbobrovskyi


.PHONY: manifests
manifests: controller-gen generate-code ## Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects.
manifests: controller-gen ## Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far I remember generate-code is required for manifest.

/cc @vladikkuzn

##@ Development

.PHONY: manifests
manifests: controller-gen generate-code ## Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feels risky, and it is not self-explanatory impact to perf of running integration tests.

Instead of optimizing manifests could we rather have a dedicated goal run-test-integration which would skip manifests and code-generation, basically assuming a developer did all of that before, wdyt?

.PHONY: verify-helm-prereqs
verify-helm-prereqs: ## Prerequisites for Helm checks.
verify-helm-prereqs: compile-crd-manifests update-helm generate-helm-docs prepare-release-branch
verify-helm-prereqs: verify-go-prereqs compile-crd-manifests update-helm generate-helm-docs prepare-release-branch
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how is that related. or a drive-by cleanup?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. release-note-none Denotes a PR that doesn't merit a release note. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants