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 — fix(id/worker-poc): post-update-failure smoke fails on clean main — MemoryJournal stub misses worker.ts SELECT step query · Issue #6373 · developing-today/code

fix(id/worker-poc): post-update-failure smoke fails on clean main — MemoryJournal stub misses worker.ts SELECT step query #6373

New issue
Copy link
New issue
Copy link
Closed
#8103
Closed
fix(id/worker-poc): post-update-failure smoke fails on clean main — MemoryJournal stub misses worker.ts SELECT step query#6373
#8103
Copy link
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)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/queue-workerFiled or worked by the queue/worker pilotstatus:donetask/triageQueue packet kind: verify, reproduce, and route this item

Description

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

Bug: worker-poc smoke/post-update-failure.mjs fails on clean main — MemoryJournal stub doesn't handle worker.ts's SELECT step FROM journal query

Reproduced on clean origin/main @ 03d1a21eae (no local changes), laptop Node v24.21.0:

cd pkgs/id/worker-poc
node smoke/post-update-failure.mjs
# Error: unexpected SQL: SELECT step FROM journal ORDER BY step DESC LIMIT 1
#     at MemoryJournal.exec (smoke/post-update-failure.mjs:37)
#     at WorldObject.handle (src/worker.ts:128)

Cause

pkgs/id/worker-poc/src/worker.ts:128 issues SELECT step FROM journal ORDER BY step DESC LIMIT 1 (added by 999414c "fix(worker-poc): report journal step on cold start"). The smoke's MemoryJournal.exec stub handles the SELECT step, snapshot FROM journal ... shape (worker.ts:98) and the journal INSERT, but not the SELECT step FROM journal ... shape, so it throws unexpected SQL.

