Skip to content

Conversation

@justinsb
Copy link
Contributor

@justinsb justinsb commented Aug 29, 2025

Following what is done in cluster-api-provider-aws, we always use the Makefile apidiff target.

This means we ignore api diffs if the API is not changing.


NONE

Following what is done in cluster-api-provider-aws, we always use the Makefile apidiff target.

This means we ignore api diffs if the API is not changing.
@k8s-ci-robot k8s-ci-robot added do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Aug 29, 2025
@netlify
Copy link

netlify bot commented Aug 29, 2025

Deploy Preview for kubernetes-sigs-cluster-api-gcp ready!

Name Link
🔨 Latest commit ef7fcba
🔍 Latest deploy log https://app.netlify.com/projects/kubernetes-sigs-cluster-api-gcp/deploys/68b198d7514d71000905fd75
😎 Deploy Preview https://deploy-preview-1518--kubernetes-sigs-cluster-api-gcp.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 requested a review from dims August 29, 2025 12:11
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: justinsb

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

The pull request process is described here

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/S Denotes a PR that changes 10-29 lines, ignoring generated files. release-note-none Denotes a PR that doesn't merit a release note. and removed do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. labels Aug 29, 2025
@justinsb
Copy link
Contributor Author

I personally think we want to go further, and ignore packages that are not part of our published contract. For CAPG, I think that is anything that is not under api/. It looks like go-apidiff cannot do that by default, go-apidiff looks like a pretty thing wrapper around golang.org/x/exp/apidiff so we could just write our own. Alternatively we could just do some (more fragile) grep matching.

Background is I that I think we will ignore these diffs anyway, so we aren't getting good signal from the tests. OTOH I do want to see the signal when we change something under api/!

@k8s-ci-robot
Copy link
Contributor

@justinsb: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
pull-cluster-api-provider-gcp-e2e-test ef7fcba link true /test pull-cluster-api-provider-gcp-e2e-test

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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 kubernetes-sigs/prow repository. I understand the commands that are listed here.

@justinsb
Copy link
Contributor Author

I had a go at focusing on just the API changes in #1519

@justinsb
Copy link
Contributor Author

/close

I think #1519 is what we actually want to have a test that gives good signal

@k8s-ci-robot
Copy link
Contributor

@justinsb: Closed this PR.

In response to this:

/close

I think #1519 is what we actually want to have a test that gives good signal

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 kubernetes-sigs/prow repository.

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. release-note-none Denotes a PR that doesn't merit a release note. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants