Skip to content

Run selftest on merge queue groups - #48

Draft
rominf wants to merge 1 commit into
mainfrom
selftest-merge-group
Draft

rominf wants to merge 1 commit into
mainfrom
selftest-merge-group

Conversation

@rominf

@rominf rominf commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator

Why

main has a merge queue, but selftest only triggers on push, pull_request and workflow_dispatch. A queued merge group never starts those workflows, so once the selftest jobs are required checks, every queue entry waits for the queue's check timeout and is then removed.

What changes

selftest.yml gains the merge_group trigger, so the queue's temporary merge-group branch runs the same four jobs (unused imports, unit tests, sandbox machinery, action smoke test) that a pull request does.

Verification

Nothing in selftest.yml reads github.event.pull_request.* or the PR head/base refs, so the jobs behave the same under a merge_group event. The trigger itself can only be exercised by a real queue entry; that is not verified here.

Scope

The workflow does not decide which checks the queue requires; that is branch protection. reusable.yml and skill-evals.yml are workflow_call-only and unchanged.

main has a merge queue, but selftest only triggers on push, pull_request and workflow_dispatch. A queued merge group therefore never gets selftest checks, so once those checks are required the entry waits for the queue's check timeout and is removed. Add the merge_group trigger so the queue can run them.

Signed-off-by: Roman Inflianskas <Roman.Inflianskas@amd.com>
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.

1 participant