8000 Allow Terminate for closed workflows with newExecutionRunId by Alex-Tideman · Pull Request #2724 · temporalio/ui · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Allow Terminate for closed workflows with newExecutionRunId #2724

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 7 commits into from
May 29, 2025

Conversation

Alex-Tideman
Copy link
Contributor
@Alex-Tideman Alex-Tideman commented May 13, 2025

Description & motivation 💭

If a workflow has a newExecutionRunId - a newer workflow in the chain of workflows - allow it to terminate the latest run and include the firstExecutionRunId in the terminate call.

This is already the behavior on batch if a single workflow with newExecutionRunId is selected and terminated.

Note: We will not check if latest run is open/closed. If it is closed, it will just error with the usual workflow execution already completed message.

Screenshots (if applicable) 📸

Screenshot 2025-05-14 at 2 03 03 PM Screenshot 2025-05-14 at 2 03 14 PM
TerminateLatest.mov

Design Considerations 🎨

Testing 🧪

How was this tested 👻

  • Manual testing
  • E2E tests added
  • Unit tests added

Steps for others to test: 🚶🏽‍♂️🚶🏽‍♀️

Checklists

Draft Checklist

Merge Checklist

Issue(s) closed

Docs

Any docs updates needed?

@Alex-Tideman Alex-Tideman requested review from rossedfort and a team as code owners May 13, 2025 20:50
Copy link
vercel bot commented May 13, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
holocene ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 14, 2025 7:03pm

@Alex-Tideman Alex-Tideman changed the title Allow Terminate for closed workflows with firstExecutionRunId Allow Terminate for closed workflows with newExecutionRunId May 14, 2025
@Alex-Tideman Alex-Tideman requested a review from laurakwhit May 28, 2025 18:54
@Alex-Tideman Alex-Tideman merged commit 380b793 into main May 29, 2025
20 checks passed
@Alex-Tideman Alex-Tideman deleted the terminate-CaN-latest branch May 29, 2025 19:37
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.

2 participants
0