Skip to content

id: partial-holder re-serving while downloading, under LIST 8 serving budgets #2262

Open

Description

@dezren39

Parent: #2050 (investigation: BitTorrent-style chunk retrieval for graph objects), epic #2056. Follow-up C of the #2050 investigation. Depends on follow-up A (holder discovery + wired blob gate).

Problem

In the #2050 design every downloader becomes a useful partial holder the moment its first chunk group verifies — FsStore persists verified ranges, and bao verification makes a partial holder's ranges exactly as trustworthy as a complete holder's. Nothing in pkgs/id enables, announces, or budgets that re-serving today, and turning it on widens the serving surface: swarm range-serving must be covered by the LIST 8 abuse controls (per-IP / per-ID / per-world MB and message budgets, rate limits) before any public server serves swarm traffic.

Scope

  • A node serving a world re-serves the verified ranges it holds for that world's blobs, subject to the blob gate (members of a referencing world only).
  • Announce partial holdings through follow-up A's provider table/announcements (held-ranges summary, not just complete/partial boolean).
  • Wire serving budgets: per-world and per-peer caps on swarm range-serving (bytes/window), reusing the LIST 8 budget shapes; a node over budget declines new range requests cleanly (requester requeues elsewhere — the id: investigate: BitTorrent-style chunk retrieval for graph objects #2050 flow already tolerates this).
  • Eviction policy: LRU under store pressure for fetched blobs; a node configured as a world's public server must not silently evict that world's only-known copy — surface it in config/status instead.

Acceptance criteria

  • A third node can complete a blob fetch where the middle node only ever held (and served) a partial range set it had itself just downloaded.
  • Budget caps demonstrably stop range-serving when exceeded, and requesters recover by scheduling other holders.
  • Tests cover gate behaviour for partial serving (non-member refused, indistinguishable refusal).

Not in scope: global discovery (follow-up D); permanent-feature status for the PoC scheduler (follow-up B's review round decides).

Activity

  1. added
    app/id
    on Oct 29, 2026
  2. developing-today commented on Oct 29, 2026

    @developing-today
    Contributor
  3. added
    source/human
    priority/normal
    effort/m
    status/needs-triage
    meta/enriched
    on Oct 29, 2026
  4. dezren39 commented on Oct 29, 2026

    @dezren39
    MemberAuthor

    Intake review — fleet monitor, 2026-10-29

  5. added
    work/assigned
    queue/claimed
    status/in-progress
    and removed
    status/needs-triage
    on Nov 3, 2026
  6. dezren39 commented on Nov 3, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · picked-up

  7. 138 remaining items

  8. added
    status/needs-triage
    and removed
    status/blocked
    queue/claimed
    work/assigned
    on Nov 26, 2026
  9. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    Contributor

    🤖 Agent note · handed off

    • Agent: fleet monitor (repo-fleet-monitor)
    • Session / ID: task 18213
    • Found via: monitor reconciliation
    • Task: Claim-evaporation repair — the queue claim on task 18213 evaporated (the worker's run ended without complete/park/block and the lease expired); task 18213 is queued and unclaimed. Last checkpoint stage: blocked. Issue labels reset to the truth: queue/queued + status/needs-triage.
    • Expectation: a queue worker re-claims task 18213 and resumes from the checkpoint stage above.
    • Links: n/a
  10. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Progress (Felix): the held-ranges announcement slice landed — PR #16661 merged. HolderAnnouncement now carries ranges summaries (serde-defaulted, so old payloads still record Unknown), new_with_ranges derives hashes from the pair list with shared 256-cap truncation, and apply_announcement records the carried summary per hash. Failing-first run 46240671224 (round-trip test failed: announced Ranges degraded to Unknown); verification run 46241166105: 14 passed, 0 failed. Remaining on this issue: Follow-up B (#2261) get.rs fetch-loop wiring + live multi-holder demo, and criterion 3 — the announcement side those consume is now in place.

  11. dezren39 commented on Nov 29, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · census 2026-11-29 (lane CEN-C03)

    Blocker (named): dependency — follow-up A (holder discovery + wired blob gate) must land first; this issue's provider-table announcements build on it. The body is otherwise complete with acceptance criteria. Priority: normal (unchanged).

  12. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Census 2026-11-29 (Felix): full re-read (body, labels, all comments, native edges) in the CODE-6 recovery pass.

    STRENGTHS: precise slice history — the held-ranges slice landed today (PR #16661, merged) and the remainder is named exactly.
    GAPS: none material.
    FIXES I APPLIED: none needed — the native blocked_by edge to #2261 (open) is in place and accurate.
    REMAINS: Follow-up B (get.rs wiring) after #2261's Adopt/Drop/Adapt decision, which is Drewry's.

  13. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Issue census — 2026-11-29

    Wave-2 census pass (group code-01409-03205): rechecked live state, body, labels and recent comments firsthand via fleet gh immediately before editing.

    Strengths: detailed body (2014 chars) with context a picker-up can start from; acceptance criteria present in the body; single taxonomy priority band (priority/normal) — verified against live labels; kind label present (kind/enhancement).

    Gaps found: none material.

    Actions taken this pass: none — verified complete, no changes.

    Priority: priority/normal — checked against content, unchanged (no reprioritization). No closing keywords used; issue left open.

  14. added
    status/blocked
    on Nov 30, 2026
  15. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    Contributor

    🤖 Agent note · lane 0640-PI (Felix) — P1.4 status backfill (Refs #17071, #14863). Added status/blocked: this issue is verified-blocked in the #14863 audit and live re-verification shows open native blocker(s) #2261; the label was missing. No other labels changed.

  16. removed
    status/needs-triage
    on Nov 30, 2026
  17. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    Contributor

    P3.2 collision adjudication — Felix lane 0640-WH (claim 7283792252 on #17071): this issue carried two status labels, status/blocked + status/needs-triage. Kept status/blocked — status/blocked was applied 2026-11-30T09:58:03Z in the current graph pass; status/needs-triage dates to 2026-11-26 and the issue has since been triaged and graph-processed. Removed status/needs-triage. No other labels touched; priority band unchanged.

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

    app/ideffort/mepic/id-programkind/enhancementmeta/enrichedpriority/normalqueue/queuedsource/humanstatus/blockedtask/triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions