fix: check if workflow is stop already#462
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughThe changes update the Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant WS as TemporalWebsiteService
participant Handle as Workflow Handle
Client->>WS: terminateWorkflow()
WS->>Handle: describe()
Handle-->>WS: workflow description
WS->>WS: Log description
alt Status == 'TERMINATED'
WS->>Handle: terminate()
Handle-->>WS: termination confirmation
else
WS-->>Client: No termination call made
end
WS-->>Client: Return response
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Summary by CodeRabbit