Skip to content

ci: allow manual E2E runs via workflow_dispatch#98

Merged
fredespi merged 2 commits into
mainfrom
ci-manual-e2e
Jul 10, 2026
Merged

ci: allow manual E2E runs via workflow_dispatch#98
fredespi merged 2 commits into
mainfrom
ci-manual-e2e

Conversation

@fredespi

Copy link
Copy Markdown
Collaborator

Summary

  • Add a workflow_dispatch trigger to ci.yml with platform and tier inputs so the E2E jobs on the self-hosted GPU runners can be run on demand against any ref, without a push or the full pipeline.
  • A manual dispatch skips build-and-test for a fast iteration loop. Nothing on the default branch depends on that job, so skipping it is safe.

Why

A workflow_dispatch workflow is only dispatchable if the trigger exists on the default branch. Landing it here makes ci.yml dispatchable; the E2E jobs that consume these inputs live on their own branch and are exercised by dispatching against that ref (gh workflow run ci.yml --ref <branch> -f platform=... -f tier=...).

Scope

  • Only the trigger mechanism + inputs + the build-and-test skip. The default branch currently has no E2E jobs to guard; those are added on a separate branch which mirrors this identical on: block.

Test plan

  • YAML valid, actionlint clean
  • Verified no job on the default branch needs: build-and-test
  • After merge: confirm the workflow appears under Actions → Run workflow

fredespi added 2 commits July 10, 2026 15:38
Add a workflow_dispatch trigger with platform and tier inputs so the E2E jobs on
the self-hosted GPU runners can be run on demand against any ref, without a push
or the full pipeline. A manual dispatch skips build-and-test for a fast loop;
nothing on the default branch depends on that job, so skipping it is safe here.

The trigger must exist on the default branch for the workflow to be dispatchable
at all; the E2E jobs that consume these inputs live on their own branch and are
run by dispatching against that ref.

Signed-off-by: fredespi <fredrik.espinoza@gmail.com>
Include the mock E2E tier as a manually selectable target so a dispatch can run
the full E2E matrix (mock + GPU), matching the guard set on the E2E jobs.

Signed-off-by: fredespi <fredrik.espinoza@gmail.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR makes the repository’s main CI workflow manually runnable via workflow_dispatch, primarily to support on-demand E2E runs (on a separate ref/branch that contains the E2E jobs) without requiring a push/PR event.

Changes:

  • Added a workflow_dispatch trigger to .github/workflows/ci.yml with platform and tier choice inputs.
  • Skipped the build-and-test job when the workflow is manually dispatched (workflow_dispatch) to enable a faster manual iteration path.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@fredespi fredespi added this pull request to the merge queue Jul 10, 2026
Merged via the queue into main with commit 3e9ec2b Jul 10, 2026
16 checks passed
@fredespi fredespi deleted the ci-manual-e2e branch July 10, 2026 14:10
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