Skip to content

CLI: commands that read evicted page bodies say nothing; report store integrity #1667

Description

@nc9

Content-store eviction is global by size cap, so one project's audit can evict another project's page bodies. "Evicted" is inferred by a read-time census, and notices are printed only for report, resume and refetch (crawler/storage/eviction-notice.ts). Other readers (pages, entities) can return partial data silently.

Approach: storage reads return storeIntegrity: full | evicted(n). Every command that reads bodies prints the eviction notice, and JSON carries the field.

Acceptance Criteria

  • squirrel report, pages and entities output (and JSON) state how many page bodies were evicted, when any were
  • Test: evicting bodies then running each command shows the notice

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3clisize: S

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions