Details
-
Enhancement
-
Resolution: Fixed
-
P4
-
11, 17, 18, 19
-
b11
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8283213 | 18.0.2 | Aleksey Shipilev | P4 | Resolved | Fixed | b02 |
JDK-8282977 | 17.0.4 | Aleksey Shipilev | P4 | Resolved | Fixed | b01 |
JDK-8282959 | 11.0.16 | Aleksey Shipilev | P4 | Resolved | Fixed | b01 |
JDK-8284487 | openjdk8u342 | Andrew Hughes | P4 | Resolved | Fixed | b01 |
JDK-8293276 | shenandoah8u332 | Andrew Hughes | P4 | Resolved | Fixed | b01 |
Description
https://github.blog/changelog/2021-04-19-github-actions-limit-workflow-run-or-job-concurrency/
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
Our GHA workflows trigger on every PR update, sometimes doing multiple runs per PR. This is seldom useful and wastes resources with our very large jobs. For example, one can push a commit, quickly realize there is a mistake, push another commit, and this would do *two* GHA runs, both taking many hours.
I think we can say that only one run per branch is good, and all running/pending runs should be cancelled when a new run starts.
Attachments
Issue Links
- backported by
-
JDK-8282959 GHA: Allow one concurrent run per PR only
- Resolved
-
JDK-8282977 GHA: Allow one concurrent run per PR only
- Resolved
-
JDK-8283213 GHA: Allow one concurrent run per PR only
- Resolved
-
JDK-8284487 GHA: Allow one concurrent run per PR only
- Resolved
-
JDK-8293276 GHA: Allow one concurrent run per PR only
- Resolved
- links to
-
Commit openjdk/jdk8u-dev/10029f78
-
Commit openjdk/jdk11u-dev/194b66f6
-
Commit openjdk/jdk17u-dev/863631fa
-
Commit openjdk/jdk18u/92d2de6e
-
Commit openjdk/jdk/aaab2cb4
-
Commit openjdk/shenandoah-jdk8u/6305c6ff
-
Review openjdk/jdk8u-dev/3
-
Review openjdk/jdk11u-dev/870
-
Review openjdk/jdk17u-dev/224
-
Review openjdk/jdk18u/37
-
Review openjdk/jdk/7570
-
Review openjdk/shenandoah-jdk8u/3