You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Comment rot: metrics.rs / reputation_wiring.rs / handlers/client.rs still describe the pre-#1110 subscription watchers #1111
Follow-up from the PR #1110 review (kept out of that PR since these files are outside its diff).
PR #1110 replaced the per-watcher eth_newFilter subscription loops with the shared resumable_watchereth_getLogs poller, but several doc comments in adjacent files still describe the deleted machinery:
crates/node/src/metrics.rs:1330 — "Pairs with the per-site warn! in run_watcher_once" — run_watcher_once no longer exists.
crates/node/src/metrics.rs:520 and :1373 — "the paired tracing::warn! in watcher_loop" — watcher_loop no longer exists.
crates/node/src/metrics.rs:399-400 ("an immediate re-arm + resubscribe"), :414-415 ("resubscribe/backoff loop"), :753-756 ("event-stream subscription errored … backoff-and-resubscribe path") — subscription-era descriptions of what the gauges now track (poll-tick backoff transitions).
crates/node/src/metrics.rs:522-523 — "A clean stream end (filter expiry / provider rotation) is NOT an error and does not bump this" — under the poller no stream can cleanly end; documents dead behavior.
These are doc-only fixes: reword to the poll-tick/backoff vocabulary of chain_events/resumable_watcher.rs and point the metric docs at the on_established/on_backoff hooks that now drive them.
Activity
docs(node): rewrap the reputation-indexer rpc-failures doc (#1111)
chore: tech-debt batch — watcher comment rot, publish CLI dedup, watc…