Skip to content

Track #169 resolution: regression test for terminal event payload IDs - #324

Merged
pinodeca merged 1 commit into
mainfrom
test/terminal-event-payload-ids-169
Jul 30, 2026
Merged

Track #169 resolution: regression test for terminal event payload IDs#324
pinodeca merged 1 commit into
mainfrom
test/terminal-event-payload-ids-169

Conversation

@pinodeca

Copy link
Copy Markdown
Collaborator

Summary

Issue #169 (terminal OrchestrationFailed events serializing instance_id="" / execution_id=0 in the duroxide.history event_data payload) was an upstream duroxide bug (microsoft/duroxide#35, fixed by microsoft/duroxide#36) that shipped in duroxide v0.1.30. pg_durable v0.2.5 already bumped duroxide to =0.1.30 (#305), so the issue is fixed with no extension-side code change.

This PR does not fix anything itself — it records the resolution and guards against regression:

Verification

  • Confirmed live that both cancellation and plain-failure terminal events now carry the correct identifiers.
  • New test passes directly and through the e2e harness (26_terminal_event_payload_ids ... PASS).

Relates to #169 (already closed; this is tracking + regression coverage, not the fix).

@pinodeca
pinodeca force-pushed the test/terminal-event-payload-ids-169 branch from e527c6e to a078b3b Compare July 30, 2026 21:41
Terminal OrchestrationFailed events previously serialized instance_id=""
and execution_id=0 in their duroxide.history event_data payload. This was
an upstream duroxide bug (microsoft/duroxide#35), fixed by the duroxide
0.1.30 bump already shipped in pg_durable 0.2.5 (#305) — no extension-side
change was required.

This change only records that resolution and guards against regression:

- CHANGELOG: add a Fixed entry under [0.2.5] documenting the resolution.
- Add tests/e2e/sql/26_terminal_event_payload_ids.sql covering both the
  cancellation and plain-failure terminal paths. It resolves the provider
  schema via df.duroxide_schema(), polls for the async terminal-event
  flush, and asserts payload identifiers match the history row.

Relates to #169
@pinodeca
pinodeca force-pushed the test/terminal-event-payload-ids-169 branch from a078b3b to 675cdaa Compare July 30, 2026 21:43
@pinodeca
pinodeca merged commit 25f14ec into main Jul 30, 2026
5 checks passed
@pinodeca
pinodeca deleted the test/terminal-event-payload-ids-169 branch July 30, 2026 22:10
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