Verified pre-existing: the failure reproduces identically with all local changes stashed (found during task 10764 / issue #6372, which only wires participant-validation into the smoke chain — no source or smoke-file changes). counter-smoke and participant-validation are green on the same tree.

Acceptance

  • MemoryJournal in smoke/post-update-failure.mjs handles the SELECT step FROM journal ORDER BY step DESC LIMIT 1 query (returns the latest step), or worker.ts's query is aligned with the shapes the stub supports.
  • node smoke/post-update-failure.mjs passes on clean main.
  • npm run smoke in pkgs/id/worker-poc runs the full chain green.

Acceptance criteria

  • node smoke/post-update-failure.mjs in pkgs/id/worker-poc passes on clean main.
  • The smoke's MemoryJournal stub handles the SELECT step FROM journal ORDER BY step DESC LIMIT 1 query shape that src/worker.ts issues on cold start, returning the latest journaled step.
  • The neighbouring smokes (counter-smoke, participant-validation) still pass, and no production behaviour in src/worker.ts changes.

Activity

Next
  1. dezren39
    added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    task/triageQueue packet kind: verify, reproduce, and route this item
    status/needs-triageNot yet triaged; needs a first look
    priority/normalOrdinary priority (the default)
    on Nov 5, 2026
  2. developing-today commented on Nov 5, 2026

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

    CODE-1891

  3. dezren39
    added
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Nov 5, 2026
  4. developing-today commented on Nov 6, 2026

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

    Intake review

    Fleet monitor intake (§5 pass), 2026-11-05 run.

    • Still live: merged-PR searches found no fix; PR ci(id/worker-poc): wire participant-validation smoke into entry points (#6372) #6374 (the issue ci(id/worker-poc): participant-validation.mjs — the #4074 regression smoke — has no entry point: not in the smoke chain, no script of its own, absent from the README #6372 wiring) only exposed this failure. The body's repro on clean origin/main @ 03d1a21eae is fresh and self-contained.
    • Related: issue ci(id/worker-poc): participant-validation.mjs — the #4074 regression smoke — has no entry point: not in the smoke chain, no script of its own, absent from the README #6372 (the participant-validation wiring task that surfaced this), commit 999414c1ab (added the cold-start step query the stub never learned).
    • Notes: root cause is already pinned in the body — MemoryJournal.exec handles the SELECT step, snapshot … shape and the INSERT, but not the SELECT step FROM journal … shape from worker.ts:128. This is a stub-fidelity bug in the smoke, not a worker bug.
    • Risks: low. The main risk is a stub fix that hard-codes a step value and silently stops exercising the cold-start path — the stub should answer from its journaled rows.
    • Suggested approach: extend MemoryJournal.exec to recognise the step-only query and return the max journaled step (or an empty result when no rows exist, matching a fresh journal), then run the full smoke chain.
  5. developing-today
    added
    effort/sSmall: expected under 2 hours of work
    source/queue-workerFiled or worked by the queue/worker pilot
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Nov 6, 2026
  6. dezren39
    added
    queue/queuedHas a queued queue task
    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
    on Nov 6, 2026
  7. 164 remaining items

    Load more actions
  8. dezren39 commented on Nov 10, 2026

    @dezren39
    dezren39
    on Nov 10, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off

    • Agent: queue worker (repo-worker-code), lane code-h
    • Session / ID: task 11169
    • Found via: queue claim
    • Task: execution-lane assignment per runbook §1b: assigned_lane=opencode (lane row 3465); handing task 11169 to the laptop opencode claimant — this lane does not work it directly.
    • Expectation: claimant launches the bound opencode session for task 11169 (issue fix(id/worker-poc): post-update-failure smoke fails on clean main — MemoryJournal stub misses worker.ts SELECT step query #6373); session drives it to a terminal state. Fresh revalidation: issue fix(id/worker-poc): post-update-failure smoke fails on clean main — MemoryJournal stub misses worker.ts SELECT step query #6373 OPEN, no hard-stop labels (fresh gh 2026-11-10T01:16:43Z). Attempts 5/6. Near max attempts; claimant launch is urgent.
    • Links: issue fix(id/worker-poc): post-update-failure smoke fails on clean main — MemoryJournal stub misses worker.ts SELECT step query #6373
  9. dezren39
    added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Nov 10, 2026
  10. dezren39 commented on Nov 10, 2026

    @dezren39
    dezren39
    on Nov 10, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off

    • Agent: repo queue worker, lane code-j (repo-worker-code)
    • Session / ID: cron repo-queue-worker-shift-j run 2026-11-09; task 11169
    • Found via: queue claim · task 11169
    • Task: task 11169 for issue fix(id/worker-poc): post-update-failure smoke fails on clean main — MemoryJournal stub misses worker.ts SELECT step query #6373 (kind triage). Fresh check: issue fix(id/worker-poc): post-update-failure smoke fails on clean main — MemoryJournal stub misses worker.ts SELECT step query #6373 is OPEN, no hard-stop labels (held / user/owned / do-not-merge / do-not-auto-edit). Attempts 5/6 on this claim. Execution-lane assignment row 3465 returned opencode — handed off to the opencode claimant, which launches the bound opencode session; this lane does not work it directly.
    • Expectation: claimant session drives task 11169 to a terminal state.
    • Links: task 11169 · issue fix(id/worker-poc): post-update-failure smoke fails on clean main — MemoryJournal stub misses worker.ts SELECT step query #6373
  11. dezren39 commented on Nov 10, 2026

    @dezren39
    dezren39
    on Nov 10, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off

    • Agent: repo queue worker, lane code-j (repo-worker-code)
    • Session / ID: cron repo-queue-worker-shift-j run 2026-11-09 20:30 CST; task 11169
    • Found via: queue claim · task 11169
    • Task: task 11169 for issue fix(id/worker-poc): post-update-failure smoke fails on clean main — MemoryJournal stub misses worker.ts SELECT step query #6373 (triage). Fresh check: issue fix(id/worker-poc): post-update-failure smoke fails on clean main — MemoryJournal stub misses worker.ts SELECT step query #6373 is OPEN, no hard-stop labels (held / user/owned / do-not-merge / do-not-auto-edit). Attempts 5/6 on this claim. Execution-lane assignment row 3465 returned opencode - handed off to the opencode claimant, which launches the bound opencode session; this lane does not work it directly.
    • Expectation: claimant session drives task 11169 to a terminal state.
    • Links: task 11169 · issue fix(id/worker-poc): post-update-failure smoke fails on clean main — MemoryJournal stub misses worker.ts SELECT step query #6373
  12. developing-today
    added
    status:in-review
    on Nov 10, 2026
  13. dezren39
    closed this as completedin #8103on Nov 10, 2026
  14. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 10, 2026
  15. dezren39 commented on Nov 10, 2026

    @dezren39
    dezren39
    on Nov 10, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done — Agent: queue worker (repo-worker-code), lane code-b — Session/ID: task 14470, repo-queue-worker-shift-b 2026-11-09 run. Task 14470 (small_fix, direct lane row 5664) for issue #6373: fixed and merged. The MemoryJournal stub in pkgs/id/worker-poc/smoke/post-update-failure.mjs now handles the SELECT step FROM journal ORDER BY step DESC LIMIT 1 query issued by src/worker.ts:128 on cold start, returning the latest journaled step; no production behaviour changed. Reproduced the failure on clean main (02f4ece) before the fix; after the fix node smoke/post-update-failure.mjs passes and npm run smoke in pkgs/id/worker-poc runs the full chain green (counter-smoke, participant-clamp, post-update-failure, participant-validation). PR #8103 merged, merge sha 321ae7e; issue #6373 CLOSED by the merge. Codex review produced no findings (usage-limits notice only).

  16. dezren39
    removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    work/assignedQueue worker lifecycle state
    on Nov 10, 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/sSmall: expected under 2 hours of workkind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/queue-workerFiled or worked by the queue/worker pilotstatus:donetask/triageQueue packet kind: verify, reproduce, and route this item

    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.