Skip to content

DT-3526 describe standalone activity#3099

Merged
Alex-Tideman merged 11 commits intostandalone-activitiesfrom
DT-3526-describe-standalone-activity
Jan 20, 2026
Merged

DT-3526 describe standalone activity#3099
Alex-Tideman merged 11 commits intostandalone-activitiesfrom
DT-3526-describe-standalone-activity

Conversation

@rossedfort
Copy link
Contributor

@rossedfort rossedfort commented Jan 15, 2026

Description & motivation 💭

Implement describe standalone activity page

  • On initial load of the page, the UI calls the DescribeActivityExecution API with includeInput: true and includeOutcome: true
  • After initial load of the page, if the Activity is Running, the UI will poll the DescribeActivityExecution API with includeInput: false, includeOutcome: true, the runId and longPollToken
  • Actions (Pause, Update, and Reset) are intended not to be functional - will do next PR
  • The page should look largely similar to the EventCard used on the Pending Activities tab of a workflow execution.

Screenshots (if applicable) 📸

Screenshot 2026-01-16 at 9 43 06 AM

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 temporalio/temporal repo
  2. Run make bins and make start
  3. Running temporal server from a local build does not create the default namespace, run temporal operator namespace create --namespace default
  4. Create some search attributes for the default namespace, run temporal operator search-attribute create --namespace default --name MySearchAttribute --type Keyword

Run the UI against a local build of temporal server

  1. Checkout the DT-3526-describe-standalone-activity branch in the ui repo
  2. cd server/ && make build
  3. cd .. && pnpm dev:local-temporal

Run some sample workflows in the samples-go repo

  1. cd temporal-fixtures/stuck-workflows/
  2. In one terminal window, run go run worker/main.go
  3. In another terminal window, run go run starter/main.go

Start a Standalone Activity

  1. In the UI, go to http://localhost:3000/namespaces/default/activities/start
  2. Generate a random Activity ID or use your own
  3. Fill the Task Queue input with stuck-workflows
  4. Fill the Activity Type input with StuckWorkflowActivity
  5. Fill the Start to Close Timeout field with some long duration, 1 hour for example
  6. Click the "Start Standalone Activity" button
  7. Go to http://localhost:3000/namespaces/default/activities/<activity_id>/details

To test Activities with Payloads + Codec Server

In the samples-go repo:
  1. cd codec-server
  2. In one terminal window, run go run ./codec-server -web=http://localhost:3000 -port=8088
  3. In a second terminal window, run go run worker/main.go
  4. In a third terminal window, run go run starter/main.go
In the UI
  1. Set the Data Encoder URL to http://localhost:8088
  2. Go to http://localhost:3000/namespaces/default/activities/start
  3. Generate a random Activity ID or use your own
  4. Fill the Task Queue input with codecserver
  5. Fill the Activity Type input with Activity
  6. Supply an Input
  7. Supply either a Start to Close Timeout or Schedule to Close Timeout
  8. Expand the "More Options" section, and supply Search Attribute(s), Summary, and Details
  9. Click the "Start Standalone Activity" button
  10. Go to http://localhost:3000/namespaces/default/activities/<activity_id>/details and ensure payloads are being decoded.

Checklists

Draft Checklist

Merge Checklist

Issue(s) closed

Docs

Any docs updates needed?

@vercel
Copy link

vercel bot commented Jan 15, 2026

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

Project Deployment Review Updated (UTC)
holocene Ready Ready Preview, Comment Jan 16, 2026 9:31pm

Request Review

@rossedfort rossedfort marked this pull request as ready for review January 16, 2026 21:29
@rossedfort rossedfort requested review from a team and Alex-Tideman as code owners January 16, 2026 21:29
@Alex-Tideman Alex-Tideman merged commit 1653ac9 into standalone-activities Jan 20, 2026
5 checks passed
@Alex-Tideman Alex-Tideman deleted the DT-3526-describe-standalone-activity branch January 20, 2026 18:25
rossedfort added a commit that referenced this pull request Feb 3, 2026
* DT-3531 - start standalone activity (#3074)

* WIP - start standalone activity

* change routes, add duration input, fix imports

* use queryparams for initial form values

* clean up

- update go api module
- clean up api routes
- add placeholder page for activity execution details
- add support for query params to pre-fill form

* add page components

* add integration tests

* DT-3526 describe standalone activity (#3099)

* standalone activity details

* decode and refactor

* clean up

* clean up

* add page titles

* add default param

* remove pause, update and reset buttons

* fix pnpm lock

* add error state

* increase toast duration

* Standalone Activities List (#3103)

* Add standalone activities UI

* Upgrade to svelte5

* Don't allow onclick on button until we migrate it to Svelte5

* Remove batch functionality

* Fix up some table stuff

* Add filterable/copiable cells

* Add Start Activity Like this One

* DT-3532 - activity execution actions (#3115)

* add terminate and cancel to activity details page

* update api

* add disabled state for standalone activities (#3122)

* Standalone activities design scrub (#3123)

* design scrub

* fix i18n

* rename and reorganize

* fix poller

* fix test

* fix test

* add alert for when no workers

* 404 standalone activities for now

* refetch activity after terminate and cancel

* add search attributes for filters

* fix duration input dark mode

* add fallback values for activity header

* remove postscss

* better way to do search attributes

* fix screaming enums

* trigger actions

* bump api version to v1.62.0

* fix some strict mode

* fix some more strict

* use timestamp store

---------

Co-authored-by: Alex Tideman <alex.tideman@temporal.io>
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.

2 participants