Repository navigation
feat: record attestation arrivals in dora on pq-devnet-0 - #5
barnabasbusa wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Summary
One-line change turning on INDEXER_ATTESTATION_ARRIVALS_ENABLED for dora on pq-devnet-0; the flag does exist on dora's pq branch (types/config.go envconfig tag INDEXER_ATTESTATION_ARRIVALS_ENABLED under indexer.attestationArrivals), and unsupported single_attestation topics are handled gracefully upstream (an ancillary stream that gives up on 4xx), so the behaviour itself looks correct. The only issue is where the setting lives: the edited file is generated by the generate_kubernetes_config role and the upstream template has no variable for this env var, so the flag is not reproducible.
Issues
- 🟡
kubernetes/devnet-0/dora/values.yaml:59— flag added to an ansible-generated file with no source variable — see the thread on that line
Reviewed @ 77f11b31
"Sleep is for people without children."
| value: "*" | ||
| - name: FRONTEND_ENABLE_DAS_GUARDIAN_MASS_SCAN | ||
| value: "true" | ||
| - name: INDEXER_ATTESTATION_ARRIVALS_ENABLED |
There was a problem hiding this comment.
🟡 flag added to an ansible-generated file with no source variable
Line 1 marks this file as generated from .../generate_kubernetes_config/templates/dora.yaml.j2, and that template's extraEnv list is a fixed set (FRONTEND_PPROF … FRONTEND_ENABLE_DAS_GUARDIAN_MASS_SCAN, then the gen_kubernetes_config_dora_xatu_enabled block) with no variable to inject extra entries — roles/generate_kubernetes_config/defaults/main.yaml has no dora extra-env var either, while ansible/playbook.yaml runs that role (tags: [gen_kubernetes_config, ...]). So the next generator run silently writes this entry away and the arrivals fallback stops working with nothing in git to explain why; add a gen_kubernetes_config_dora_* variable upstream and regenerate (or an extra-env var), or the drift needs an explicit note that pq-devnet-0 carries it by hand.
The pq beacon nodes only emit
attestationevents for verified aggregates, so Xatu has no per-validator arrival times and the Attesters row on dora's slot propagation tab stays empty. This turns onINDEXER_ATTESTATION_ARRIVALS_ENABLEDso dora records the beacon nodes'single_attestationevents itself (ethpandaops/dora#947, already on dora'spqbranch) and serves those when Xatu has nothing for the slot.