Add standalone activity to throughput stress (opt-in)#316
Closed
prathyushpv wants to merge 2 commits intofeature/tps-nexus-callbacksfrom
Closed
Add standalone activity to throughput stress (opt-in)#316prathyushpv wants to merge 2 commits intofeature/tps-nexus-callbacksfrom
prathyushpv wants to merge 2 commits intofeature/tps-nexus-callbacksfrom
Conversation
Adds a new EchoAsyncWithSignalOperation (echo-async-with-signal) backed by a workflow that waits for an "unblock" signal before completing. The new ExecuteNexusOperationAttachCallbacks action starts N parallel async Nexus ops, attaches completion callbacks via GetNexusOperationExecution, signals each handler workflow to complete, then waits for all to finish. This exercises the Nexus callback attachment path on every iteration when a nexus-endpoint is configured. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds a DoStandaloneActivity ClientAction that invokes a payload activity directly via the low-level StartActivityExecution / PollActivityExecution RPCs, bypassing normal workflow activity scheduling. Namespace is now threaded through ClientActionsExecutor (required by these RPCs). The feature is gated behind --option enable-standalone-activity=true because the API requires server-side support for workflow-independent activities, which is not available in all environments. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
3c41674 to
16ca196
Compare
3217c0b to
099f0c4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What was changed
Add a
DoStandaloneActivityproto message andClientActionvariant that invokes a payload activity directly via the low-levelStartActivityExecution/PollActivityExecutionRPCs, bypassing normal workflow activity scheduling.Namespaceis now threaded throughClientActionsExecutor(required by these RPCs).The feature is gated behind
--option enable-standalone-activity=true.Why?
Porting a missing feature from bench-go's throughputstress. The feature is opt-in because the standalone activity API requires server-side support for workflow-independent activities, which is not available in all environments (e.g. dev server 1.30.x).
Checklist
Closes N/A
How was this tested:
go test ./scenarios/ -parallel 1 -timeout 5mpassesAny docs updates needed?
No