Skip to content

feat: add duration_ms and rename ids to upserted_ids in drain.undertow payload#8

Merged
nallenscott merged 1 commit into
mainfrom
feat/drain-duration
Jul 3, 2026
Merged

feat: add duration_ms and rename ids to upserted_ids in drain.undertow payload#8
nallenscott merged 1 commit into
mainfrom
feat/drain-duration

Conversation

@nallenscott

Copy link
Copy Markdown
Owner

Wraps the undertow_on_drain call in a small measure_ms helper and adds duration_ms to the drain.undertow payload, so subscribers can see how long a handler actually took. While touching that payload shape, also renamed ids to upserted_ids (both the handler's second positional arg and the notification key) so it reads unambiguously next to deleted_ids. Pre-1.0 breaking changes are treated as normal here (same as the 0.1.x -> 0.2.x store-adapter rename), so this stays a plain feat: with the migration step documented in UPGRADING.md rather than a ! bump.

@nallenscott
nallenscott merged commit 86623e8 into main Jul 3, 2026
2 checks passed
@github-actions github-actions Bot mentioned this pull request Jul 3, 2026
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