Skip to content

chore: sync upstream decdn/decdn @ 3ebf5f17 - #80

Merged
thiras merged 1 commit into
mainfrom
chore/sync-upstream-3ebf5f17
Sep 25, 2026
Merged

thiras merged 1 commit into
mainfrom
chore/sync-upstream-3ebf5f17

Conversation

@thiras

@thiras thiras commented Sep 25, 2026

Copy link
Copy Markdown
Contributor

Summary

Syncs the repo to upstream decdn/decdn @ 3ebf5f17 (15 commits, #2138–#2152) and wires the one new config key.

  • Monitoring mirror: charts/decdn-node/files/monitoring/ re-vendored with scripts/sync-monitoring.sh. It adds the DecdnChainWatcherFlapping alert, probe latency and time-to-first-byte panels, and the eth_getLogs window-span panel.
  • Schema keys: schema-keys.txt regenerated (155 → 156 paths; new blockchain.get_logs_max_block_span). The tracked ref in gen-schema-keys.py and the role README moves from d3bc7da7 to 3ebf5f17.
  • New role setting decdn_get_logs_max_block_span (#2152): the ceiling on one chain-watcher eth_getLogs block span. Empty means the daemon default of 10 000; when set it must be >= 1. It's wired the same way as decdn_fee_shares_poll_interval_sec: defaults, template, the integer-shape and strictly-positive checks, README, the schema converge and the chart's ci-values.yaml. The docs follow the upstream runbook: set it only while range rejections keep rising, and use the lowest span reached, not the limit the provider quotes.
  • Tests: a new range-min1 case in molecule/validation is the first negative test of the ">= 1 when set" check. The key-count comment in molecule/schema/verify.yml now matches the render (130 keys, slack 5).

networks.yml was already current. The IPv6 bind (#2144) and the watchdog heartbeat (#2145) were already covered. The other upstream commits (CLI and client changes, tracing, the node_id log field, the new histograms) need no devops change.

Upgrade note: a binary built without 3ebf5f17 rejects the new key (deny_unknown_fields), so the role's decdn config validate step fails the deploy. Leave the setting unset on older builds.

Test plan

  • scripts/sync-monitoring.sh ../decdn origin/main --check and scripts/sync-network-profiles.py ../decdn --check report current
  • make lint, make lint-ansible, make lint-helm
  • DECDN_CLI=<decdn built at 3ebf5f17> make lint-helm: real-binary decdn config validate on all chart CI renders
  • molecule test -s schema
  • molecule test -s validation (records range-min1)
  • Full make molecule in CI

🤖 Generated with Claude Code

Re-sync the upstream mirrors and wire the one new config key.

- charts/decdn-node/files/monitoring: re-vendored (new
  DecdnChainWatcherFlapping alert, probe latency/TTFB and eth_getLogs
  span panels).
- schema-keys.txt: regenerated (155 -> 156 paths); the tracked ref in
  gen-schema-keys.py and the role README moves d3bc7da7 -> 3ebf5f17.
- decdn_node: new decdn_get_logs_max_block_span knob, rendered as
  blockchain.get_logs_max_block_span (#2152), >= 1 when set, following
  decdn_fee_shares_poll_interval_sec through defaults, template, the
  shape and strictly-positive asserts, README, schema converge and the
  chart's ci-values.
- molecule/validation: range-min1 case, the first negative test of the
  ">= 1 when set" assert.
- molecule/schema/verify.yml: the key-count comment now matches the
  render (130, slack 5).

networks.yml was already current. IPv6 bind (#2144) and the watchdog
heartbeat (#2145) were already covered; the other upstream commits
need no devops change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings September 25, 2026 02:48

Copilot AI 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.

Copilot review overview

🔵 Needs a closer look

The broad upstream and vendored-asset sync, incomplete full test run, and missing chart changelog entry warrant human review.

Review effort: Lite
Findings: None

What changed in this PR

Syncs deployment configuration, schema metadata, and monitoring assets with upstream decdn/decdn commit 3ebf5f17.

Changes:

  • Adds and validates decdn_get_logs_max_block_span.
  • Refreshes monitoring dashboards and alerts.
  • Updates schema tracking, documentation, changelogs, and test fixtures.
File Summary
charts/​decdn-node/​files/​monitoring/​SOURCE Updates upstream source metadata.
charts/​decdn-node/​files/​monitoring/​prometheus-alerts.yml Adds watcher alerts.
charts/​decdn-node/​files/​monitoring/​grafana-dashboard.json Updates watcher visualizations.
charts/​decdn-node/​files/​monitoring/​dashboard-node.json Adds probe latency panels.
charts/​decdn-node/​files/​monitoring/​dashboard-delivery.json Adds first-byte latency panels.
charts/​decdn-node/​files/​monitoring/​dashboard-chain.json Adds eth_getLogs monitoring.
charts/​decdn-node/​ci/​ci-values.yaml Exercises the new configuration key.
ansible/​roles/​decdn_node/​templates/​node.toml.j2 Renders the new setting.
ansible/​roles/​decdn_node/​tasks/​main.yml Validates the setting.
ansible/​roles/​decdn_node/​README.md Documents configuration and tuning.
ansible/​roles/​decdn_node/​defaults/​main.yml Defines the default.
ansible/​molecule/​validation/​converge.yml Adds minimum-value validation.
ansible/​molecule/​schema/​verify.yml Updates schema expectations.
ansible/​molecule/​schema/​files/​schema-keys.txt Adds the schema path.
ansible/​molecule/​schema/​files/​gen-schema-keys.py Updates the tracked revision.
ansible/​molecule/​schema/​converge.yml Exercises schema rendering.
ansible/​galaxy/​CHANGELOG.md Documents the role change.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@thiras
thiras merged commit 0c2354f into main Sep 25, 2026
17 checks passed
@thiras
thiras deleted the chore/sync-upstream-3ebf5f17 branch September 25, 2026 03:00
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.

2 participants