Skip to content

cache: assert the log level of outboard-decline warn-once #2856

Closed

Description

@yigitdot

outboard_decline_warns_once_per_status_class (crates/cache/src/origin/http.rs tests) only checks first_outboard_decline, the bit logic. It still passes if the warn! and debug! arms of log_outboard_decline are swapped or the if is dropped. The log level is what #2853 promises operators, and no test covers it.

No new dependency: tracing-subscriber is already a dev-dependency of decdn-cache.

Related: #2853. Priority: low, not blocking.

Activity

  1. added
    kind:test
    prio:low
    area:cache
    on Nov 6, 2026
  2. added a commit that references this issue on Nov 6, 2026
    a0c138c
  3. moved this from Backlog to In progress in deCDNon Nov 6, 2026
  4. moved this from In progress to Done in deCDNon Nov 6, 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:cachekind:testprio: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