Skip to content

feat: record attestation arrivals in dora on pq-devnet-0 - #5

Open
barnabasbusa wants to merge 1 commit into
masterfrom
bbusa/dora-attestation-arrivals
Open

barnabasbusa wants to merge 1 commit into
masterfrom
bbusa/dora-attestation-arrivals

Conversation

@barnabasbusa

Copy link
Copy Markdown
Contributor

The pq beacon nodes only emit attestation events 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 on INDEXER_ATTESTATION_ARRIVALS_ENABLED so dora records the beacon nodes' single_attestation events itself (ethpandaops/dora#947, already on dora's pq branch) and serves those when Xatu has nothing for the slot.

@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.

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

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 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.

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