Repository navigation
Read codec-encoded external storage references in workflow workers - #3253
Open
jmaeagle99 wants to merge 1 commit into
Open
jmaeagle99 wants to merge 1 commit into
jmaeagle99 wants to merge 1 commit into
Conversation
jmaeagle99
force-pushed
the
extstore-workflow-decode-contexts
branch
from
December 3, 2026 23:31
7314074 to
9bf570a
Compare
jmaeagle99
force-pushed
the
extstore-workflow-decode-contexts
branch
from
December 3, 2026 23:35
9bf570a to
2289e6d
Compare
This branch has not been deployed
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
WorkflowReferenceContextsremembers the context of each scheduled activity, Nexus operation and Nexus-sent update for as long as the run is cached, so a result in a later task or history page finds it. Entries are dropped once the server has delivered the result.WorkflowRunStoragepicks the codec per history event during the decode walk. User metadata, event group markers and update requests use the workflow context; a child workflow's header uses the child's namespace; a local activity marker's SDK details use the workflow context while its input and result use the local activity's context.Why?
Workers on this release can run workflows whose history holds encoded references, so encoding can be turned on in a later release without breaking workers that are still on this one. A context-keyed codec only decodes under the context it encoded with, so a reference decoded under the wrong context would fail the workflow task.
Checklist
How was this tested:
Any docs updates needed? No