Skip to content

[pull] main from hookdeck:main#104

Merged
pull[bot] merged 1 commit intoerickirt:mainfrom
hookdeck:main
Apr 1, 2026
Merged

[pull] main from hookdeck:main#104
pull[bot] merged 1 commit intoerickirt:mainfrom
hookdeck:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Apr 1, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

* feat: replace event destination_id with matched_destination_ids (#799, #688)

Events now track which destinations they were routed to via a new
matched_destination_ids field, replacing the confusing destination_id
which was just the publish input.

- Add MatchedDestinationIDs to Event model, stamped during Handle()
- Add DB migrations (Postgres text[], ClickHouse Array(String)) that
  add the new column and drop destination_id in one step
- Update all logstore implementations (pg, ch, mem) for persistence,
  queries, and metrics
- Enable GET /events?destination_id=... filtering via array overlap
- Update API responses and OpenAPI spec; omit field from
  attempt-embedded events where it's unavailable
- Un-skip all previously blocked destination filter tests

No backfill: existing events will have empty matched_destination_ids.
Only new events going forward will be populated.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: resolve flaky scheduler tests by cancelling monitor context on cleanup

Monitor goroutines were outliving their tests — Shutdown() closed the
Redis client but the Monitor loop kept retrying, then panicked logging
to a completed test. Fix: cancel the context before shutdown so Monitor
exits cleanly.

Also use assert.Eventually for timing-sensitive assertions instead of
fixed sleep durations.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@pull pull bot locked and limited conversation to collaborators Apr 1, 2026
@pull pull bot added the ⤵️ pull label Apr 1, 2026
@pull pull bot merged commit 3b4f511 into erickirt:main Apr 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant