Skip to content

Fix workflow start with omitted state input encoding - #608

Closed
ahmadmaha02 wants to merge 1 commit into
indeedeng:mainfrom
ahmadmaha02:fix/optional-state-input-encoding
Closed

ahmadmaha02 wants to merge 1 commit into
indeedeng:mainfrom
ahmadmaha02:fix/optional-state-input-encoding

Conversation

@ahmadmaha02

@ahmadmaha02 ahmadmaha02 commented Oct 25, 2026 •

Copy link
Copy Markdown

Description

Starting a workflow with a large state input returns HTTP 500 when external storage is enabled and encoding is omitted. The upload succeeds, but the server then dereferences the missing encoding.

Pass the optional encoding through when replacing the input with its storage reference. The new test covers a request without encoding and checks that the workflow starts.

Checklist

  • Code compiles correctly
  • Tests for the changes have been added
  • All tests passing (unit tests pass; integration tests were not run locally)
  • This PR change is backwards-compatible
  • This PR CONTAINS a (planned) breaking change (it is not backwards compatible)

Related Issue

N/A

Local checks: make unitTests, go build ./..., go vet ./service/api.

@ahmadmaha02
ahmadmaha02 deleted the fix/optional-state-input-encoding branch October 31, 2026 04:33
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