Skip to content

feat: support larger deterministic workflow payloads#25

Merged
kgruszka merged 5 commits into
developfrom
feat/fix-big-resolved-size-limits
May 12, 2026
Merged

feat: support larger deterministic workflow payloads#25
kgruszka merged 5 commits into
developfrom
feat/fix-big-resolved-size-limits

Conversation

@kgruszka
Copy link
Copy Markdown
Collaborator

Summary

  • propagates workflow DV limits through deterministic VM input/context initialization
  • raises deterministic workflow input/output capacity to 16 MiB while keeping global DV defaults at 5 MiB
  • keeps host-call request/response caps unchanged
  • raises fixed wasm memory to 128 MiB for larger deterministic context decoding
  • adds boundary tests for payloads over the old 5 MiB cap and above the workflow cap
  • runs CI on develop pushes

Dependency

Validation

  • pnpm exec nx run-many -t test
  • pnpm exec nx affected -t lint test build typecheck --base=origin/develop --head=HEAD

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

dvLimits: options.dvLimits,

P2 Badge Keep host-call DV limits independent from input size overrides

Passing options.dvLimits into createRuntime now couples deterministic input-size opt-ins to host-call request/response limits. In this commit, callers are encouraged to raise dvLimits.maxEncodedBytes to allow larger workflow inputs, but that same override at createRuntime also raises dispatcher limits for host calls (subject only to ABI function byte caps). For manifests/functions configured above 5 MiB, this unintentionally broadens host-call payload acceptance versus prior behavior, so a workflow input tuning change can alter host boundary enforcement.

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@kgruszka kgruszka changed the title Support larger deterministic workflow payloads feat: support larger deterministic workflow payloads May 12, 2026
@kgruszka kgruszka merged commit f1a2bba into develop May 12, 2026
2 checks passed
@kgruszka kgruszka deleted the feat/fix-big-resolved-size-limits branch May 12, 2026 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant