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 — Close PR #3678 as superseded by merged PR #3688 — both implement the #3013 subject_kind memoization from queue task 5518 · Issue #6608 · developing-today/code

Close PR #3678 as superseded by merged PR #3688 — both implement the #3013 subject_kind memoization from queue task 5518 #6608

New issue
Copy link
New issue
Copy link
Closed
Closed
Close PR #3678 as superseded by merged PR #3688 — both implement the #3013 subject_kind memoization from queue task 5518#6608
Copy link
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/xsTrivial: expected under 30 minutes of workkind/choreRoutine maintenance, housekeeping, dependency hygienepriority/lowNice to have; do when convenientsource/pr-diff-reviewFiled by the pr-diff-review jobstatus:donetask/pr-shepherdQueue packet kind: shepherd an open PR or PR set to merge

Description

@dezren39
dezren39
opened on Nov 6, 2026
Issue body actions

Finding

Open PR #3678 is a superseded duplicate of merged PR #3688. Both PRs implement the same fix for issue #3013 — memoize the subject_kind lookup in search_terms so it runs at most once per subject — from the same queue task (task 5518). Issue #3013 is CLOSED, the merged implementation is on current main, and PR #3678 is now conflicting and unmergeable. It should be closed as superseded, not merged.

Evidence

  • PR id(search): memoize subject_kind resolution in search_terms — at most once per subject (#3013) #3678 (id(search): memoize subject_kind resolution in search_terms — at most once per subject (#3013) #3678): OPEN, verified twice via REST this run — mergeable=false, mergeable_state=dirty; head 3453e65cb1 on branch queue/5518-3013-search-memoize; created 2026-11-01T12:34:40Z, last updated 2026-11-01T16:18:41Z. Body: "Fixes id(search): search_terms re-calls the subject_kind lookup once per SubjectKind term per subject — its doc promises at most once per subject, so a two-kind-term search does twice the store reads #3013. Queue task 5518".
  • PR id(search): memoize subject_kind resolution in search_terms (#3013) #3688 (id(search): memoize subject_kind resolution in search_terms (#3013) #3688): MERGED 2026-11-02T15:57:09Z, merge commit 54cbdaf9ce520f65a4c7dd2d2b3a2c108b6962cc, verified ancestor of current main afdad961081c8a0053b014f91ec36e470e96f4e4 (compare API: status ahead, behind_by 0). Body: "Fixes id(search): search_terms re-calls the subject_kind lookup once per SubjectKind term per subject — its doc promises at most once per subject, so a two-kind-term search does twice the store reads #3013 (queue task 5518)".
  • Same two files, same change: both diff against the identical base blob 7bec033cb of pkgs/id/src/search.rs and both add a per-call memo in search_terms (PR id(search): memoize subject_kind resolution in search_terms — at most once per subject (#3013) #3678: a RefCell<HashMap> kind_cache; PR id(search): memoize subject_kind resolution in search_terms (#3013) #3688: a plain HashMap kind_memo), and both add a test with the identical name test_search_terms_resolves_subject_kind_at_most_once_per_subject in pkgs/id/tests/search.rs — merging PR id(search): memoize subject_kind resolution in search_terms — at most once per subject (#3013) #3678 would conflict and would duplicate the test name.
  • Current main carries the merged version exactly: the blob sha of pkgs/id/src/search.rs on main is 53be0f5b3, which is PR id(search): memoize subject_kind resolution in search_terms (#3013) #3688's post-image blob (PR id(search): memoize subject_kind resolution in search_terms — at most once per subject (#3013) #3678's post-image is 977dd2f5a, not on main).
  • Issue id(search): search_terms re-calls the subject_kind lookup once per SubjectKind term per subject — its doc promises at most once per subject, so a two-kind-term search does twice the store reads #3013 is CLOSED (verified via REST this run).
  • Dedupe: issue searches for "3678" and for open pr-shepherd/superseded items this run found no existing issue tracking PR id(search): memoize subject_kind resolution in search_terms — at most once per subject (#3013) #3678's disposition; the only hit was issue id(search): search_terms re-calls the subject_kind lookup once per SubjectKind term per subject — its doc promises at most once per subject, so a two-kind-term search does twice the store reads #3013 itself (CLOSED).

Why it matters

No live defect — the fix is already on main. The risk is a future accidental merge attempt or rebase of PR #3678 duplicating the memoization (and colliding on the identical test name), plus open-list noise: the open PR reads as an unlanded fix for a closed issue.

Acceptance criteria

  • PR id(search): memoize subject_kind resolution in search_terms — at most once per subject (#3013) #3678 is closed (not merged) with a comment citing PR id(search): memoize subject_kind resolution in search_terms (#3013) #3688 and closed issue id(search): search_terms re-calls the subject_kind lookup once per SubjectKind term per subject — its doc promises at most once per subject, so a two-kind-term search does twice the store reads #3013 as the landing of the same queue task 5518 work.
  • Before closing, PR id(search): memoize subject_kind resolution in search_terms — at most once per subject (#3013) #3678's test variant is dispositioned: its two scenarios (duplicate kind terms in one call; a distinct kind term adding no new lookups within the same call) are confirmed covered by PR id(search): memoize subject_kind resolution in search_terms (#3013) #3688's merged test (3 kind terms incl. a duplicate, exactly 3 lookups, plus the single-term result check), or any genuinely uncovered scenario is ported in a separate small PR and the closing comment records the decision.
  • After closing, exactly one subject_kind memoization exists in pkgs/id/src/search.rs on main and issue id(search): search_terms re-calls the subject_kind lookup once per SubjectKind term per subject — its doc promises at most once per subject, so a two-kind-term search does twice the store reads #3013 remains closed.

Activity

  1. dezren39
    added
    kind/choreRoutine maintenance, housekeeping, dependency hygiene
    task/pr-shepherdQueue packet kind: shepherd an open PR or PR set to merge
    status/needs-triageNot yet triaged; needs a first look
    source/pr-diff-reviewFiled by the pr-diff-review job
    on Nov 6, 2026
  2. developing-today commented on Nov 6, 2026

    @developing-today
    developing-todayBot
    on Nov 6, 2026 – with developing.today
    Contributor
    More actions

    CODE-2016

  3. dezren39
    added
    priority/lowNice to have; do when convenient
    queue/queuedHas a queued queue task
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    effort/xsTrivial: expected under 30 minutes of work
    on Nov 6, 2026
  4. dezren39 commented on Nov 6, 2026

    @dezren39
    dezren39
    on Nov 6, 2026
    MemberAuthor
    More actions

    🤖 Agent note · state: filed

    • Agent: pr-diff-review job
    • Session / ID: pr-diff-review run 2026-11-06 13:24 CST
    • Found via: filed this run
    • Task: Shepherd the closure of superseded PR id(search): memoize subject_kind resolution in search_terms — at most once per subject (#3013) #3678 (same queue task 5518 finding set as merged PR id(search): memoize subject_kind resolution in search_terms (#3013) #3688 / closed issue id(search): search_terms re-calls the subject_kind lookup once per SubjectKind term per subject — its doc promises at most once per subject, so a two-kind-term search does twice the store reads #3013)
    • Expectation: effort xs — close PR id(search): memoize subject_kind resolution in search_terms — at most once per subject (#3013) #3678 with evidence; disposition its test variant against PR id(search): memoize subject_kind resolution in search_terms (#3013) #3688's merged test first
    • Links: PR id(search): memoize subject_kind resolution in search_terms — at most once per subject (#3013) #3678 (work subject), PR id(search): memoize subject_kind resolution in search_terms (#3013) #3688 (landed implementation), issue id(search): search_terms re-calls the subject_kind lookup once per SubjectKind term per subject — its doc promises at most once per subject, so a two-kind-term search does twice the store reads #3013 (closed)
  5. dezren39 commented on Nov 7, 2026

    @dezren39
    dezren39
    on Nov 7, 2026
    MemberAuthor
    More actions

    Picked up by repo-worker-code-w (Lane W, fallback mode — queue backend down; fallback marker protocol run manually via gh per doc/fleet/queue-fallback-mode.md).

    🤖 Agent note · picked up

    • Agent: repo-queue-worker Lane W (code-w), fallback mode
    • Task: Close PR #3678 as superseded by merged PR #3688 — both implement the #3013 subject_kind memoization from queue task 5518 #6608 (issue is the task in fallback mode; task/pr-shepherd, effort xs)
    • Stage: claimed — verifying PR id(search): memoize subject_kind resolution in search_terms — at most once per subject (#3013) #3678 vs merged PR id(search): memoize subject_kind resolution in search_terms (#3013) #3688 diff and test-variant coverage per the duplicate-PR protocol (§8: diff against canonical + salvage note on the canonical PR before closing), then closing id(search): memoize subject_kind resolution in search_terms — at most once per subject (#3013) #3678 as superseded
  6. dezren39
    added
    queue/claimedQueue worker lifecycle state
    work/assignedQueue 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 7, 2026
  7. dezren39 commented on Nov 7, 2026

    @dezren39
    dezren39
    on Nov 7, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), lane code-a — FALLBACK MODE (queue backend down; fallback claim marker on this issue is the claim of record)
    • Session / ID: cron repo-queue-worker-shift run 2026-11-06 19:20 CST; fallback worker id repo-worker-code-a (issue Close PR #3678 as superseded by merged PR #3688 — both implement the #3013 subject_kind memoization from queue task 5518 #6608 is the task in fallback mode)
    • Found via: fallback scan (queue/queued items in scan order)
    • Task: shepherd PR id(search): memoize subject_kind resolution in search_terms — at most once per subject (#3013) #3678 to closure as superseded by merged PR id(search): memoize subject_kind resolution in search_terms (#3013) #3688 (same task 5518 fix for issue id(search): search_terms re-calls the subject_kind lookup once per SubjectKind term per subject — its doc promises at most once per subject, so a two-kind-term search does twice the store reads #3013), per the duplicate-PR protocol: salvage-diff id(search): memoize subject_kind resolution in search_terms — at most once per subject (#3013) #3678 against the canonical id(search): memoize subject_kind resolution in search_terms (#3013) #3688 first (production + tests), disposition its test variant, then close with the dedupe note
    • Expectation: xs — done = salvage note on PR id(search): memoize subject_kind resolution in search_terms (#3013) #3688, PR id(search): memoize subject_kind resolution in search_terms — at most once per subject (#3013) #3678 closed (not merged) with the dedupe comment, single memoization verified on main
    • Links: PR id(search): memoize subject_kind resolution in search_terms — at most once per subject (#3013) #3678 (duplicate) · PR id(search): memoize subject_kind resolution in search_terms (#3013) #3688 (canonical, merged 54cbdaf9ce) · issue id(search): search_terms re-calls the subject_kind lookup once per SubjectKind term per subject — its doc promises at most once per subject, so a two-kind-term search does twice the store reads #3013 (closed)
  8. dezren39 commented on Nov 7, 2026

    @dezren39
    dezren39
    on Nov 7, 2026
    MemberAuthor
    More actions

    Stand-down note from queue worker lane code-a: my pickup note above raced lane code-w's fallback claim — the claim fold shows repo-worker-code-w holds the live claim on issue #6608 (claimed 2026-11-07T03:03:10Z), and my own claim attempt was refused (live_claim). I have done no work on PR #3678 beyond reading the two PR diffs locally, and I am standing down; the label state (status/in-progress added, status/needs-triage removed) matches the standard claim transition for the actual holder. — repo-worker-code-a

  9. dezren39 commented on Nov 7, 2026

    @dezren39
    dezren39
    on Nov 7, 2026
    MemberAuthor
    More actions

    Released by repo-worker-code-w (Lane W, fallback mode) — outcome: done. PR #3678 is CLOSED (not merged); salvage note posted on canonical PR #3688.

    🤖 Agent note · done

    • Agent: repo-queue-worker Lane W (code-w), fallback mode
    • Task: Close PR #3678 as superseded by merged PR #3688 — both implement the #3013 subject_kind memoization from queue task 5518 #6608 (task/pr-shepherd) — outcome: superseded duplicate closed
    • Verification (fresh, this shift): PR id(search): memoize subject_kind resolution in search_terms — at most once per subject (#3013) #3678 state=CLOSED with mergedAt=null; PR id(search): memoize subject_kind resolution in search_terms (#3013) #3688 MERGED 2026-11-02 (54cbdaf); issue id(search): search_terms re-calls the subject_kind lookup once per SubjectKind term per subject — its doc promises at most once per subject, so a two-kind-term search does twice the store reads #3013 remains CLOSED; origin/main pkgs/id/src/search.rs carries exactly one memoization (kind_memo, PR id(search): memoize subject_kind resolution in search_terms (#3013) #3688's version — kind_cache absent)
    • Salvage (duplicate-PR protocol §8): full diffs of both PRs read, not file lists — implementation nothing unique (RefCell wrapper, same semantics); id(search): memoize subject_kind resolution in search_terms — at most once per subject (#3013) #3678's two test scenarios confirmed covered by the merged test (3 kind terms incl. duplicate → exactly 3 lookups, plus single-term result check); the positive-hit-under-duplicates composition assessed and recorded on the salvage note, not ported. Salvage note: id(search): memoize subject_kind resolution in search_terms (#3013) #3688 (comment) · closing comment: id(search): memoize subject_kind resolution in search_terms — at most once per subject (#3013) #3678 (comment)
  10. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 7, 2026
  11. dezren39
    closed this as completedon Nov 7, 2026
  12. developing-today
    added
    status:done
    on Nov 7, 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)effort/xsTrivial: expected under 30 minutes of workkind/choreRoutine maintenance, housekeeping, dependency hygienepriority/lowNice to have; do when convenientsource/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

      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.