This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/struts.git

commit 6ad8d09c0091da5b9d053fff3b623853f45a39c0
Merge: 362151425 26cedce9e
Author: Lukasz Lenart <[email protected]>
AuthorDate: Wed Oct 14 13:40:29 2026 +0200

    build(ci): detect changes in-job and cancel superseded PR runs (#2010)
    
    The change detection ran as a job of its own that every build job
    needed, so each build queued twice on the shared ASF runner pool: once
    for the two-second detection job, then again for its own runner. Over
    the last ~40 runs that first wait averaged 37 minutes (max 97) before
    a build job could even enter the queue.
    
    Detection now runs as a step at the start of each job, from a local
    composite action, and gates the remaining steps. Each job queues once.
    
    Every workflow also gets a concurrency group: a new push to a pull
    request cancels the superseded run, while pushes get a group per run
    so no branch build is dropped.
    
    Co-authored-by: Claude Opus 5.5 <[email protected]>

 .github/actions/detect-changes/action.yml | 94 +++++++++++++++++++++++++++++++
 .github/workflows/changes.yml             | 93 ------------------------------
 .github/workflows/codeql.yml              | 22 +++++---
 .github/workflows/maven.yml               | 21 ++++---
 .github/workflows/owasp.yml               | 26 +++++----
 .github/workflows/sonar.yml               | 19 ++++---
 Jenkinsfile                               |  2 +-
 7 files changed, 149 insertions(+), 128 deletions(-)

Reply via email to