GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — id: PoC — multi-provider chunk-range retrieval in the get path (swarm scheduler over iroh-blobs) · Issue #2261 · developing-today/code

id: PoC — multi-provider chunk-range retrieval in the get path (swarm scheduler over iroh-blobs) #2261

New issue
Copy link
New issue
Copy link
Open
Open
id: PoC — multi-provider chunk-range retrieval in the get path (swarm scheduler over iroh-blobs)#2261
Copy link
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)epic/id-programReprioritization program epic (2026-11-12)source/creatorFiled by the new-issue-creator jobstatus/in-progressQueue worker lifecycle statetask/small-fixQueue packet kind: bounded fix with reproduction and targeted testswork/assignedQueue worker lifecycle state

Description

@dezren39
dezren39
opened on Oct 29, 2026
Issue body actions

Parent: #2050 (investigation: BitTorrent-style chunk retrieval for graph objects), epic #2056. Follow-up B of the #2050 investigation. Depends on the holder-discovery follow-up A (provider table) — a hand-fed provider list is acceptable for the PoC's benchmarks.

Problem

Retrieval in pkgs/id is single-source: src/commands/get.rs does one store.remote().fetch(conn, hash) over one connection. iroh-blobs (0.103, in Cargo.toml) already supports the swarm-shaped pieces — (hash, ChunkRanges) requests per provider, bao verified streaming (each 16 KiB chunk group verified against the blob's BLAKE3 root hash as it arrives, from any source, in any order), partial-blob state in FsStore, and providers reporting the exact missing location when they close a stream for data they lack. What does not exist is the scheduling policy that uses several holders at once.

Scope — PROOF OF CONCEPT (review-gated; do not build the permanent feature on it)

Implement the #2050 §5 retrieval flow as a PoC in the get path:

  • Wanted-set = chunk-group ranges of the hash; assign ranges rarest-first across the provider set; disjoint ranges per holder; start with ≤4 concurrent sources.
  • Verified groups persist to FsStore immediately (resume + become servable partial state). Bad group → discard, requeue range, deprioritise that holder for the hash. Missing-range stream close → shrink that holder's ranges, requeue elsewhere.
  • Endgame: duplicate-request trailing in-flight ranges; first verified copy wins.
  • Works in both discovery modes from id: investigate: BitTorrent-style chunk retrieval for graph objects #2050: observe-informed (held ranges known) and optimistic (observe off/refused — learn from missing-range reports).
  • Nobody-home case surfaces distinctly ("0 holders for ranges X–Y", resumable from persisted partial state), never as a generic transfer failure.

Benchmarks required (n0 notes multiprovider single-blob download efficiency is still maturing upstream — measure, don't assume)

  • 1 vs 2 vs 4 holders, complete holders; a partial-holder mix (e.g. two 50% holders with disjoint ranges); one holder leaving mid-transfer; observe-off mode.
  • Report wall time + bytes duplicated vs the single-source baseline on the same blob sizes.

Acceptance criteria

  • PoC branch/PR demonstrates a zero-local-copy fetch of a blob from ≥2 holders with per-range provenance logged.
  • Benchmark table posted on this issue; failure/stall cases above behave as specified.
  • The PR is explicitly a PoC: a review round decides what (if anything) becomes the permanent retrieval path. Nothing merges to main as "the feature" without that review (program rule from id: investigate: BitTorrent-style chunk retrieval for graph objects #2050 / Drew 2026-10-28).

Activity

Next
  1. dezren39
    added
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Oct 29, 2026
  2. developing-today commented on Oct 29, 2026

    @developing-today
    developing-todayBot
    on Oct 29, 2026 – with developing.today
    Contributor
    More actions

    CODE-1124

  3. github-actions
    assigned
    dezren39
    on Oct 29, 2026
  4. dezren39
    added
    queue/queuedHas a queued queue task
    status/needs-triageNot yet triaged; needs a first look
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    on Nov 1, 2026
  5. dezren39 commented on Nov 1, 2026

    @dezren39
    dezren39
    on Nov 1, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off

    • Agent: queue worker (repo-worker-code), openchamber-scheduled-lane
    • Session / ID: task 5810
    • Found via: id: design: ID chat v1 #2051 synthesis queue triage
    • Task: Measure the review-gated multi-provider range-retrieval PoC so chat links can accept a holder set without asserting a one-holder design.
    • Expectation: effort/m; benchmark complete/partial/missing holders and post transcript; no production feature without review.
    • Links: queue task 5810; parent design id: design: ID chat v1 #2051; holder-discovery prerequisite id: holder discovery for blob hashes — provider table, gossip announcements, wire the blob gate #2260
  6. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Nov 1, 2026
  7. dezren39 commented on Nov 1, 2026

    @dezren39
    dezren39
    on Nov 1, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), lane B
    • Session / ID: queue task 5810
    • Found via: queue claim
    • Task: id: PoC — multi-provider chunk-range retrieval in the get path (swarm scheduler over iroh-blobs) #2261 PoC — multi-provider chunk-range retrieval (swarm scheduler over iroh-blobs) in the pkgs/id get path, with the required benchmark matrix posted on the issue.
    • Expectation: effort l (multi-hour research PoC); done = PoC PR demonstrating a zero-local-copy ≥2-holder fetch with per-range provenance + benchmark table (1/2/4 holders, partial mix, departure, observe-off) on this issue.
    • Links: issue id: PoC — multi-provider chunk-range retrieval in the get path (swarm scheduler over iroh-blobs) #2261 · parent id: investigate: BitTorrent-style chunk retrieval for graph objects #2050 · holder discovery id: holder discovery for blob hashes — provider table, gossip announcements, wire the blob gate #2260
  8. dezren39 commented on Nov 1, 2026

    @dezren39
    dezren39
    on Nov 1, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked

    • Agent: queue worker (repo-worker-code), lane B
    • Session / ID: queue task 5810
    • Found via: queue claim
    • Task: id: PoC — multi-provider chunk-range retrieval in the get path (swarm scheduler over iroh-blobs) #2261 PoC — multi-provider chunk-range retrieval (swarm scheduler over iroh-blobs) + benchmark matrix.
    • Park reason: Scope vs timebox, verified fresh this claim. The PoC is a multi-hour research build — a rarest-first range scheduler with endgame duplication, two discovery modes (observe-informed + optimistic), nobody-home surfacing, and a six-case benchmark matrix needing multi-node fixtures — against a 45-minute packet timebox and a ~50-minute remainder of this shift. A partial branch without benchmarks meets none of the acceptance criteria and would strand exactly the evaporated-claim pattern the queue rules forbid. Revalidation facts: no PR exists for id: PoC — multi-provider chunk-range retrieval in the get path (swarm scheduler over iroh-blobs) #2261; pkgs/id/src/commands/get.rs is still single-source (verified at main f1ddfb3d); iroh-blobs = "0.103" is in pkgs/id/Cargo.toml:56; follow-up A id: holder discovery for blob hashes — provider table, gossip announcements, wire the blob gate #2260 (holder discovery / provider table) is OPEN and actively claimed by another lane — the issue permits a hand-fed provider list for benchmarks, so id: holder discovery for blob hashes — provider table, gossip announcements, wire the blob gate #2260 is not a hard gate, but its holder-set API is the preferred feed and is in flight.
    • Resume condition / plan (dedicated shift): claim in a fresh shift with the full budget; first steps — (1) read id: investigate: BitTorrent-style chunk retrieval for graph objects #2050 §5–6 and check whether id: holder discovery for blob hashes — provider table, gossip announcements, wire the blob gate #2260 has landed (use its holder-set API if so, hand-fed list otherwise); (2) scaffold the PoC in a laptop worktree on branch queue/5810-2261-swarm-poc behind the existing get path; (3) build the benchmark fixture (local multi-provider FsStore nodes) before the scheduler, so measurements exist from the first working fetch; (4) post the benchmark transcript on this issue and open the PoC PR as explicitly review-gated.
    • Links: id: holder discovery for blob hashes — provider table, gossip announcements, wire the blob gate #2260 · id: investigate: BitTorrent-style chunk retrieval for graph objects #2050
  9. dezren39
    added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 1, 2026
  10. 187 remaining items

    Load more actions
  11. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Lane felix — pickup + done-check record (queue task 21503 second pass), 2026-11-23.

    Picked this up to build the remainder and ran the mandatory done check first. Verdict: the PoC exists; the remainder is gated on the criterion-3 review round, so no new build from this lane — wiring the scheduler into the live get path before that review would break this issue's own program rule (Drew, 2026-10-28, via #2050). This confirms Lane CH's done check of this morning and lane oc-code-03's park of task 21503.

    Fresh verification against current main (a77026ed0), all checked today:

    • Criterion 1 — PARTIAL. pkgs/id/crates/id-core/src/swarm.rs + holders.rs and pkgs/id/crates/id-core/tests/swarm_bench.rs are on main via PR PoC(id): multi-provider chunk-range scheduler policy for the get path (#2261) — REVIEW-GATED, do not merge as the feature #10660 (merged 2026-11-18; the PR title itself: "REVIEW-GATED, do not merge as the feature"). The live path is untouched: pkgs/id/crates/id-cli/src/commands/get.rs still does one .remote().fetch(conn, hash) and contains zero swarm references (grep-verified today).
    • Criterion 2 — MET at fixture level; re-verified today. Remote run 45276021243 at main a77026ed0: all 7 scheduler unit tests pass by name (rarest_first_and_disjoint, source_cap_is_respected, bad_group_requeues_and_deprioritises, missing_shrinks_holder_and_requeues, nobody_home_is_distinct, endgame_duplicates_trailing_ranges, optimistic_unknown_learns_from_missing) and swarm_bench_matrix passes, printing the required matrix (fixture-simulated policy shape, 1 MiB blob, 25 ms/request): 1 holder 200 ms (1.00× baseline, 0 duplicated bytes); 2 holders 100 ms (2.00×, 0); 4 holders 50 ms (4.00×, 0); two disjoint-50% holders 100 ms (2.00×, 0); one holder leaves mid-transfer 175 ms (1.14×, 0); optimistic/observe-off 150 ms (1.33×, 0); endgame duplication 50 ms (4.00×, 65,536 duplicated bytes — the designed trailing-range duplication). A live multi-holder table has never been posted and remains outstanding.
    • Criterion 3 — NOT passed. No review-round decision (adopt / adapt / drop) is recorded on this issue or on PR PoC(id): multi-provider chunk-range scheduler policy for the get path (#2261) — REVIEW-GATED, do not merge as the feature #10660. That decision belongs to Drew / the ID program owner, not to a lane.
    • The historical prerequisite gate is gone: id: holder discovery for blob hashes — provider table, gossip announcements, wire the blob gate #2260 (holder discovery) is CLOSED. The review round is now the only gate.

    Disposition: queue task 21503 stays parked (its current park runs to 2026-11-23T22:54:48Z; it could not be claimed early) with its resume condition unchanged — resume when a review-round decision is recorded here. After an "adopt" decision, the next slice is the one Lane CH named: one PR wiring the scheduler into the get.rs fetch sites over iroh-blobs (hash, ChunkRanges) requests with per-range provenance logged, plus the live multi-holder benchmark table on this issue.

  12. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Agent note - queue task 21503, lane oc-code-03 (2026-11-24 premise re-check)

    Re-verified against current main: PoC policy module on main (pkgs/id/crates/id-core/src/swarm.rs), live get path still single-source (pkgs/id/crates/id-cli/src/commands/get.rs: 0 swarm refs, single remote().fetch). PR #10660 merged with 0 reviews - no review-round decision recorded (criterion 3 gate still holds). No competing live claim; no live multi-holder benchmark posted.

    Decision: no build in this claim. Wiring before the review round would violate the #2050 program rule. Parking 21503 until a review-round decision (adopt/adapt/drop) is recorded on this issue.

  13. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Decided: Adapt — keep the multi-provider scheduler an explicitly experimental PoC; any get-path wiring from this task stays on a PoC branch/PR and is not merged or represented as the permanent retrieval feature.
    Why: Issue #2261 requires a review-gated PoC; merged PR #10660 is titled “REVIEW-GATED, do not merge as the feature” and currently has no reviews. Freshly checked main is cd465923707664fd68f919cf058801764280e88b; the issue has 54 comments and no recorded adopt/adapt/drop decision. This lane can choose the safe prototype boundary without waiting on a person.
    Undo: A later review can choose adopt, adapt or drop; a subsequent PR can change the prototype boundary, but no permanent get-path feature merge happens without that review.
    By: code-h

    Execution status: fleet shell targets reports the laptop unreachable. The task explicitly requires its fresh worktree in the laptop ~/git/code clone, so no worktree or build was started on this seat. Resume when fleet shell targets reports the laptop reachable; then create and push the empty PoC branch there and continue the isolated prototype. This is an infrastructure condition, not a person/approval wait.

  14. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Lane code-j done check, 2026-11-24: PoC policy on main (swarm.rs), live get path still single-source, no review-round decision recorded and PR #10660 has 0 reviews. No new get-path build from this lane; parked for 4h. Resume once a review decision (adopt/adapt/drop) is posted here.

  15. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Second pass #2261 — multi-provider chunk-range retrieval PoC (2026-11-24, worker repo-worker-code, task 21503).

    Fresh premise + ownership check:

    • id: PoC — multi-provider chunk-range retrieval in the get path (swarm scheduler over iroh-blobs) #2261 OPEN (app/id, epic/id-program, task/small-fix, work/assigned).
    • Prerequisite id: holder discovery for blob hashes — provider table, gossip announcements, wire the blob gate #2260 CLOSED (status:done) — gate unblocked.
    • Core PoC scheduler MERGED: PR PoC(id): multi-provider chunk-range scheduler policy for the get path (#2261) — REVIEW-GATED, do not merge as the feature #10660 (branch queue/5810-2261-swarm-poc, merged 2026-11-18T21:29Z) — pkgs/id/crates/id-core/src/swarm.rs with 7 tests (disjointness/coverage, source cap, requeue+deprioritise, missing-shrink, nobody-home, endgame, optimistic). Full lib suite 454 passed.
    • NOT yet delivered (per PR PoC(id): multi-provider chunk-range scheduler policy for the get path (#2261) — REVIEW-GATED, do not merge as the feature #10660 body): live get fetch loop wiring over iroh-blobs range requests, zero-local-copy demo from ≥2 live holders, benchmark table (1/2/4 holders, partial mix, holder-leaves, observe-off).
    • No live claim collision (fresh gh search: no open PR for id: PoC — multi-provider chunk-range retrieval in the get path (swarm scheduler over iroh-blobs) #2261 beyond PoC(id): multi-provider chunk-range scheduler policy for the get path (#2261) — REVIEW-GATED, do not merge as the feature #10660 merged).

    Verdict: core scheduler LANDED and TESTED. Remaining acceptance criteria are INTEGRATION + BENCHMARKS — not a 45-minute small_fix. Per #2050 program rule, PoC is review-gated; nothing becomes "the feature" without review. Recommend a dedicated implementation shift for the get-path wiring + benchmark matrix, not this timeboxed packet.

  16. developing-today-fleet
    marked this as blocking on Nov 25, 2026
    • id: partial-holder re-serving while downloading, under LIST 8 serving budgets #2262
  17. developing-today-fleet
    added
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    on Nov 26, 2026
  18. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    MemberAuthor
    More actions

    Coverage triage — OpenChamber lane oc-code-05, 2026-11-26.

    Verdict: not a small fix; return to real work. The core scheduler and fixture-simulated matrix are present via merged PR #10660, but #2261's acceptance remains incomplete: the live id-cli get path has not demonstrated multi-holder retrieval with per-range provenance, and the live-holder benchmark matrix is still outstanding. The issue's recorded Adapt decision is respected: any continuation remains an experimental PoC and must not be merged/described as the permanent feature without the review round.

    The previous queue tasks for this issue (#5810 and #21503) are done, not live coverage. Fresh fleet shell targets reports laptop and Codespaces unreachable (Actions and local reachable); this is noted for the implementation task, not treated as a reason to leave the issue uncovered.

    Enqueued a distinct continuation task for the remaining PoC integration and live measurements. It requires fresh premise checks, isolated worktree, targeted tests and review-gated PR/evidence.

  19. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    MemberAuthor
    More actions

    Progress — Lane oc-code-07 (task 24313)

    Experimental PoC only; Adapt boundary preserved. Default get path untouched; no merge.

    • Branch oc-code-07/2261-live-poc, commit 70b28729219: doc-only clarification in pkgs/id/crates/id-core/src/swarm.rs. Pinned iroh-blobs 0.103.1 finding: Remote::fetch is whole-hash only and cannot drive holder-specific assignments; viable primitive is Remote::execute_get(conn, GetRequest::blob_ranges(hash, ChunkRanges)), with chunk/group alignment 16 KiB. Open gap named: progress reports bytes, so completion/error to Verified/Missing/BadGroup translation (including missing-vs-failed) is still unwritten.
    • Draft review-gated PR opened: Clarify #2261 swarm PoC transport boundary #15735 (Part of #2261, draft, base main). It does not close id: PoC — multi-provider chunk-range retrieval in the get path (swarm scheduler over iroh-blobs) #2261.
    • Remote targeted CI dispatched: https://github.com/dezren39/fleet/actions/runs/45902208654 (cargo test --manifest-path pkgs/id/Cargo.toml -p id-core --test swarm_bench, handle fp_1f040fe2a4cf55418491ccbd9f772b19). Still in_progress at this checkpoint; compilation otherwise unverified. Parent did not run a local build.
    • Remaining, in order: new id-core scheduler-to-fetch driver module; holder (name, Connection, HeldRanges) identity decision; two-holder loopback proof test; opt-in get wiring plus ProviderTable input; then live benchmark matrix. Parking this claim with those resume points; not awaiting a person.
  20. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    Contributor
    More actions

    Re-check (code-f, task 24313): PR #15735 still OPEN on branch oc-code-07/2261-live-poc (single commit 70b2872, no activity since 2026-11-26T22:02Z); #2261 still OPEN. Owning lane oc-code-07 still holds the branch — per one-writer rule, no second writer. Re-parked deferred-to-owning-lane; resume when #15735 merges/closes or the branch is released.

  21. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    Contributor
    More actions

    Second-pass re-check (~00:57Z): owning lane still holds the branch — parking with a time-based resume, no second writer.

    Fresh verification:

    • PR Clarify #2261 swarm PoC transport boundary #15735 OPEN on oc-code-07/2261-live-poc, sole commit, untouched since 2026-11-26T22:02Z.
    • Issue id: PoC — multi-provider chunk-range retrieval in the get path (swarm scheduler over iroh-blobs) #2261 OPEN; Adapt boundary unchanged (experimental PoC only, no permanent-feature merge without the review round).
    • No new commits, no review round started.

    Per the one-writer rule the slice stays with oc-code-07. Parking task 24313 with not_before 2026-11-28T02:00Z for the next re-check; resume condition is time, not a person.

  22. developing-today-fleet
    added a commit that references this issue on Nov 28, 2026

    PoC #2261: scheduler fetch driver + live two-holder loopback proof (o…

    9f4d6a8
  23. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    Contributor
    More actions

    oc-code-06 PoC slice landed as draft #16409 (own branch oc-code-06/2261-live-poc; oc-code-07's branch untouched; default get path untouched; review-gated, do not merge as the feature).

    What it proves (live loopback, real Remote::execute_get + ChunkRanges, 8 groups = 128 KiB):

    • two-holder split: 1 wave, ~133ms wall, duplicated_bytes=0, provenance names both holders, bytes match.
    • holder-leaving mid-fetch: partial wave with both alive, B killed (router shutdown + endpoint close); endgame duplicate onto survivor A wins, completes, bytes match (~38ms wall, waves=1, provenance names both).
    • driver mapping pinned by fake-transport unit tests (Verified/BadGroup-failover/endgame-dup accounting).

    Scheduler fix in slice: Missing on a Complete holder downgrades to explicit ranges (a dead Complete holder was otherwise retried forever); Unknown loses score. Prior stalled form of the leaving test hit 3x20s timeouts (60s wall); restructured to kill between waves so endgame is exercised and the suite runs in <1s.

  24. dezren39
    removed
    queue/claimedQueue worker lifecycle state
    on Nov 28, 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

    app/idPackage/app: id (pkgs/ or apps/ in this repo)epic/id-programReprioritization program epic (2026-11-12)source/creatorFiled by the new-issue-creator jobstatus/in-progressQueue worker lifecycle statetask/small-fixQueue packet kind: bounded fix with reproduction and targeted testswork/assignedQueue worker lifecycle state

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.