Skip to content

[CI] Fail workflow when E2E tests fail#4377

Open
shangeyao wants to merge 1 commit into
apache:devfrom
shangeyao:fix/ci-e2e-result-exit-code
Open

[CI] Fail workflow when E2E tests fail#4377
shangeyao wants to merge 1 commit into
apache:devfrom
shangeyao:fix/ci-e2e-result-exit-code

Conversation

@shangeyao

Copy link
Copy Markdown
Contributor

Summary

  • Change the E2E - Result job to exit 1 when needs.e2e.result is not success, so E2E failures block PR merges.

Closes #4376

Test plan

  • Verify a failing E2E run marks the result job as failed
  • Verify skipped E2E (paths-filter) still exits 0

Made with Cursor

The E2E result job previously exited 0 on failure, allowing PRs to merge
even when end-to-end tests did not pass.

Closes apache#4376

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions github-actions Bot added the INFRA label Jun 25, 2026
@sonarqubecloud

Copy link
Copy Markdown

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] E2E result job exits 0 when E2E tests fail

1 participant