Skip to content

Standalone Activity client and UI#986

Merged
chaptersix merged 5 commits intomainfrom
saa-merge
Apr 22, 2026
Merged

Standalone Activity client and UI#986
chaptersix merged 5 commits intomainfrom
saa-merge

Conversation

@dandavison
Copy link
Copy Markdown
Contributor

What was changed

Add Standalone Activity client support that was present in v1.6.2-standalone-activity. This branch is that, rebased on main.

How this was tested

The PR adds a test suite for Standalone Activity.

@dandavison dandavison requested a review from a team as a code owner April 17, 2026 01:40
Comment thread cliext/client.go Outdated
Copy link
Copy Markdown
Contributor

@chaptersix chaptersix left a comment

Choose a reason for hiding this comment

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

github won't let me delete this comment.

res := s.Execute(
"activity", "count",
"--address", s.Address(),
"-o", "json",
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.

could you add one for jsonl as well?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done!

dandavison and others added 4 commits April 22, 2026 15:02
## What was changed
Drop execution type and task queue from start standalone activity output

## Why?
They are not currently guaranteed correct in the
`conflictPolicy=UseExisting` case

## Testing

```
$ temporal activity start --start-to-close-timeout 1s --task-queue hello-standalone-activity-task-queue --type compose_greeting --activity-id act-1 --input '{"greeting": "mygreeting", "name": "myname"}'
Running execution:
  ActivityId  act-1
  RunId       019cd407-83cc-7c8e-ba17-5a3125e4e7cd
  Namespace   default
$ temporal activity result -a act-1
Results:
  Status  COMPLETED
  Result  "mygreeting, myname!"
$ temporal activity start --start-to-close-timeout 1s --task-queue hello-standalone-activity-task-queue --type compose_greeting --activity-id act-2 -o json --input '{"greeting": "mygreeting", "name": "myname"}'
{
  "activityId": "act-2",
  "runId": "019cd408-38a3-7e15-8b36-58f966f156de",
  "namespace": "default"
}
```
@dandavison
Copy link
Copy Markdown
Contributor Author

Rebased on main again. I dropped the commits bumping ui-server (main is on the later version v2.48.4) and the obsolete TLS workaround commit.

FTR:

Details
**Before rebase:**

cli(saa-merge) git log --oneline origin/saa-merge  | head -n 10
51a849c (origin/saa-merge, z) Test JSONL
8ca9c74 Revert "Fix --tls=false being ignored when --api-key is present"
67f7821 SAA drop type and task queue  (#959)
76343fc Bump ui-server
2474b94 Enable SAA and CHASM by default
fc43d9f Update ui-server to v2.47.0
19bc524 Fix --tls=false being ignored when --api-key is present
f745017 Add standalone activity client commands
f9563e0 (main) chore: bump server to 1.31.0-154.0 and remove nexus UseSystemCallbackURL config (#982)
1f5c1ab remove activity-type targeting from activity pause/unpause/reset/update (#978)

**After rebase:**

cli(saa-merge) git log --oneline  | head -n 10
532300a (HEAD -> saa-merge) Test JSONL
e30eda1 SAA drop type and task queue  (#959)
e08b77f Enable SAA and CHASM by default
6ecfdd9 Add standalone activity client commands
030b081 (origin/main, origin/HEAD) error if both --build-id and --unversioned used (#991)
c3447af uplift ui-server to v2.48.4 (#994)
5fb12c3 Bump google.golang.org/grpc from 1.67.1 to 1.79.3 in /cliext (#964)
f9563e0 (main) chore: bump server to 1.31.0-154.0 and remove nexus UseSystemCallbackURL config (#982)
1f5c1ab remove activity-type targeting from activity pause/unpause/reset/update (#978)
2da907c chore: upgrade temporal SDK to v1.41.0 and envconfig to v1.0.0 (#975)

</details>

@chaptersix chaptersix merged commit a99c9ed into main Apr 22, 2026
9 checks passed
@chaptersix chaptersix deleted the saa-merge branch April 22, 2026 21:54
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.

3 participants