Skip to content

fix: scope completion idempotency to its workflow - #9

Merged
HsukqiLee merged 1 commit into
mainfrom
fix/reviewed-audit-repairs
Nov 14, 2026
Merged

HsukqiLee merged 1 commit into
mainfrom
fix/reviewed-audit-repairs

Conversation

@HsukqiLee

Copy link
Copy Markdown
Contributor

The completion lookup mixed operation keys belonging to independent workflows. Query the owned workflow and operation together while retaining stage-consistency checks. Reviewed all operation_id and stage_completions sites in internal/workflow and internal/httpapi. Regression reproduced the cross-account collision before the fix and passes after it; also exercises an outbox insert failure, transaction rollback, recovery with the same operation and exactly-once events. Validation: Linux go test -race ./... -count=1 -timeout=180s passed. Closes #4. Closes #5.

@HsukqiLee
HsukqiLee merged commit 5a13beb into main Nov 14, 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.

统一工序完成的幂等 scope 与返回语义 工序完成、Outbox 与后续激活原子提交

1 participant