Skip to content

test: reject repeated completion of finished workflow stages - #17

Merged
HsukqiLee merged 1 commit into
mainfrom
test/workflow-completed-state
Nov 16, 2026
Merged

HsukqiLee merged 1 commit into
mainfrom
test/workflow-completed-state

Conversation

@HsukqiLee

Copy link
Copy Markdown
Contributor

The current Go workflow store already enforces active workflow/stage state before accepting a new completion. Extend the real SQLite dispatch/outbox scenario to explicitly reject a new operation on an already completed stage and another completion after the workflow has finished. Both existing workflow scenarios pass locally, including queued/out-of-order rejection, idempotency, outbox rollback and recovery. This supplies the remaining runtime assertion for R3 in #3; no production state-machine change is needed.

@HsukqiLee
HsukqiLee merged commit f07a47b into main Nov 16, 2026
3 checks passed
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