Skip to content

Settle codec, Resume, Version and config behavior before the first release - #5

Merged
liran merged 14 commits into
mainfrom
fix/codec-and-doc-gaps
Nov 4, 2026
Merged

liran merged 14 commits into
mainfrom
fix/codec-and-doc-gaps

Conversation

@liran

@liran liran commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

These are the last behaviors that were only documented around, fixed while nothing depends on them. Types built on strings and bytes now encode like strings and bytes. Resume with a plain error ends the step instead of rerunning its code. Version states the oldest version the code supports, so a stale execution stops rather than taking a branch it never took. FlowConfig decodes as plain JSON so a struct can embed it, which makes zero attempts mean the default, with UnlimitedAttempts for retrying without end.

A client's same-ID join stays the default because concurrent callers share a run through it, and WithErrorIfRunning and IsFlowRunningError now make that case visible. Retry settings Temporal cannot run are now errors rather than a flow stuck in Running. Log export also rejects a protocol it cannot send, and its errors name the variable. A running step still learns of cancellation only by calling ctx.Heartbeat().

@liran liran self-assigned this Nov 4, 2026
@liran
liran force-pushed the fix/codec-and-doc-gaps branch from abc2ac8 to 58d9de9 Compare November 4, 2026 23:11
@liran
liran merged commit 9826ca7 into main Nov 4, 2026
4 checks passed
@liran
liran deleted the fix/codec-and-doc-gaps branch November 4, 2026 23:21
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