Skip to content

feat: capture fast_confirmation beacon-api event in sentry#829

Closed
samcm wants to merge 5 commits into
swap-eth2-client-forkfrom
feat/fast-confirmation-event
Closed

feat: capture fast_confirmation beacon-api event in sentry#829
samcm wants to merge 5 commits into
swap-eth2-client-forkfrom
feat/fast-confirmation-event

Conversation

@samcm
Copy link
Copy Markdown
Member

@samcm samcm commented May 13, 2026

Wires the new fast_confirmation SSE event from beacon-APIs#598 through the sentry pipeline. Adds the proto schema, sentry decorator, server-side ingester, and an OnEvent tap that filters for the topic (the beacon library doesn't yet expose a typed OnFastConfirmation publisher). Triggered by adding fast_confirmation to ethereum.beaconSubscriptions — no other config required.

Depends on ethpandaops/go-eth2-client#24 (currently pinned to its commit via pseudo-version; will bump to a tag once that merges) and on #828 (swap-eth2-client-fork) being merged first.

samcm added 5 commits May 13, 2026 19:21
Wires the new fast_confirmation SSE event from beacon-APIs#598 through
the sentry pipeline. Adds the proto schema (xatu.eth.v1.EventFastConfirmation
+ BEACON_API_ETH_V1_EVENTS_FAST_CONFIRMATION enum), the sentry decorator
and dedup cache, the server-side ingester handler, and an OnEvent tap
that filters the raw event stream for fast_confirmation (the beacon
library doesn't yet expose a typed OnFastConfirmation publisher).

Triggered by adding fast_confirmation to ethereum.beaconSubscriptions
in the sentry config; no other config required.
Adds //nolint:goconst on the duplicate-cache log field strings to match
the rest of the event handlers, and drops the stale ethpandaops/go-eth2-client
v0.1.2 entries from go.sum.
Adds the ClickHouse table, distributed view, and rowgen wiring so
fast_confirmation events flow from Kafka through to ClickHouse via
consumoor. Schema mirrors block_gossip.

Also adds TestCompletenessEveryEventNameHasRoute which walks every
xatu.Event_Name and asserts each is either routed or in an explicit
allowlist with a justification. Trips on future enum additions that
forget to wire a route.
Inlines the deprecated/_V2 justification string as a constant in the
completeness allowlist and drops the redundant string() cast on the
route.TableName() return (which already returns string). Adds nolint
markers on the new fast_confirmation snapshot test fields to match the
goconst posture in the sibling tests.
The original change appended the new local + distributed tables to
001_init.up.sql, but new tables go in their own numbered migration so
the init bundle stays frozen. Adds 002_fast_confirmation.up.sql and
the matching down migration.
@samcm samcm deleted the branch swap-eth2-client-fork May 13, 2026 10:08
@samcm samcm closed this May 13, 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