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 — feat(atlas-worker): gated per-key purge route for the search cache (from #6805 policy) · Issue #8312 · developing-today/code

feat(atlas-worker): gated per-key purge route for the search cache (from #6805 policy) #8312

New issue
Copy link
New issue
Copy link
Closed
#12393
Closed
feat(atlas-worker): gated per-key purge route for the search cache (from #6805 policy)#8312
#12393
Copy link
Labels
epic/atlas-programReprioritization program epic (2026-11-12)status:done
Milestone
Atlas program

Description

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

Implementation follow-up for #6805 (Atlas search Worker cache policy). The decision record is on #6805 (task 14163, lane code-d, 2026-11-10). Of the adopted policy, exactly one piece is worth building now; the rest is deliberately deferred behind named scale triggers recorded on #6805.

Build now: gated manual purge route for the search cache

  • A gated Worker route that purges the cached entry for one query key (the per-query Durable Object in pkgs/atlas-search/worker/src/cache_do.ts), for "this result is wrong, drop it" operations. Per-prefix purge too if the key structure makes it trivial; if not, record why not on this issue.
  • Gate: same auth posture as the Worker's other non-public routes; purge is an operator action, never reachable from the search path.
  • A purge must be verifiable: after purge, the same query re-runs the fan-out and re-caches (test: seed entry -> purge -> next search is a miss that re-caches).

Explicitly NOT in scope (deferred behind triggers recorded on #6805)

  • Corpus-generation (registry epoch) key component: trigger = first same-space re-ingest changing >5% of chunks, or a user-visible stale-result complaint.
  • LRU eviction sweeper + index DO: trigger = 10,000 cached queries or 1 GB aggregate cache storage.
  • Any TTL: none, per Drew's standing order on Atlas search Worker cache: eviction & invalidation policy (follow-up to #6788) #6805.

Acceptance

  • Purge route merged with tests (purge-then-miss-re-cache; unauthenticated purge refused).
  • The two deferred triggers are restated in the Worker README or cache_do.ts header comment so they are discoverable where the code lives.

Activity

  1. dezren39
    added
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Nov 10, 2026
  2. developing-today commented on Nov 10, 2026

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

    CODE-2479

  3. dezren39
    added
    epic/atlas-programReprioritization program epic (2026-11-12)
    on Nov 12, 2026
  4. dezren39
    added this to the Atlas program milestone on Nov 12, 2026
  5. github-actions
    assigned
    dezren39
    on Nov 12, 2026
  6. dezren39
    added a parent issue on Nov 12, 2026
    • epic: Atlas program — unified search and memory index over every corpus #8983
  7. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    [agent: repo-worker-code / lane code-a, task 18633] Triage of #8312: build-now item confirmed unbuilt — routed as task 20117.

    Fresh checks (2026-11-17): issue OPEN (status/needs-triage, queue/queued, epic/atlas-program; no hold labels). The #6805 policy decision record (task 14163) stands: exactly one build-now piece — this gated per-key purge route — with the corpus-generation key component and the LRU sweeper deliberately deferred behind named triggers, and no TTL per Drew's standing order. Verified unbuilt: pkgs/atlas-search/worker/src/ (cache_do.ts, index.ts, key.ts, service.ts, space.ts) contains no purge code at all.

    Task 20117 carries the issue's own acceptance: gated purge route (same auth posture as the Worker's other non-public routes, never reachable from the search path), seed → purge → miss/re-cache and unauthenticated-refused tests, per-prefix purge if the key structure makes it trivial (else the reason recorded here), and the two deferred triggers restated in the Worker README or cache_do.ts header.

  8. dezren39 commented on Nov 18, 2026

    @dezren39
    dezren39
    on Nov 18, 2026
    MemberAuthor
    More actions

    Agent note (oc-code-05 scheduled lane, task 20117): the purge-route fix is blocked for Drew's decision. The issue is assigned to dezren39 and has no open PR. I did not start implementation without a release. Needed: an owner release or reroute. No code changed.

  9. dezren39
    removed their assignment
    on Nov 20, 2026
  10. 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 22, 2026
  11. dezren39 commented on Nov 22, 2026

    @dezren39
    dezren39
    on Nov 22, 2026
    MemberAuthor
    More actions

    agent-note:v1
    state: picked_up
    task: 20117
    lane: code-j (OpenChamber scheduled lane, worker repo-worker-code)
    stage: claimed -> fresh_revalidation

    Claimed task 20117 and recorded the required origin checkpoint. Fresh GitHub revalidation: #8312 and policy issue #6805 are OPEN; #8312 has no hard-stop labels, and no open matching PR was found. Resuming from the existing queue progress; next inspect and implement the auth-gated purge route.

  12. developing-today
    added
    status:in-review
    on Nov 22, 2026
  13. dezren39 commented on Nov 22, 2026

    @dezren39
    dezren39
    on Nov 22, 2026
    MemberAuthor
    More actions

    agent-note:v1
    state: pr_opened
    task: 20117
    lane: code-j (OpenChamber scheduled lane, worker repo-worker-code)
    pr: #12393

    Implementation and targeted verification are complete. PR #12393 adds bearer-gated per-key purge, documents why prefix purge is not supported by the SHA-256 key structure, and restates the deferred #6805 triggers. npm test passed (22/22), npm run typecheck passed, and git diff --check passed.

  14. dezren39
    closed this as completedin #12393on Nov 22, 2026
  15. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 22, 2026
  16. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 22, 2026
  17. dezren39 commented on Nov 22, 2026

    @dezren39
    dezren39
    on Nov 22, 2026
    MemberAuthor
    More actions

    agent-note:v1
    state: done
    task: 20117
    lane: code-j (OpenChamber scheduled lane, worker repo-worker-code)
    pr: #12393
    merge: 79c038f

    PR #12393 merged after fresh verification. npm test passed (22/22); npm run typecheck and git diff --check passed. Deferred-trigger documentation is in the Worker README; per-prefix purge is omitted because the SHA-256 key structure cannot be enumerated by prefix without a new index.

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

    epic/atlas-programReprioritization program epic (2026-11-12)status:done

    Type

    No type

    Projects

    No projects

      Milestone

      • Atlas programNo due date

      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.