Skip to content

Studio Frontend Build: scope push trigger to version branches (fix cancelled (push) checks) - #3929

Draft
berfinyuksel wants to merge 1 commit into
2026.2from
fix/sfb-push-trigger-scope-2026.2
Draft

Studio Frontend Build: scope push trigger to version branches (fix cancelled (push) checks)#3929
berfinyuksel wants to merge 1 commit into
2026.2from
fix/sfb-push-trigger-scope-2026.2

Conversation

@berfinyuksel

Copy link
Copy Markdown
Contributor

Problem

Studio Frontend Build triggers on both push and pull_request. On a PR branch, both events fire and resolve to the same concurrency group (studio-frontend-build-<branch>), so cancel-in-progress cancels one — showing up as cancelled (push) checks and a red "Some checks were not successful" on the PR, even though the pull_request run passed. Confusing for everyone opening PRs.

Fix

Scope the push trigger to version branches (which have no PR and still need build+commit). Feature/PR branches are covered by pull_request. Result: each branch triggers exactly one run — visible, green, no self-cancellation, and no non-fast-forward race.

No behavior loss: a feature branch just builds via its PR instead of via a redundant push run.

Part of the studio frontend CI standardization (pimcore/product-management#1302).

The build workflow triggered on both push and pull_request. On a PR branch both
events fire and resolve to the same concurrency group, so cancel-in-progress
cancels one of them — surfacing as confusing cancelled "(push)" checks and a red
"some checks were not successful" on PRs even though the pull_request run passed.

Scope the push trigger to version branches (which have no PR); PR/feature branches
are covered by pull_request. Each branch now triggers exactly one run: visible,
green, no self-cancellation, and no non-fast-forward race.
Copilot AI review requested due to automatic review settings July 23, 2026 09:07
@berfinyuksel
berfinyuksel requested a review from bluvulture as a code owner July 23, 2026 09:07
@berfinyuksel berfinyuksel added this to the 2026.2.2 milestone Jul 23, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Scopes frontend build push events to version branches, preventing duplicate PR builds and concurrency cancellations.

Changes:

  • Adds version-branch filters for 2026.x- and 2026.2-style branches.
  • Documents why feature branches rely on pull_request.

@sonarqubecloud

Copy link
Copy Markdown

@berfinyuksel
berfinyuksel marked this pull request as draft July 23, 2026 10:21
@berfinyuksel
berfinyuksel marked this pull request as ready for review July 24, 2026 08:31
@berfinyuksel
berfinyuksel marked this pull request as draft July 24, 2026 09:40
@robertSt7 robertSt7 modified the milestones: 2026.2.2, 2026.2.3 Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants