Skip to content

feat: show when aggregates were seen on the slot timeline - #941

Merged
samcm merged 1 commit into
pqfrom
amp/pq-devnet-0/aggregate-wave
Nov 24, 2026
Merged

samcm merged 1 commit into
pqfrom
amp/pq-devnet-0/aggregate-wave

Conversation

@samcm

@samcm samcm commented Nov 24, 2026

Copy link
Copy Markdown
Member

Adds an "aggregates seen" curve and an aggregate deadline marker (AGGREGATE_DUE_BPS, the Gloas variant once Gloas is active) to the slot propagation timeline. The curve shows when each xatu node first saw each aggregate for the slot, from beacon_api_eth_v1_events_attestation. Sightings that land in the next slot count in the total, so slow aggregation leaves the curve short of 100%.

On pq-devnet-0 it stays empty until the sentries run the xatu pq-devnet-0 build (ethpandaops/xatu#955, ethpandaops/pq-devnets#3). The query was checked against glamsterdam-devnet-8, where aggregates land from 6.0s with a tail past 12s.

Adds an aggregates series to the propagation timeline from the xatu
attestation events: when each observing node first saw each aggregate
for the slot, with the AGGREGATE_DUE_BPS deadline. Sightings in the
following slot count toward the total, so late aggregates show as a
curve that stops short of 100%.

Amp-Thread-ID: https://ampcode.com/threads/T-01a20c65-2dd0-76d5-aa34-26b1ee6e0f4d
Co-authored-by: Sam Calder-Mason <samcaldermason@gmail.com>
@samcm samcm added the devnet-capture Devnet data capture work label Nov 24, 2026

@redpandabot redpandabot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adds an aggregates-seen series to the slot propagation timeline backed by a raw xatu attestation-event query, plus the aggregate deadline marker (with the Gloas BPS variant). The late-sighting handling, deadline plumbing, model serialization, and frontend normalization are consistent with the existing wave loaders. The aggregation_bits-only aggregate identity is documented as a best-effort limitation, and I found no issues that need fixing before merge.


Reviewed 3 changed file(s) @ 88e48063 — no blocking issues found.
"git push --force is a personality test."

samcm commented Nov 24, 2026

Copy link
Copy Markdown
Member Author

@barnabasbusa this is for your request to see when aggregates were seen on the pq devnets. Could you review it and merge it into pq when it looks right?

To get data on pq-devnet-0:

  1. Merge this into pq so the dora:pq image picks it up.
  2. Once ci: create a release branch for every devnet xatu#954 creates release/pq-devnet-0, feat(sentry): record pq aggregate attestation events (pq-devnet-0) xatu#955 lands there and builds ghcr.io/ethpandaops/xatu:pq-devnet-0. Without it the sentries can't parse PQ attestation events (no signature).
  3. Merge pq-devnet-0: run the pq-devnet-0 xatu sentry build pq-devnets#3 and run the sentry playbook to switch the sentries to that image.

pq-devnet-0 also looks stalled at slot 4075 (since about 04:23 UTC on 24 Nov), so nothing will show until it is producing blocks again. xatu doesn't store committee bits, so identical aggregates from different committees count as one sighting per node.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devnet-capture Devnet data capture work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants