M5: Workflow runs (list + re-run/cancel/trigger)#292
Draft
michaeljolley wants to merge 1 commit into
Draft
Conversation
Add a repository-scoped Workflow Runs page (DynamicListPage keyed on an owner/repo query) that lists recent GitHub Actions runs, with per-run re-run (non-destructive), cancel (destructive, confirmed), open-in-browser, and copy URL actions. Add a top-level Trigger Workflow form (workflow_dispatch) built on the existing FormContent infrastructure. - IWorkflowRun / WorkflowRun data type; IWorkflowRunsDataManager / WorkflowRunsDataManager (Octokit Actions API: list, rerun, cancel, dispatch), reusing GitHubCreateManager.ParseOwnerRepo for owner/repo parsing. - WorkflowRunsMediator + WorkflowRunActionCommand mirror the notifications/ mutation event-driven refresh pattern; cancel is wrapped in ConfirmedCommand and marked critical. - Top-level Workflow Runs and Trigger Workflow commands; TriggerWorkflowForm + template; LinkCommand URL overload; Workflows icon; ResW strings. - Tests: WorkflowRunsTests (form JSON, prompt/none/list rendering, cancel visibility by run status). 192/192 tests pass. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of the CmdPal GitHub extension parity roadmap (stacked on M4, PR #291).
Summary
Adds GitHub Actions workflow-run support: a repository-scoped runs list plus re-run, cancel, and trigger actions.
Data layer
Command surface
Infrastructure reuse
Design note
Workflow runs are inherently repository-scoped, so the page takes the repository from the search box rather than trying to aggregate runs across all repositories. This keeps a single, predictable API call per view.
Tests
Localization
Added top-level command names/subtitles, page prompts, run action titles, confirmation dialog text, success/error toasts, and the Trigger Workflow form strings to \Resources.resw.