Skip to content

Add start delay support for standalone activities#1113

Draft
fretz12 wants to merge 1 commit into
mainfrom
fredtzeng/saa-start-delay
Draft

Add start delay support for standalone activities#1113
fretz12 wants to merge 1 commit into
mainfrom
fredtzeng/saa-start-delay

Conversation

@fretz12

@fretz12 fretz12 commented Jul 7, 2026

Copy link
Copy Markdown

What changed?

Added --start-delay support for standalone activity start/execute options.

This plumbs the flag through the CLI start options into the Go SDK StartActivityOptions.StartDelay, and exposes StartDelay in activity describe text output.

Checklist

Design

  • This feature does not depend on Cloud-only APIs or behavior
  • New flag is named after the API concept: --start-delay
  • New flag does not duplicate an existing flag
  • New flag has no short alias

Help text

  • Flag is implemented and functional
  • Help text follows existing flag style

Tests

  • Added functional test(s) (SharedServerSuite)

Manual tests

Setup

temporal server start-dev --headless

Happy path

temporal activity start
--activity-id YourActivityId
--type YourActivityType
--task-queue YourTaskQueue
--start-to-close-timeout 30s
--start-delay 2s

Composition

temporal activity describe
--activity-id YourActivityId
--run-id YourRunId

Expected: describe output includes StartDelay 2s.

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