Skip to content

node: intake_capability's register_lane store-failure arm is warn-only while the intake-drop counter claims to be the aggregate view #2824

Closed

Description

@yigitdot

Found reviewing #2815 (#2631). Every signature/expiry drop arm in intake_capability increments decdn_capability_intake_dropped_total{reason}, but the final arm — register_lane returning a store error (crates/node/src/handlers/client/mod.rs, end of intake_capability) — logs a warn! and increments nothing. The client-visible outcome is identical to the metered drops (an unknown-lane refusal), so an operator alerting on the counter misses a persistently failing lane store.

Two options, deliberately left open:

  1. Doc-only. Say in intake_capability's doc and on the metric that the store-failure arm is warn-only: the grant verified, so nothing was dropped — registration failed, and node: separate the expired-capability refusal at admission, meter capability intake drops, add a wire-level intake test #2631 enumerates only the signature/expiry arms.
  2. Add a label. A sixth CapabilityIntakeDropReason::StoreFailed variant, its ALL entry, and a label test, so the counter matches its own "only aggregate view of intake drops" claim.

🤖 Generated with Claude Code

Activity

  1. added
    kind:bug
    prio:low
    area:node
    design:missing-decision
    on Nov 1, 2026
  2. moved this from Backlog to In progress in deCDNon Nov 21, 2026
  3. moved this from In progress to Done in deCDNon Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:nodedesign:missing-decisionkind:bugprio:low

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions