-
Notifications
You must be signed in to change notification settings - Fork 123
Nexus handler near complete implementation #1708
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
bergundy
wants to merge
13
commits into
temporalio:main
Choose a base branch
from
bergundy:nexus
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+15,538
−27,298
Open
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
01502c7
Nexus handler near complete implementation
bergundy 0490e7b
Use the Nexus SDK ServiceRegistry
bergundy be83b0d
Upgrade core, TODO fix protos and versioning behavior
bergundy 2150a48
Link converter
bergundy 3dcc150
Add worker/src/nexus directory
bergundy 5e4a5c3
Lint
bergundy d29dee1
getClient() and fix versioning strategy
bergundy 29e6c12
WorkflowRunOperation
bergundy 244cbbb
Merge remote-tracking branch 'origin/main' into nexus
bergundy 0e6dad1
Fix build
bergundy 64cee58
Cleanup
bergundy ab2645a
Nexus workflow client
bergundy a627bfd
Fail requests with BAD_REQUEST if payload decoding fails
bergundy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import { temporal } from '@temporalio/proto'; | ||
|
||
// A key used internally to pass "hidden options to the WorkflowClient.start() call. | ||
export const InternalWorkflowStartOptionsKey = Symbol.for('__temporal_client_internal_workflow_start_options'); | ||
|
||
// Hidden internal workflow start options, used by the temporal nexus helpers. | ||
export interface InternalWorkflowStartOptions { | ||
requestId?: string; | ||
/** | ||
* Callbacks to be called by the server when this workflow reaches a terminal state. | ||
* If the workflow continues-as-new, these callbacks will be carried over to the new execution. | ||
* Callback addresses must be whitelisted in the server's dynamic configuration. | ||
*/ | ||
completionCallbacks?: temporal.api.common.v1.ICallback[]; | ||
/** Links to be associated with the workflow. */ | ||
links?: temporal.api.common.v1.ILink[]; | ||
/** | ||
* Backlink copied by the client from the StartWorkflowExecutionResponse. Only populated in servers newer than 1.27. | ||
*/ | ||
backLink?: temporal.api.common.v1.ILink; | ||
|
||
/** | ||
* Conflict options for when USE_EXISTING is specified. | ||
* | ||
* Used by the nexus WorkflowRunOperations to attach to a callback to a running workflow. | ||
*/ | ||
onConflictOptions?: temporal.api.workflow.v1.IOnConflictOptions; | ||
} |
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
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
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
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
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
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
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
Submodule sdk-core
updated
1 files
+4 −4 | sdk-core-protos/protos/api_upstream/temporal/api/history/v1/message.proto |
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docstring is wrong