Skip to content

ADR 012 advertises a [cache] peer_cache_path key nothing reads #1346

Closed

Description

@yigitdot

ADR 012 § Client Configuration lists [cache] peer_cache_path in the default config block, but no code parses it — grep -rn peer_cache_path crates/ matches only crates/client-pull/src/discovery.rs, where the filename is the hardcoded PEER_CACHE_FILE const joined onto the resolved client data dir. Setting the key is silently ignored.

Found during review of #1341, which annotated the key as NOT YET IMPLEMENTED rather than removing it. Decide which way it goes: implement the override, or drop the key from the ADR and rely on --data-dir / [identity] data_dir to move the cache (which is what the code does today).

Same shape as [bootstrap] registry_refresh_secs, also present in the ADR and unimplemented.

Activity

  1. added
    kind:feature
    design:adr
    design:missing-decision
    prio:low
    on Jul 21, 2026
  2. self-assigned this
    on Jul 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

design:adrdesign:missing-decisionkind:featureprio:low

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions