Skip to content

Start delay for standalone activities #3650

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

Start delay for standalone activities #3650
laurakwhit wants to merge 4 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 n/a

Design Considerations 🎨

Testing 🧪

How was this tested 👻

  • Manual testing
  • E2E tests added
  • Unit tests added

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

Checklists

Draft Checklist

  • Add "Start Delay" input to activity update form
  • Verify server version with support and update value in IsTemporalServerVersionGuard
  • Verify server version is deployed in Cloud

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 Error Error Jul 9, 2026 8:58pm

Request Review

</p>
{/if}

<IsTemporalServerVersionGuard minimumVersion="1.31.2">

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Note: Verify which version includes temporalio/temporal#10008

@temporal-cicd

temporal-cicd Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor
Warnings
⚠️

📊 Strict Mode: 56 errors in 11 files (6.2% of 899 total)

src/lib/services/standalone-activities.ts (2)
  • L151:6: Type '{ indexedFields?: ({ [k: string]: temporal.api.common.v1.IPayload; } | null); }' is not assignable to type '{ [k: string]: IPayload; }'.
  • L157:2: Type '{ retryPolicy: { backoffCoefficient?: number | undefined; maximumAttempts?: number | undefined; maximumInterval?: string | undefined; initialInterval?: string | undefined; }; startDelay?: string | undefined; ... 11 more ...; userMetadata: { ...; }; }' is not assignable to type 'StartActivityExecutionRequest'.
src/lib/components/execution-status.svelte (2)
  • L106:16: 'count' is possibly 'undefined'.
  • L107:9: 'count' is possibly 'undefined'.
src/lib/components/workflow/pending-activity/pending-activity-card.svelte (8)
  • L174:24: Type 'IPayloads | null | undefined' is not assignable to type 'object | IPayloads | IPayload'.
  • L224:20: Parameter 'timeDifference' implicitly has an 'any' type.
  • L241:8: Argument of type 'number | null | undefined' is not assignable to parameter of type 'number | null'.
  • L246:54: Argument of type 'number | null | undefined' is not assignable to parameter of type 'number'.
  • L31:26: 'activity.attempt' is possibly 'null' or 'undefined'.
  • L95:12: Argument of type 'number | null | undefined' is not assignable to parameter of type 'number'.
  • L97:14: Argument of type 'Duration | null' is not assignable to parameter of type 'string | Duration'.
  • L140:13: 'totalPending' is possibly 'undefined'.
src/lib/components/lines-and-dots/svg/group-details-row.svelte (5)
  • L23:6: Variable 'offsetHeight' implicitly has type 'any' in some locations where its type cannot be determined.
  • L24:21: Variable 'offsetHeight' implicitly has an 'any' type.
  • L26:32: Parameter 'height' implicitly has an 'any' type.
  • L50:17: 'group.pendingActivity.attempt' is possibly 'null' or 'undefined'.
  • L60:20: Variable 'offsetHeight' implicitly has an 'any' type.
src/lib/components/schedule/schedule-view/workflow-runs-recent.svelte (3)
  • L61:45: Argument of type 'WorkflowExecutionStatus | null | undefined' is not assignable to parameter of type 'WorkflowStatus | WorkflowExecutionStatus'.
  • L70:14: Type 'string | null | undefined' is not assignable to type 'string'.
  • L71:14: Type 'string | null | undefined' is not assignable to type 'string'.
src/lib/components/schedule/schedule-view/schedule-view.svelte (4)
  • L117:6: Type 'string | undefined' is not assignable to type 'string'.
  • L126:6: Type 'string | null | undefined' is not assignable to type 'string'.
  • L131:6: Type 'string | null | undefined' is not assignable to type 'string | undefined'.
  • L195:8: Type 'IPayloads | null | undefined' is not assignable to type 'IPayloads | undefined'.
