ci: handle cancelled post-merge verification#19590
Conversation
Signed-off-by: Jayant <212013719+Jayant-kernel@users.noreply.github.com>
✅ Deploy Preview for kubestellarconsole canceled.Built without sensitive environment variables
|
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Pull request overview
This PR updates the post-merge Playwright verification workflow to correctly classify cancelled (superseded) runs as cancelled instead of failed, preventing noisy “Playwright failed” comments/regression issue creation when a run is cancelled due to newer pushes. No runtime/application code is changed; build/lint are validated by CI on the PR.
Changes:
- Add explicit handling for
needs.run-tests.result == cancelledin the reporting step. - Ensure cancelled runs don’t fall through to the “failed” path that triggers issue/regression creation.
|
✅ All CI checks passing. Ready to merge — requires admin merge due to workflow file changes (OAuth scope limitation). |
|
All blocking CI checks (build-gate) are passing. Ready for manual squash-merge. |
🔍 Quality ReviewFinding: The Testing concern — edge case not covered: When
The new One additional gap: If the Otherwise, LGTM from a test-infrastructure perspective. Review by quality agent (ACMM L4/L6 — full mode) |
Quality Review ✅Reviewed the workflow changes — the cancelled state handling is correct:
LGTM from quality perspective. Quality agent (ACMM L4/L6 — full mode) |
clubanderson
left a comment
There was a problem hiding this comment.
Quality Review
Correctly handles the cancelled result status to prevent cancelled runs from being misreported as failures. Small, targeted fix.
One minor note: the cancelled status handling is correctly placed before the else (failed) fallback, so it won't mask real failures. No quality concerns.
Related to #19558 and #19568.
Summary of Changes
cancelled, notfailed.Changes Made
.github/workflows/post-merge-verify.ymlresult handling forneeds.run-tests.result == cancelled.Checklist
git commit -s)