project-infra icon indicating copy to clipboard operation
project-infra copied to clipboard

New release branch presubmits are missing `run_before_merge: true`

Open brianmcarey opened this issue 1 year ago • 5 comments

This field was added to the main branch presubmit jobs to enable use of the phased plugin - the phased plugin does not target release branches and the run_before_merge field is missing from the recent v1.3 presubmit job config[1].

This issue can cause backport PRs to merge without having the full suite of CI test lanes run successfully[2].

[1] https://github.com/kubevirt/project-infra/pull/3477 [2] https://prow.ci.kubevirt.io/pr-history/?org=kubevirt&repo=kubevirt&pr=12132

brianmcarey avatar Jun 19 '24 08:06 brianmcarey

cc @oshoval @dhiller

brianmcarey avatar Jun 19 '24 08:06 brianmcarey

Thanks

We can either take this PR https://github.com/kubevirt/project-infra/pull/3126 - imo it is the best do those manually upon forking (change to always_run = true), or add the run_before_merge or upgrade prow utils so they will have the new field in the struct (but for that Bazel did problems) we can also introduce dummy struct with the new field inline and use it

supporting phased on branches wont help because we do need run_before_merge and to consider branch protection (unless we develop phased plugin deeper to not miss events and so on)

oshoval avatar Jun 19 '24 08:06 oshoval

FYI @xpivarc

We need to take that into account next release at the latest!

dhiller avatar Jun 19 '24 12:06 dhiller

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

/lifecycle stale

kubevirt-bot avatar Sep 17 '24 13:09 kubevirt-bot

/remove-lifecycle stale
/lifecycle frozen

dhiller avatar Sep 17 '24 13:09 dhiller

Preconditions to fixing this is the upgrade of the test-infra/prow dependencies. There's https://github.com/kubevirt/project-infra/pull/3522 moving project-infra to use vendoring, which should enable us to do the former.

dhiller avatar Dec 30 '24 09:12 dhiller