Skip to content

Samples for Standalone Activities [DO NOT MERGE]#778

Open
GregoryTravis wants to merge 3 commits intomainfrom
gmt/standalone-activities
Open

Samples for Standalone Activities [DO NOT MERGE]#778
GregoryTravis wants to merge 3 commits intomainfrom
gmt/standalone-activities

Conversation

@GregoryTravis
Copy link
Copy Markdown

@GregoryTravis GregoryTravis commented Apr 28, 2026

Samples for Standalone Activities #2741

Includes both HelloStandaloneActivity and a full set of examples in core/src/main/java/io/temporal/samples/standaloneactivities.

Tests for both.

Comment thread build.gradle
otelVersion = '1.30.1'
otelVersionAlpha = "${otelVersion}-alpha"
javaSDKVersion = '1.34.0'
javaSDKVersion = '1.35.0'
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Is this correct?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Based on #773, I believe so.

Copy link
Copy Markdown
Member

@chris-olszewski chris-olszewski left a comment

Choose a reason for hiding this comment

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

Nothing blocking, unsure about usefulness of tests here, but no harm in including them.

Comment thread build.gradle
Comment thread build.gradle
otelVersion = '1.30.1'
otelVersionAlpha = "${otelVersion}-alpha"
javaSDKVersion = '1.34.0'
javaSDKVersion = '1.35.0'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Based on #773, I believe so.

Comment on lines +23 to +25
* <p>Standalone Activities do not use a Workflow at runtime, but the embedded test server only
* supports Activity execution through a Workflow. These tests therefore drive the Activity through
* a minimal wrapper Workflow so the Activity logic is exercised against the real SDK worker stack.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Not exactly sure what these tests are actually exercising since they aren't leveraging SAA. Just that the activity implementation is sound?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Yeah, these are just a basic smoke test to make sure that the samples don't decay when changes are made in the other repo.

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