Skip to content

Revert "add skip_cloning to periodics which don't need source code" + "add extra_refs to every periodic job that doesn't have it"#37042

Open
pohly wants to merge 1 commit into
kubernetes:masterfrom
pohly:revert-extra-refs
Open

Revert "add skip_cloning to periodics which don't need source code" + "add extra_refs to every periodic job that doesn't have it"#37042
pohly wants to merge 1 commit into
kubernetes:masterfrom
pohly:revert-extra-refs

Conversation

@pohly
Copy link
Copy Markdown
Contributor

@pohly pohly commented May 15, 2026

This reverts commits

  • 0712a63 "add extra_refs to every periodic job that doesn't have it"
  • 37c0d10 "add skip_cloning to periodics which don't need source code"

Adding extra_refs was meant to add information about the branch and repo to the Pod labels. But that has side effects:

  • Causes extra work in all jobs for checking out source code.
  • Causes testgrid to show the checked out source code revision, which is not necessarily the same as the code under test.

The second commit avoided the overhead, but then testgrid started showing e.g. "master" instead of some revision. Ultimately the right approach is to not use extra_ref (this PR) and add labels differently (in some future PR).

In addition to the reverts above, some manual cleanup was also needed, like removing the TestReposBeingSet test.

/assign @BenTheElder
/cc @upodroid

@k8s-ci-robot k8s-ci-robot requested a review from upodroid May 15, 2026 16:17
@k8s-ci-robot k8s-ci-robot added area/config Issues or PRs related to code in /config size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. area/conformance Issues or PRs related to kubernetes conformance tests area/jobs area/provider/aws Issues or PRs related to aws provider area/provider/gcp Issues or PRs related to gcp provider area/release-eng Issues or PRs related to the Release Engineering subproject sig/architecture Categorizes an issue or PR as relevant to SIG Architecture. sig/cli Categorizes an issue or PR as relevant to SIG CLI. sig/cloud-provider Categorizes an issue or PR as relevant to SIG Cloud Provider. sig/contributor-experience Categorizes an issue or PR as relevant to SIG Contributor Experience. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. sig/k8s-infra Categorizes an issue or PR as relevant to SIG K8s Infra. sig/network Categorizes an issue or PR as relevant to SIG Network. sig/node Categorizes an issue or PR as relevant to SIG Node. sig/release Categorizes an issue or PR as relevant to SIG Release. sig/scalability Categorizes an issue or PR as relevant to SIG Scalability. labels May 15, 2026
@k8s-ci-robot k8s-ci-robot added sig/storage Categorizes an issue or PR as relevant to SIG Storage. sig/testing Categorizes an issue or PR as relevant to SIG Testing. labels May 15, 2026
@pohly pohly force-pushed the revert-extra-refs branch from 81849fa to d65784d Compare May 15, 2026 18:38
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: pohly
Once this PR has been reviewed and has the lgtm label, please ask for approval from bentheelder and additionally assign xmudrii for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

@pohly pohly force-pushed the revert-extra-refs branch from d65784d to ef80bbc Compare May 15, 2026 19:02
… "add extra_refs to every periodic job that doesn't have it"

This reverts commits
- 0712a63 "add extra_refs to every periodic job that doesn't have it"
- 37c0d10 "add skip_cloning to periodics which don't need source code"

Adding extra_refs was meant to add information about the branch and repo to the
Pod labels. But that has side effects:
- Causes extra work in all jobs for checking out source code.
- Causes testgrid to show the checked out source code revision,
  which is not necessarily the same as the code under test.

The second commit avoided the overhead, but then testgrid started showing
e.g. "master" instead of some revision. Ultimately the right approach is to not
use extra_ref (this PR) and add labels differently (in some future PR).

In addition to the reverts above, some manual cleanup was also needed, like
removing the TestReposBeingSet test.
@pohly pohly force-pushed the revert-extra-refs branch from ef80bbc to 1b58cf3 Compare May 15, 2026 19:18
@pohly pohly changed the title Revert "make: fix prepare-release-branch when default shell is not bash" + "add extra_refs to every periodic job that doesn't have it" Revert "add skip_cloning to periodics which don't need source code" + "add extra_refs to every periodic job that doesn't have it" May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/config Issues or PRs related to code in /config area/conformance Issues or PRs related to kubernetes conformance tests area/jobs area/provider/aws Issues or PRs related to aws provider area/provider/gcp Issues or PRs related to gcp provider area/release-eng Issues or PRs related to the Release Engineering subproject cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. sig/architecture Categorizes an issue or PR as relevant to SIG Architecture. sig/cli Categorizes an issue or PR as relevant to SIG CLI. sig/cloud-provider Categorizes an issue or PR as relevant to SIG Cloud Provider. sig/contributor-experience Categorizes an issue or PR as relevant to SIG Contributor Experience. sig/k8s-infra Categorizes an issue or PR as relevant to SIG K8s Infra. sig/network Categorizes an issue or PR as relevant to SIG Network. sig/node Categorizes an issue or PR as relevant to SIG Node. sig/release Categorizes an issue or PR as relevant to SIG Release. sig/scalability Categorizes an issue or PR as relevant to SIG Scalability. sig/storage Categorizes an issue or PR as relevant to SIG Storage. sig/testing Categorizes an issue or PR as relevant to SIG Testing. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

Development

Successfully merging this pull request may close these issues.

3 participants