Skip to content

ci: add concurrency groups to scheduled/update workflows#3551

Open
Ankitsinghsisodya wants to merge 1 commit intoknative:mainfrom
Ankitsinghsisodya:ci/add-concurrency-groups
Open

ci: add concurrency groups to scheduled/update workflows#3551
Ankitsinghsisodya wants to merge 1 commit intoknative:mainfrom
Ankitsinghsisodya:ci/add-concurrency-groups

Conversation

@Ankitsinghsisodya
Copy link
Copy Markdown
Contributor

Closes #3547

Without a concurrency group, if a scheduled run is still in progress when the next one fires both run simultaneously, wasting runner minutes and potentially creating duplicate PRs. Follows the pattern from #3536 which added concurrency to functions.yaml.

Affected workflows: test-podman-next, update-builder, update-python-platform, update-quarkus-platform, update-springboot-platform, update-ca-bundle.

Fixes knative#3547

Without a concurrency group, a new scheduled run starts even if the
previous one is still in progress, wasting runner minutes. Follows the
pattern from knative#3536 which added concurrency to functions.yaml.
Copilot AI review requested due to automatic review settings April 1, 2026 07:28
@knative-prow
Copy link
Copy Markdown

knative-prow bot commented Apr 1, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Ankitsinghsisodya
Once this PR has been reviewed and has the lgtm label, please assign dsimansk 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

@knative-prow knative-prow bot requested review from dsimansk and jrangelramos April 1, 2026 07:28
@knative-prow knative-prow bot added size/S 🤖 PR changes 10-29 lines, ignoring generated files. needs-ok-to-test 🤖 Needs an org member to approve testing labels Apr 1, 2026
@knative-prow
Copy link
Copy Markdown

knative-prow bot commented Apr 1, 2026

Hi @Ankitsinghsisodya. 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.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds GitHub Actions concurrency controls to scheduled/update workflows to prevent overlapping runs (which can waste runner minutes and race on auto-generated PR creation), aligning with the prior pattern introduced in functions.yaml (#3536).

Changes:

  • Add concurrency.group: ${{ github.workflow }}-${{ github.ref }} to the affected scheduled/update workflows.
  • Enable cancel-in-progress: true so newer scheduled/manual runs supersede older in-progress runs for the same workflow+ref.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
.github/workflows/test-podman-next.yaml Adds concurrency group to prevent overlapping scheduled podman-next test runs.
.github/workflows/update-builder.yaml Adds concurrency to avoid redundant hourly builder image update runs.
.github/workflows/update-python-platform.yaml Adds concurrency to avoid overlapping platform update runs that can create duplicate PRs.
.github/workflows/update-quarkus-platform.yaml Adds concurrency to prevent overlapping Quarkus platform update runs.
.github/workflows/update-springboot-platform.yaml Adds concurrency to prevent overlapping Spring Boot platform update runs.
.github/workflows/update-ca-bundle.yaml Adds concurrency to prevent overlapping CA bundle update runs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 56.23%. Comparing base (e92b074) to head (5460d73).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3551      +/-   ##
==========================================
+ Coverage   55.52%   56.23%   +0.71%     
==========================================
  Files         180      180              
  Lines       20465    20465              
==========================================
+ Hits        11363    11509     +146     
+ Misses       7902     7756     -146     
  Partials     1200     1200              
Flag Coverage Δ
e2e 36.11% <ø> (-4.07%) ⬇️
e2e go 32.55% <ø> (ø)
e2e node 28.36% <ø> (ø)
e2e python 32.91% <ø> (ø)
e2e quarkus 28.47% <ø> (-0.02%) ⬇️
e2e rust 27.92% <ø> (ø)
e2e springboot 26.38% <ø> (+0.02%) ⬆️
e2e typescript 28.47% <ø> (ø)
e2e-config-ci 18.14% <ø> (ø)
integration 17.40% <ø> (ø)
unit macos-14 43.37% <ø> (ø)
unit macos-latest 43.37% <ø> (ø)
unit ubuntu-24.04-arm 43.57% <ø> (ø)
unit ubuntu-latest 44.25% <ø> (ø)
unit windows-latest 43.39% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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

Labels

needs-ok-to-test 🤖 Needs an org member to approve testing size/S 🤖 PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci: add concurrency groups to scheduled/update workflows

2 participants