Skip to content

Activity commands for Standalone Activities#3564

Draft
laurakwhit wants to merge 9 commits into
mainfrom
DT-3976-activity-commands-for-sa
Draft

Activity commands for Standalone Activities#3564
laurakwhit wants to merge 9 commits into
mainfrom
DT-3976-activity-commands-for-sa

Conversation

@laurakwhit

@laurakwhit laurakwhit commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

Description & motivation 💭

Add support for Pause/Unpause/Reset/UpdateOptions for Standalone Activities in the UI.

Screenshots (if applicable) 📸

Before After
Screenshot 2026-06-16 at 11 08 05 AM Screenshot 2026-07-01 at 9 23 59 AM
Reset Update
Screenshot 2026-07-01 at 9 16 59 AM Screenshot 2026-07-06 at 9 35 26 AM

Design Considerations 🎨

Testing 🧪

How was this tested 👻

  • Manual testing
  • E2E tests added
  • Unit tests added

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

  • Navigate to a running Workflow with a pending activity
    • Verify the following work as expected
      • Pause/Unpause
      • Reset
      • Update
  • Navigate to a running standalone activity
    • Verify the following work as expected
      • Pause/Unpause
      • Reset
      • Update
      • Cancel
      • Terminate

Checklists

Draft Checklist

  • Verify server version with support and update standaloneActivityCommandsDisabled
  • Verify server version is deployed in Cloud

Merge Checklist

Issue(s) closed

DT-3976

Docs

Any docs updates needed?

@vercel

vercel Bot commented Jun 16, 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 6, 2026 9:13pm

Request Review

@temporal-cicd

temporal-cicd Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor
Warnings
⚠️

📊 Strict Mode: 12 errors in 4 files (1.4% of 884 total)

src/lib/services/workflow-activities-service.ts (4)
  • L56:28: No overload matches this call.
  • L81:28: No overload matches this call.
  • L106:28: No overload matches this call.
  • L135:28: No overload matches this call.
src/lib/services/standalone-activities.ts (2)
  • L128:6: Type '{ indexedFields?: ({ [k: string]: temporal.api.common.v1.IPayload; } | null); }' is not assignable to type '{ [k: string]: IPayload; }'.
  • L134:2: Type '{ retryPolicy: { backoffCoefficient?: number | undefined; maximumAttempts?: number | undefined; maximumInterval?: string | undefined; initialInterval?: string | undefined; }; scheduleToStartTimeout?: string | undefined; ... 10 more ...; userMetadata: { ...; }; }' is not assignable to type 'StartActivityExecutionRequest'.
src/lib/components/activity/activity-options-form.svelte (4)
  • L10:4: Module '"$lib/services/standalone-activities"' has no exported member 'initialTimeoutUnit'.
  • L11:4: Module '"$lib/services/standalone-activities"' has no exported member 'TIMEOUT_UNITS'.
  • L124:15: Type 'number | null | undefined' is not assignable to type 'number'.
  • L140:15: Type 'number | null | undefined' is not assignable to type 'number'.
src/lib/components/standalone-activities/activities-summary-configurable-table/table-row.svelte (2)
  • L32:8: Type 'string | null | undefined' is not assignable to type 'string'.
  • L34:8: Type 'string | null | undefined' is not assignable to type 'string'.

Generated by 🚫 dangerJS against f0009d1

import NumberInput from '$lib/holocene/input/number-input.svelte';
import Label from '$lib/holocene/label.svelte';
import { translate } from '$lib/i18n/translate';
import {

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.

  • ⚠️ Module '"$lib/services/standalone-activities"' has no exported member 'initialTimeoutUnit'.

import Label from '$lib/holocene/label.svelte';
import { translate } from '$lib/i18n/translate';
import {
initialTimeoutUnit,

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.

  • ⚠️ Module '"$lib/services/standalone-activities"' has no exported member 'TIMEOUT_UNITS'.

<NumberInput
id="maximum-attempts"
label={translate('activities.retry-max-attempts')}
labelHidden

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 'number | null | undefined' is not assignable to type 'number'.

<NumberInput
id="retry-backoff-coefficient"
label={translate('activities.retry-backoff-coefficient')}
labelHidden

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 'number | null | undefined' is not assignable to type 'number'.

namespace?: string,
): boolean => {
const version = page.data?.cluster?.serverVersion;
if (version && !minimumVersionRequired('1.31.2', version)) return true;

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#10106.

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