Skip to content

Replay\Cancel a run (v3) #1006

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Apr 8, 2024
Merged

Replay\Cancel a run (v3) #1006

merged 13 commits into from
Apr 8, 2024

Conversation

matt-aitken
Copy link
Member

@matt-aitken matt-aitken commented Apr 6, 2024

You can now replay a (v3) run from the UI:

  • By selecting a task on the run page
  • By using the actions popover on a run in the run list

Two new SDK functions

  • runs.replay()
  • runs.cancel()

REST API endpoint

  • /api/v1/runs/{runId}/replay

Docs for

  • Replay using API/SDK
  • Cancel using API/SDK

CleanShot 2024-04-06 at 19 27 31@2x
CleanShot 2024-04-06 at 19 27 39@2x
CleanShot 2024-04-06 at 19 27 50@2x

Todo

  • Add an API endpoint for replaying runs
  • Add an SDK call to cancel a run (using its friendly ID?)

Copy link

changeset-bot bot commented Apr 6, 2024

🦋 Changeset detected

Latest commit: 7349d2b

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@matt-aitken matt-aitken changed the title Replay a run (v3) Replay\Cancel a run (v3) Apr 7, 2024
@matt-aitken matt-aitken merged commit f854cb9 into main Apr 8, 2024
@nicktrn nicktrn deleted the features/replay-ui branch July 9, 2024 09:35
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