Skip to content

Add standalone activity startDelay support#2048

Merged
eamsden merged 5 commits into
mainfrom
ea/saa-delay-integration-test
May 22, 2026
Merged

Add standalone activity startDelay support#2048
eamsden merged 5 commits into
mainfrom
ea/saa-delay-integration-test

Conversation

@eamsden
Copy link
Copy Markdown
Contributor

@eamsden eamsden commented May 13, 2026

Wire ActivityOptions.startDelay into StartActivityExecutionRequest and validate that it is non-negative.

Port the standalone activity delayed-start integration coverage from Python, including the server version/config needed to assert the scheduled-to-started delay.

What was changed

  • Delayed-start is surfaced as ActivityOptions.startDelay
  • An integration test checks that the option has the desired effect

Why?

Standalone activities now have a delayed-start feature. These changes expose this feature from the TS SDK

Checklist

  1. Closes

  2. How was this tested:
    A new integration test was added and validated that new option has the desired effect of delaying the start of a standalone activity.

  3. Any docs updates needed?
    No.

@eamsden eamsden requested a review from a team as a code owner May 13, 2026 22:58
Comment thread packages/test/src/test-standalone-activities.ts Outdated
Copy link
Copy Markdown
Contributor

@maciejdudko maciejdudko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! The test needs different server setup (see comment) but otherwise LGTM!

Comment on lines +183 to +186
executable: {
type: 'cached-download',
version: startDelayTestCliVersion,
},
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has very high chance of getting stale. Instead, use the default env that uses the existing server and update TESTS_CLI_VERSION and --dynamic-config-value in .github/workflows/ci.yml.

@eamsden eamsden force-pushed the ea/saa-delay-integration-test branch 6 times, most recently from 4ccac41 to 123dfa2 Compare May 19, 2026 22:31
@eamsden eamsden force-pushed the ea/saa-delay-integration-test branch 2 times, most recently from 7b9b6c5 to c547764 Compare May 21, 2026 23:26
Comment thread .github/workflows/ci.yml Outdated
eamsden added 5 commits May 22, 2026 14:01
Wire ActivityOptions.startDelay into StartActivityExecutionRequest and validate that it is non-negative.

Port the standalone activity delayed-start integration coverage from Python, including the server version/config needed to assert the scheduled-to-started delay.
@eamsden eamsden force-pushed the ea/saa-delay-integration-test branch from 577300d to a34b13c Compare May 22, 2026 19:01
@eamsden eamsden enabled auto-merge (squash) May 22, 2026 19:10
@eamsden eamsden merged commit bca651c into main May 22, 2026
40 of 44 checks passed
@eamsden eamsden deleted the ea/saa-delay-integration-test branch May 22, 2026 20:23
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.

4 participants