feat(cli): add durable workflow and executor waiters#1338
Draft
dqn wants to merge 6 commits into
Draft
Conversation
🦋 Changeset detectedLatest commit: 42f5eb9 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
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 |
commit: |
Code Metrics Report (packages/sdk)
Details | | main (66862a9) | #1338 (20ab1d1) | +/- |
|--------------------|----------------|-----------------|-------|
+ | Coverage | 66.0% | 66.9% | +0.8% |
| Files | 394 | 396 | +2 |
| Lines | 13517 | 13699 | +182 |
+ | Covered | 8931 | 9174 | +243 |
- | Code to Test Ratio | 1:0.4 | 1:0.4 | -0.1 |
| Code | 90249 | 91443 | +1194 |
+ | Test | 39180 | 39674 | +494 |Code coverage of files in pull request scope (9.2% → 40.8%)
SDK Configure Bundle Size
Runtime Performance
Type Performance (instantiations)
Reported by octocov |
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.
Summary
Add durable waiter commands and shared polling behavior for workflow executions and executor jobs so automation can wait through transient platform states with stable JSON diagnostics.
Main changes
workflow wait <execution-id>and reuse the workflow waiter fromworkflow start --wait,workflow executions --wait, andworkflow resume --wait.executor trigger --waitandexecutor jobs ... --waitwith timeout diagnostics and downstream execution tracking.Examples
Wait for a workflow execution captured from
workflow start:Wait for an executor job and downstream execution:
Use the programmatic workflow waiter:
Use the programmatic executor waiter: