Skip to content

Move the external storage reference codec passes out of the runner - #3250

Merged
jmaeagle99 merged 1 commit into
mainfrom
extstore-runner-plain-only
Dec 3, 2026
Merged

jmaeagle99 merged 1 commit into
mainfrom
extstore-runner-plain-only

Conversation

@jmaeagle99

Copy link
Copy Markdown
Contributor

What was changed

  • ExternalStorageRunner handles only plain references now. Its codec-taking store and retrieve overloads and
    encodeReferences move to a new internal ExternalStorageOperations, which composes the runner with the
    reference codec: store then encode, decode then retrieve.
  • Clients, activity workers, Nexus workers and heartbeats call ExternalStorageOperations where they pass a codec.
    No behavior changes.

Why?

The runner only stores and retrieves. Each caller decides whether the reference codec runs and with which codec.
Workflow task decoding, coming next, needs a different codec context per history event. It can compose with the
plain runner instead of adding more overloads to it.

Checklist

  1. How was this tested: existing tests, unchanged.

  2. Any docs updates needed? No.

@jmaeagle99
jmaeagle99 added this pull request to stack #3251 December 2, 2026 19:16
@jmaeagle99
jmaeagle99 requested a review from a team as a code owner December 2, 2026 19:16
@jmaeagle99 jmaeagle99 added the skip-changelog PR changes do not require changelog updates label Dec 2, 2026
Base automatically changed from extstore-encode-header-refs to main December 3, 2026 20:23
@jmaeagle99
jmaeagle99 force-pushed the extstore-runner-plain-only branch from 9a630a6 to 46063f9 Compare December 3, 2026 20:23
@jmaeagle99
jmaeagle99 merged commit 11a91f6 into main Dec 3, 2026
30 of 32 checks passed
@jmaeagle99
jmaeagle99 deleted the extstore-runner-plain-only branch December 3, 2026 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog PR changes do not require changelog updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants