Skip to content

feat(actions): add watch_workflow_run method to actions_get - #2

Open
defcron wants to merge 2 commits into
mainfrom
integration/watch-workflow-run-1c7d37a
Open

defcron wants to merge 2 commits into
mainfrom
integration/watch-workflow-run-1c7d37a

Conversation

@defcron

@defcron defcron commented Oct 21, 2026

Copy link
Copy Markdown
Member

Ports upstream PR github#3406 (commit 1c7d37aac4bc9697bdbe853a844e6c502d07c30c) onto this fork's typed Actions implementation.

Changes

  • Adds watch_workflow_run to actions_get, with an optional timeout_seconds parameter (default 45, maximum 600).
  • Waits server-side for a workflow run to complete, emits progress notifications when a progress token is supplied, and honors request cancellation.
  • On timeout, returns the current run status with completed: false rather than treating it as an error.
  • On an unsuccessful completed run, reports failed jobs and points to get_job_logs with failed_only: true.
  • Adds a typed watch output variant and adapts the upstream tests to the fork's typed Actions test harness.
  • Updates the actions_get schema snapshot and README documentation.

Validation

The integration workflow verified the pinned base and upstream SHAs, generated the expected schema snapshot and documentation, then passed:

  • go mod tidy -diff
  • bash script/test (go test -race ./...)
  • go build ./cmd/github-mcp-server
  • git diff --check

It committed the port only after those checks succeeded. Upstream commit: 1c7d37aac4bc9697bdbe853a844e6c502d07c30c.

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