src/lib/components/standalone-activities/start-standalone-activity-form/form.svelte (13)
  • L70:4: Type 'string | undefined' is not assignable to type 'string'.
  • L162:6: Type 'ClientValidationAdapter<{ encoding: "json/plain" | "json/protobuf"; namespace: string; identity: string; activityId: string; taskQueue: string; activityType: string; initialInterval: string; maximumInterval: string; ... 12 more ...; idConflictPolicy?: string | undefined; }, { ...; }>' is not assignable to type 'ClientValidationAdapter<Partial<{ input: string; messageType: string; scheduleToStartTimeout: string; startDelay: string; summary: string; details: string; heartbeatTimeout: string; initialInterval: string; backoffCoefficient: null; ... 11 more ...; scheduleToCloseTimeout: string | undefined; }>, Record<...>> | Vali...'.
  • L327:11: Type 'string | undefined' is not assignable to type 'string'.
  • L328:6: Type 'DefaultUnits | undefined' is not assignable to type 'DefaultUnits'.
  • L328:38: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
  • L341:11: Type 'string | undefined' is not assignable to type 'string'.
  • L342:6: Type 'DefaultUnits | undefined' is not assignable to type 'DefaultUnits'.
  • L342:38: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
  • L355:6: Type 'DefaultUnits | undefined' is not assignable to type 'DefaultUnits'.
  • L366:19: Type '{ id: string; label: string; value: string; units: (Unit<"day(s)"> | Unit)[]; hintText: string; }' is not assignable to type 'Props | undefined'.
  • L421:13: Type 'null' is not assignable to type 'string'.
  • L423:13: Type 'null' is not assignable to type 'string'.
  • L435:8: Type 'DefaultUnits | undefined' is not assignable to type 'DefaultUnits'.
src/lib/components/standalone-nexus-operations/nexus-operation-header.svelte (5)
  • L50:10: Type 'string | null | undefined' is not assignable to type 'string'.
  • L97:36: Type 'string | null | undefined' is not assignable to type 'string'.
  • L104:8: Type 'string | null | undefined' is not assignable to type 'string'.
  • L110:27: Type 'string | null | undefined' is not assignable to type 'string'.
  • L114:27: Type 'string | null | undefined' is not assignable to type 'string'.
src/lib/components/standalone-nexus-operations/nexus-operations-summary-configurable-table/table-body-cell.svelte (6)
  • L59:8: Type 'string | null | undefined' is not assignable to type 'string'.
  • L62:10: Type 'string | null | undefined' is not assignable to type 'string'.
  • L63:10: Type 'string | null | undefined' is not assignable to type 'string'.
  • L70:8: Type 'string | null | undefined' is not assignable to type 'string'.
  • L73:10: Type 'string | null | undefined' is not assignable to type 'string'.
  • L74:10: Type 'string | null | undefined' is not assignable to type 'string'.
src/lib/components/workflow/dropdown-filter/workflow-status.svelte (3)
  • L101:45: Argument of type 'string | null' is not assignable to parameter of type 'string'.
  • L104:12: Type '"All" | WorkflowStatus' is not assignable to type 'string | undefined'.
  • L107:42: Argument of type 'string | null' is not assignable to parameter of type 'string'.
src/lib/pages/start-workflow.svelte (5)
  • L140:17: Property 'message' does not exist on type '{}'.
  • L161:20: 'pollers' is possibly 'null' or 'undefined'.
  • L240:20: Argument of type 'string | null' is not assignable to parameter of type 'string'.
  • L321:15: Type 'SearchAttributeInput[]' is not assignable to type '{ type: "Unspecified" | "Keyword" | "Text" | "Int" | "Double" | "Bool" | "Datetime" | "KeywordList"; label: string; value?: any; }[]'.
  • L337:21: Type '{ id: string; label: string; labelHidden: true; inputmode: "numeric"; value: string; units: (Unit<"day(s)"> | Unit)[]; min: number; class: string; }' is not assignable to type 'Props | undefined'.

Generated by 🚫 dangerJS against a950e2e

</p>
{/if}

<IsTemporalServerVersionGuard minimumVersion="1.31.2">

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.

  • ⚠️ Type '{ id: string; label: string; value: string; units: (Unit<"day(s)"> | Unit)[]; hintText: string; }' is not assignable to type 'Props | undefined'.

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