Skip to content

test: pin func CLI version so config CI workflow test is deterministic - #4034

Merged
knative-prow[bot] merged 1 commit into
knative:mainfrom
pmeida:cherry-pick-4030-to-main
Sep 1, 2026
Merged

test: pin func CLI version so config CI workflow test is deterministic#4034
knative-prow[bot] merged 1 commit into
knative:mainfrom
pmeida:cherry-pick-4030-to-main

Conversation

@pmeida

@pmeida pmeida commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Changes

  • Pin version.Kver in the config CI integration test so the generated workflow's func CLI version is independent of the build environment and branch tags

/kind cleanup

Relates to #4029

Release Note


Docs


The integration test asserted the generated workflow contains
github.DefaultFuncCliVersion, but the command now sources the version
from version.Kver (injected via -ldflags). On release-1.23 the branch's
latest tag is knative-v1.23.1, so the emitted version did not match the
compiled-in default (knative-v1.23.0) and the test failed. Pin
version.Kver in the test so the output is independent of the build/branch.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Matej Vašek <matejvasek@gmail.com>
@knative-prow knative-prow Bot added the kind/cleanup Cleanup label Sep 1, 2026
@knative-prow knative-prow Bot added the size/XS 🤖 PR changes 0-9 lines, ignoring generated files. label Sep 1, 2026
@knative-prow

knative-prow Bot commented Sep 1, 2026

Copy link
Copy Markdown

Hi @pmeida. Thanks for your PR.

I'm waiting for a knative member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Tip

We noticed you've done this a few times! Consider joining the org to skip this step and gain /lgtm and other bot rights. We recommend asking approvers on your previous PRs to sponsor you.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

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.

@knative-prow knative-prow Bot added the needs-ok-to-test 🤖 Needs an org member to approve testing label Sep 1, 2026
@pmeida

pmeida commented Sep 1, 2026

Copy link
Copy Markdown
Contributor Author

/assign @matejvasek

@matejvasek

Copy link
Copy Markdown
Contributor

/approve
/lgtm

@knative-prow knative-prow Bot added the lgtm 🤖 PR is ready to be merged. label Sep 1, 2026
@knative-prow

knative-prow Bot commented Sep 1, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: matejvasek, pmeida

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

@knative-prow knative-prow Bot added the approved 🤖 PR has been approved by an approver from all required OWNERS files. label Sep 1, 2026
@knative-prow
knative-prow Bot merged commit 83fe110 into knative:main Sep 1, 2026
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved 🤖 PR has been approved by an approver from all required OWNERS files. kind/cleanup Cleanup lgtm 🤖 PR is ready to be merged. needs-ok-to-test 🤖 Needs an org member to approve testing size/XS 🤖 PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants