ci(e2e): always report status on PRs and merge queue - #1988
Conversation
Remove path filters from pull_request trigger and add merge_group trigger so the e2e job always reports a status. When no e2e-relevant files changed, the job short-circuits after checking the PR file list via the GitHub API. This lets the e2e check be made a required status check without blocking docs-only or other non-code PRs from the merge queue. Push-to-main keeps its path filters since it doesn't gate the merge queue. Closes #1987 Assisted-by: Claude claude-opus-4-6 <noreply@anthropic.com> Signed-off-by: Ralph Bean <rbean@redhat.com>
Site previewPreview: https://2a77d38b-site.fullsend-ai.workers.dev Commit: |
ReviewFindingsMedium
Low
Info
|
rh-hemartin
left a comment
There was a problem hiding this comment.
At least filter out docs/ and web/
|
@rh-hemartin what do you mean? Do you see some way that those will make it through the filter on line 43? The idea here is that we always run the e2e gh workflow, but sometimes that workflow exits early if there's nothing meaningful to test in the change set. With this, we can make the e2e test a required check because it "always runs" even though many times it won't run anything of substance. |
rh-hemartin
left a comment
There was a problem hiding this comment.
Sorry, I just commented based on the removal of paths, but didn't go far into it to see that there was a filter. Just recheked and I looked just at the top half of my monitor lol.
|
🤖 Finished Retro · ✅ Success · Started 5:44 PM UTC · Completed 5:49 PM UTC |
Retro: PR #1988 — ci(e2e): always report status on PRs and merge queueWorkflow quality: Good. This was a clean, human-authored CI change that went through one review cycle and merged without code rework. Timeline
Assessment
Proposals filed
|
Remove `paths:` filter from `pull_request_target` so the e2e workflow triggers on all PRs. Add a "Check for e2e-relevant changes" step that queries the PR's changed files via the API and short-circuits when no e2e-relevant paths are touched. This ensures the `e2e` required check always reports a status, unblocking docs-only and config-only PRs from the merge queue. This restores the approach from fullsend-ai#1988 which was inadvertently lost when the e2e workflow was refactored to use pull_request_target with a gate/e2e job split. Fixes fullsend-ai#1989 Assisted-by: Claude claude-opus-4-6 <noreply@anthropic.com> Signed-off-by: Ralph Bean <rbean@redhat.com>
Summary
pathsfilters from thepull_requesttrigger ine2e.ymlso the e2e job always runs and reports a statusmerge_grouptrigger so e2e can be used as a required check in the merge queueThis unblocks making
e2ea required status check without blocking docs-only or non-code PRs. Push-to-main keeps its path filters since it doesn't gate the merge queue.Closes #1987
Test plan
🤖 Generated with Claude Code