Skip to content

Start delay for standalone activities #3650

Draft
laurakwhit wants to merge 7 commits into
mainfrom
DT-3985-saa-start-delay
Draft

Start delay for standalone activities #3650
laurakwhit wants to merge 7 commits into
mainfrom
DT-3985-saa-start-delay

Conversation

@laurakwhit

@laurakwhit laurakwhit commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Description & motivation 💭

  • Adds start_delay input to "Start Standalone Activity" form.
  • Displays a clock icon with a "Delayed" tooltip in the status badge.
  • Shows an "Execution Time" time in the activity details section if there is a start delay on the workflow.
  • Shows "Start Delay" duration under "Timing and Progress".

Screenshots (if applicable) 📸

List view Details view
Screenshot 2026-07-08 at 4 17 15 PM Screenshot 2026-07-08 at 4 52 15 PM
Start form Update form
Screenshot 2026-07-08 at 5 04 26 PM Screenshot 2026-07-20 at 7 14 19 PM

Design Considerations 🎨

Testing 🧪

How was this tested 👻

  • Manual testing
  • E2E tests added
  • Unit tests added

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

Run temporal server from a local build

  1. Ensure you have cloned the temporal repo
  2. Make sure StartDelayEnabled is set to true
  3. Run make bins and make start
  4. Running temporal server from a local build does not create the namespace, run temporal operator namespace create --namespace default

Run the UI against a local build of temporal server

  1. Checkout the DT-3985-saa-start-delay branch in the UI repo
  2. Make sure the API version here is the same as the version here.
  3. cd server/ && make build
  4. cd .. && pnpm dev:local-temporal

Run some sample workflows in the canary-go repo

  1. Run make bins and ./temporal-canary start

Go to "Start Standalone Activity"

  • Verify "Start Delay" input is visible and can be added

Go to a running activity

  • Verify "Start Delay" is disabled with a tooltip

Go to a delayed activity

  • Update the activity "Start Delay" value and verify it works as expected

In the list view and details view for an activity with "Start Delay" defined

  • Verify the status has a clock icon and tooltip that says "Delayed"

With StartDelayEnabled set to false

  • Verify Start Delay input is not visible
    • on the "Start Standalone Activity" form
    • on the update form for a running activity

Checklists

Draft Checklist

Merge Checklist

Issue(s) closed

DT-3985

Docs

Any docs updates needed?

@vercel

vercel Bot commented Jul 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
holocene Ready Ready Preview, Comment Jul 21, 2026 1:48am

Request Review

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