Skip to content

Enable workflow_dispatch for CI #657

@SorraTheOrc

Description

@SorraTheOrc

Problem statement

Add a workflow_dispatch trigger to the CI workflow so developers can manually re‑run CI on any ref via API/CLI.

Users

Developers who need to re‑run CI for debugging, testing, or verification purposes.

Success criteria

  • workflow_dispatch entry is present in .github/workflows/tui-tests.yml.
  • Existing pull_request trigger continues to function unchanged.
  • CI can be started manually using the GitHub UI or gh workflow run without errors.
  • The workflow runs to completion on a manually dispatched ref.

Constraints

None.

Existing state

The CI workflow (.github/workflows/tui-tests.yml) currently triggers only on pull_request events; no manual dispatch capability exists.

Desired change

Add a top‑level workflow_dispatch: key to .github/workflows/tui-tests.yml (and any other CI workflow files as appropriate) preserving existing triggers.

Related work

  • Work item WL-0MM5J7OC31PFBW60 – Diagnostic test instrumentation (logs‑only) (mentions using workflow_dispatch for manual CI runs).
  • File .github/workflows/run-npm-tests.yml – contains an example workflow_dispatch entry.
  • Work item WL-0MLC7I1V31X2NCIV – current work item.

Risks & assumptions

  • Risk: Developers may manually trigger many CI runs, increasing load on CI resources.
    Mitigation: Encourage use only when needed and monitor CI usage.
  • Assumption: The CI infrastructure supports manual dispatches on any branch.

Related work (automated report)

  • WL-0MM5J7OC31PFBW60 – Diagnostic test instrumentation (logs‑only): mentions using workflow_dispatch to manually run a CI job for diagnostics.
  • .github/workflows/run-npm-tests.yml – example workflow file containing a workflow_dispatch entry, useful as a reference for proper syntax.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions