Repository navigation
feat: attestation arrivals per epoch and after the attestation deadline - #948
barnabasbusa wants to merge 18 commits into
Conversation
There was a problem hiding this comment.
Summary
The PR adds an epoch-wide attestation-arrival card, an "after attestation deadline" column, a per-node drill-down, and moves the chart/attester renderer into a shared template; the last commit's click-away handler correctly clears both the solo client and the node selection and matches the new selectors. The remaining issue is the one carried over from the previous review: the epoch aggregation still resolves committees slot by slot even though a whole-epoch accessor exists.
Issues
- 🟡
handlers/epoch_attesters.go:179— epoch expected counts reload duties per slot instead of once per epoch — see the thread on that line
Reviewed @ 82c24737
"Better to ask forgiveness than permission." — Grace Hopper
…as no client for them
…estation-arrival-epoch
There was a problem hiding this comment.
The PR adds an epoch-wide attestation-arrival card (/epoch/{epoch}/attesters), an "after attestation deadline" column, and a per-node/per-validator drill-down (.../attesters/node), sharing the chart and attester renderer via templates/_shared/arrival_chart.html; the slot timeline and node table now react to the client selection. I traced the handlers, the shared template wiring (both slot/arrival.html and epoch/epoch.html template sets include the shared file) and the new JS state machine against the templates; the previously flagged epoch duty-reload issue is genuinely fixed by forEachAttesterDuty loading GetEpochCommittees once (handlers/slot_attesters.go:146, used from handlers/epoch_attesters.go:178). I found no behaviour I could show to be wrong, and the only remaining costs I looked at (the >10000 index cap in attesterValidatorFilter falling back to the old unfiltered query, and arbitrary name values seeding the page cache) are a deliberate degradation and an existing repo-wide pattern, not regressions.
Reviewed 13 changed file(s) @ 15277a14 — no blocking issues found.
"Better to ask forgiveness than permission." — Grace Hopper
There was a problem hiding this comment.
Summary
The two new commits extend the slot arrival page so the timeline and node table follow hover, client, node and region selection, and add per-node histogram buckets so a single node can be charted. The wiring (route registration, shared-template inclusion on both pages, the Go bucket plumbing) checks out and I could not find a wrong-data or resource bug; the only thing worth a look is that the new transient hover selection now runs the timeline through the pre-existing series-filtering path, which can silently drop the user's isolated-series choice.
Issues
- 🟡
templates/slot/arrival.html:922— hovering the attesters table silently clears the timeline's isolated series — see the thread on that line
Reviewed @ bb40d88f
"Better to ask forgiveness than permission." — Grace Hopper
There was a problem hiding this comment.
The PR adds an epoch-wide attestation-arrival card plus per-node drill-down, an "after attestation deadline" column, and moves the chart/attester renderer into a shared template used by both the slot and epoch pages. I re-checked the whole change at head (including the last commit's timeline-selection fix) and found the aggregation, caching, fallback, model registration and page wiring consistent with the surrounding patterns.
Reviewed 13 changed file(s) @ 3d544a78 — no blocking issues found.
"Better to ask forgiveness than permission." — Grace Hopper
The slot propagation tab shows when each validator's attestation arrived, grouped by client, but only how many came after the aggregate deadline and only one slot at a time. This adds an "after attestation deadline" column so the clients attesting late stand out, and an "Attestation arrivals" card on the epoch page that sums the same histogram and per-client table over all slots of the epoch (
/epoch/{epoch}/attesters, from Xatu with the beacon node fallback of #947). Clicking a client in the table now also lists its nodes (validators grouped by their name) with the same statistics, so the node behind late attestations can be singled out, clicking a node lists its validators with the slot and arrival time of each attestation (slowest and missing first), and on the slot view it fades the other clients' rows in the node table. The chart helpers and the attesters renderer move out ofslot/arrival.htmlinto a shared template so both pages use the same code. Stacked on #947.Local dora on glamsterdam-devnet-8 with the fallback flag on, started mid-epoch: