Skip to content

id(peers): PR #3750 — the only fix for #1765 — is conflicting and untouched since 2026-11-01; shepherd it or supersede it #6944

Closed

Description

@dezren39

id(peers): PR #3750 — the only fix for #1765 — is conflicting and untouched since 2026-11-01; shepherd it or supersede it

Finding

PR #3750 ("id(peers): enforce the global --max-peers hard cap at every collection site (#1765)") is a stale-but-needed PR: it is the only implementation of the still-open issue #1765, it no longer merges, and it has had no movement since the day it was opened — while the bug it fixes is still live on current main.

Evidence

Why it matters

#1765 is a documented hard-cap contract that main still violates. The fix exists but is rotting: every week it sits conflicting, the rebase gets harder and the chance grows that someone re-implements it from scratch (or that the cap keeps being silently exceeded in the meantime).

Acceptance criteria

Activity

  1. added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    task/pr-shepherdQueue packet kind: shepherd an open PR or PR set to merge
    priority/normalOrdinary priority (the default)
    on Nov 7, 2026
  2. developing-today commented on Nov 7, 2026

    @developing-today
    Contributor
  3. added
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    effort/sSmall: expected under 2 hours of work
    on Nov 7, 2026
  4. dezren39 commented on Nov 8, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

  5. added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    work/assignedQueue worker lifecycle state
    and removed on Nov 8, 2026
  6. 29 remaining items

  7. developing-today commented on Nov 8, 2026

    @developing-today
    Contributor

    🤖 Agent note · done (follow-up pointer)

  8. added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Nov 8, 2026
  9. dezren39 commented on Nov 9, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · picked up — Agent: queue worker (repo-worker-code), lane code-d — Session/ID: task 11336, repo-queue-worker-shift-d 2026-11-09 1248 run. Task 11336 (pr_shepherd) for issue #6944: shepherding PR #3750 (only fix for issue #1765, --max-peers hard cap). Fresh check: issue #6944 OPEN, PR #3750 OPEN, no held/user/owned/do-not-merge/do-not-auto-edit labels on either; execution lane = direct (row 5618). Worktree /home/user/git/fleet/11336-3750 on branch queue/4794-1765-max-peers-cap @ e1cdae4. Plan: merge current main in and resolve the peers.rs conflict, fix the 3 open Codex P2 findings on PR #3750 (combined-merge update loss, crawl duplicate downgrading newer announcements, gossip collection cap discarding updates to RPC-retained peers), run offer_peer + crawl seed-cap tests, then merge under standing criteria.

  10. dezren39 commented on Nov 9, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · done — Agent: queue worker (repo-worker-code), lane code-d — Session/ID: task 11336, repo-queue-worker-shift-d 2026-11-09 1248 run. Task 11336 (pr_shepherd) COMPLETE fixed_merged: PR #3750 shepherded to merge — current main merged in (150d573, peers.rs conflict resolved keeping both the cap tests and main's abuse-report tests), all 3 Codex P2 findings dispositioned with replies on their threads (4516764262, 4516764642, 4516764985): findings 1–2 were already fixed in 3d6dde9 (merge_capped scan-past + offer_peer freshness guard, with tests); finding 3 (gossip collection cap discarding updates to RPC-retained peers) fixed in 8f0e820 + new regression test gossip_collection_keeps_updates_to_peers_retained_by_another_source. Verification on laptop: cargo test --lib commands::peers — 29 passed, 0 failed (offer_peer, merge_capped, crawl seed-cap tests included). PR #3750 MERGED as a3db48e; issue #1765 CLOSED by the merge — cap now enforced at seeds, RPC merges, crawl response merges, gossip collection and cmd_peers combined merges. Closing this shepherd issue #6944 as complete.

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)effort/sSmall: expected under 2 hours of workkind/bugSomething isn't working (prefixed form of the classic bug label)priority/normalOrdinary priority (the default)source/pr-diff-reviewFiled by the pr-diff-review jobstatus:donetask/pr-shepherdQueue packet kind: shepherd an open PR or PR set to merge

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions