-
Notifications
You must be signed in to change notification settings - Fork 126
feat(nexus): Nexus support #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
29
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.
+3,029
−73
Open
Changes from 9 commits
Commits
Show all changes
29 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 69d01c0
Format code
bergundy ebf1311
Merged context and options
bergundy 9ed2ddf
OperationContext
bergundy 79c9303
Merge branch 'main' into pr/bergundy/1708
mjameswh 7a836da
stash - fixing build and test issues
mjameswh 64aee0a
Try temp solution to get CI running
mjameswh 386fac6
Try temp solution to get CI running - Take 2
mjameswh 86d6575
Get CI running - Fix some issues
mjameswh a442b2c
Fixes failing tests
mjameswh 35ef1b9
Fixes failing test on windows
mjameswh d90ef24
Fixes failing tests on Node 18 and Windows
mjameswh 40d6b52
temporalio/nexus package was not being exported to npm repo (neither …
mjameswh 0728ae2
Fix race in test causing flakyness
mjameswh 9073514
Trivial renames of Nexus APIs
mjameswh 5b9e50e
Don't ack cancels
bergundy ae5b2fe
Add NexusOperationFailure to isCancellation helper
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,26 @@ | ||
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'); | ||
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
+5 −5 | 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