Skip to content

docs(id/sync): PR #3188’s sync-selection clarifications never landed — sync_method docs still say range sync "adds itself when it merges"; PR conflicting since the crate split #4782

Closed

Description

@dezren39

Finding

PR #3188 ("docs(id): clarify sync selection and completion scope", head 25d46172a1) has been open and untouched since 2026-10-31T19:59Z and is now conflicting (mergeable=false): the crate split moved pkgs/id/src/sync_method.rs to pkgs/id/crates/id-core/src/sync_method.rs, so the PR can no longer land as-is. Its clarifications were never ported, and the stale text it was fixing is still on current main (a41cba35dd23):

  • pkgs/id/crates/id-core/src/sync_method.rs:14-18 still says the rule "is written against [SyncStats], so range sync's index can supply the numbers when it merges" and that a responder refuses range requests "until then" — but range sync merged long ago (Phase 3: /id-sync/1 is used by both range and LogSync handshakes #179, closed) and LogAndRange exists in the same file (:107), supporting SyncMethod::Range (test at :237).
  • pkgs/id/crates/id-core/src/sync_method.rs:100 still documents LogSyncOnly as "Runs LogSync only. Range sync (P3.1) adds itself here when it merges."
  • The event_sync.rs / log_sync.rs clarifications in docs(id): clarify sync selection and completion scope #3188 (serve uses range sessions on the event-sync ALPN without choose(); the topic-scoped handshake is a different path) are likewise not on main in that form.

Evidence

Why it matters

These module docs are the map new sync work reads first. Today they describe range sync as unmerged and range requests as refused, which is the opposite of the shipped system (LogAndRange, range sessions in event_sync.rs). A reader trusting them misjudges what choose() / SyncSupport can do in production. The stranded PR also sits in the open queue inviting a duplicate effort or an accidental conflicted rebase.

Acceptance criteria

Activity

  1. added
    kind/docsDocumentation improvement or addition
    task/pr-shepherdQueue packet kind: shepherd an open PR or PR set to merge
    priority/lowNice to have; do when convenient
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    effort/xsTrivial: expected under 30 minutes of work
    on Nov 3, 2026
  2. dezren39 commented on Nov 3, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · filed

  3. dezren39 commented on Nov 3, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · picked up

  4. dezren39 commented on Nov 3, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · done

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/xsTrivial: expected under 30 minutes of workkind/docsDocumentation improvement or additionpriority/lowNice to have; do when convenientsource/pr-diff-reviewFiled by the pr-diff-review jobtask/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