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 — pm-stack(aggregator): one lined-up task with a non-GitHub ref silently deletes the board's whole in-flight lane — inFlightBoardItems parseRef throws into an unlogged catch · Issue #6195 · developing-today/code

pm-stack(aggregator): one lined-up task with a non-GitHub ref silently deletes the board's whole in-flight lane — inFlightBoardItems parseRef throws into an unlogged catch #6195

New issue
Copy link
New issue
Copy link
Closed
Closed
pm-stack(aggregator): one lined-up task with a non-GitHub ref silently deletes the board's whole in-flight lane — inFlightBoardItems parseRef throws into an unlogged catch#6195
Copy link
Assignees
dezren39
Labels
app/pm-stackpm-stack (Pad/Grist) in developing-today/codekind/bugSomething isn't working (prefixed form of the classic bug label)priority/normalOrdinary priority (the default)source/creatorFiled by the new-issue-creator jobsource/design-architectFiled by the repo design architect jobstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

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

Summary

pm-stack/aggregator — one orchestration-section lined-up task carrying a non-GitHub ref silently deletes the board's entire orchestrator in-flight lane. inFlightBoardItems (src/sources/live.ts:605) calls parseRef unguarded on the task's ref while reshaping work items into board items; parseRef throws on anything that is not owner/repo#N. The only caller wraps the lane assembly in a catch that swallows the error with no log line, so the board renders with the Kaneo cards alone and no trace anywhere — no 500, no provenance note, no console output — while every other lined-up task in the section is healthy.

This is the board-lane sibling of #6174 (the same input class 500ing /today): different consumer, different failure mode, broader reach. #6174's acceptance criteria can be fully satisfied by guarding the Today objectives render and this defect would remain.

Evidence (verified this run, laptop primary @f78551465f)

Chain of the defect, all on current main f78551465f888b21620d9834394819af1c1624b3:

  • src/feed.ts:223 isLinedUpElement — the per-element gate for goal linedUp arrays — checks title, horizon, status, horizonWhy, but never ref (not even its type), so a goal-id string, a bare number string, or a non-string all pass isOrchestrationSection. (Same gate gap as pm-stack(aggregator): /today render 500s on a lined-up task with a non-GitHub ref — objectives call refUrl unguarded and the section gate never checks linedUp ref #6174.)
  • src/work-items.ts:191 assembleWorkItems copies ref: task.ref onto the canonical work item with no validity check.
  • src/sources/live.ts:621 inFlightBoardItems adds item.ref to the item's refs unfiltered (title-derived refs go through refsInText/isValidRef and are safe; the task's own ref does not), and :634 computes the board item's repo as parseRef(remainingRefs[0]).repo — the unguarded throw site. Any invalid task ref is necessarily remainingRefs[0]: it is added first, and it can never be deduped away against existing board links.
  • src/sources/live.ts:1173-1184 — the board source calls inFlightBoardItems(orchSection, merged) inside try { … } catch { /* the Kaneo board still renders without the lane */ }: the throw is swallowed silently (contrast the kaneo change-diff warning a few lines above, which logs), provenance is never annotated, and the lane merge is skipped wholesale — healthy tasks in the same section vanish with the poisoned one.

Probe (laptop, ~/git/fleet/probe-inflight-ref/probe.ts, bun, importing the real src/feed.ts and src/sources/live.ts at f78551465f; section built on the test/board-in-flight.test.ts fixture shape, task status in-progress, horizon tomorrow — the lane is not horizon-gated, unlike /today):

PROBE goal-id ref: validator=true -> THREW Error: not a repo-qualified ref: goal_a243772844c3
PROBE numeric ref: validator=true -> THREW Error: not a repo-qualified ref: 12345
PROBE bare-number string ref: validator=true -> THREW Error: not a repo-qualified ref: 812
PROBE good + poisoned mix: validator=true -> THREW Error: not a repo-qualified ref: goal_a243772844c3
PROBE control github ref: validator=true -> returned 1 item(s): [{repo: "developing-today/code", links: [{ref: "developing-today/code#812"}]}]
PROBE control no ref: validator=true -> returned 1 item(s): [{repo: "developing-today/code", links: [{ref: "developing-today/code#944"}, {ref: "developing-today/code#985"}]}]

The mix case is the operational one: a single poisoned task throws for the whole section, so the fail-soft catch drops every in-flight entry, not just the bad one.

Why it matters

The in-flight lane is the board's only view of work being done now (the Kaneo cards under it are a completion record — render.ts says so explicitly). The orchestration section is republished by an external job every run, and #6149/#6174 established that this publisher does put goal ids into ref fields in live data. When that happens on a lined-up task, the board silently reverts to showing only the completion record: the failure is invisible in the UI, in provenance, and in the logs, so it can persist for as long as the poisoned task stays lined up (up to its horizon window) with nobody able to see that anything is wrong. A loud 500 (#6174) at least announces itself; this one falsifies the board quietly.

Acceptance criteria

  • A validator-passing section whose lined-up task carries a non-GitHub ref (goal id, bare number, or non-string) no longer throws in inFlightBoardItems; the poisoned task renders title-only (or with its valid title-derived refs), and every other lined-up task in the section still appears in the lane
  • A valid owner/repo#N lined-up ref still produces a linked board item with the correct repo (control case), and title-derived refs behave as before
  • The board source's lane catch (or the chosen fix layer) leaves an observable trace when a ref is dropped or the lane assembly fails — a log line or provenance note — so a future lane loss is diagnosable from the running service
  • Pinning tests in test/board-in-flight.test.ts cover the goal-id ref, the non-string ref, and the good + poisoned mix (lane survives with the healthy task present)
  • The bun test aggregator suite passes

Related

  • pm-stack(aggregator): /today render 500s on a lined-up task with a non-GitHub ref — objectives call refUrl unguarded and the section gate never checks linedUp ref #6174 — the /today sibling: same gate gap (linedUp[].ref unchecked), different consumer (todayFromSection → objectives render), different failure mode (a loud 500 on one page vs a silent whole-lane loss on the board). Fixing the gate in pm-stack(aggregator): /today render 500s on a lined-up task with a non-GitHub ref — objectives call refUrl unguarded and the section gate never checks linedUp ref #6174 would also close this; a render-site-only fix there would not — the PR that closes either should state which layer it chose and check the other consumer.
  • PR fix(aggregator): Needs-you render no longer 500s on a tier item with a non-GitHub ref #6149 — the tier-card fix for this class on the Needs-you page (isValidRef guard + plain-text treatment).
  • pm-stack(aggregator): validateNewComment/validateNewAction accept ref keys parseRef rejects (GH_REF number unbounded) #4952 — the shared isValidRef rule the guarded sites route through.
  • aggregator(orchestration): section gate never checks tier/goal array elements — a [null] tier item or goal task passes validation and crashes buildAttention/todayFromSection #2417 / aggregator(feed): isGoalMeasurement passes goals todayFromSection crashes or falsifies on — elements and goal/momentum/summary never checked #3897 — the section-gate element-validation line this gap continues.

Scope notes

  • Filed-only from the creator lane; not self-solved (the fix layer — section gate vs assembleWorkItems vs inFlightBoardItems, shared with pm-stack(aggregator): /today render 500s on a lined-up task with a non-GitHub ref — objectives call refUrl unguarded and the section gate never checks linedUp ref #6174 — and the observability treatment of the silent catch are design calls for one deliberate pass).

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
    source/creatorFiled by the new-issue-creator job
    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-1805

  3. dezren39
    added
    queue/queuedHas a queued queue task
    app/pm-stackpm-stack (Pad/Grist) in developing-today/code
    on Nov 5, 2026
  4. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    🤖 Agent note · filed

    • Agent: new-issue-creator job (lane B, new-issue-creator-code-b)
    • Session / ID: cron job new-issue-creator-code-b, run 2026-11-05 04:20 CST
    • Found via: filed this run
    • Task: Filed this verified finding: a lined-up task with a non-GitHub ref throws in inFlightBoardItems and the board source's silent catch drops the whole in-flight lane. Enqueueing a triage packet to repo-health-code-pilot.
    • Expectation: effort s — triage confirms the fix layer (section gate vs assembleWorkItems vs inFlightBoardItems, shared with pm-stack(aggregator): /today render 500s on a lined-up task with a non-GitHub ref — objectives call refUrl unguarded and the section gate never checks linedUp ref #6174) and the lane-loss observability treatment; done when the lane survives a poisoned ref with pinning tests.
    • Links: probe ~/git/fleet/probe-inflight-ref (laptop); sibling pm-stack(aggregator): /today render 500s on a lined-up task with a non-GitHub ref — objectives call refUrl unguarded and the section gate never checks linedUp ref #6174
  5. 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 5, 2026
  6. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), lane code-j
    • Session / ID: task 9997
    • Found via: queue claim
    • Task: Triage for issue pm-stack(aggregator): one lined-up task with a non-GitHub ref silently deletes the board's whole in-flight lane — inFlightBoardItems parseRef throws into an unlogged catch #6195 — verify the inFlightBoardItems non-GitHub-ref throw and silent lane-drop evidence against fresh code, confirm routing to a fix task.
    • Expectation: s — done = findings comment posted, fix follow-up enqueued, task 9997 completed as triaged.
    • Links: n/a yet
  7. 35 remaining items

  8. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    Agent note - handed off

    • Agent: opencode claimant (opencode-claimant)
    • Session / ID: queue task 9999; bound session ses_e5e5345c4aaffeikpWiaZ39mIa
    • Found via: queue task handoff on the opencode execution lane
    • Task: Fix pm-stack(aggregator): one lined-up task with a non-GitHub ref silently deletes the board's whole in-flight lane — inFlightBoardItems parseRef throws into an unlogged catch #6195: inFlightBoardItems tolerates non-GitHub lined-up refs (title-only item, lane survives, traced catch)
    • Expectation: the bound worker session works task 9999 to a terminal queue state and must not claim another task. It revalidates the issue/PR before acting.
    • Links: pm-stack(aggregator): one lined-up task with a non-GitHub ref silently deletes the board's whole in-flight lane — inFlightBoardItems parseRef throws into an unlogged catch #6195
  9. dezren39
    added
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 5, 2026
  10. dezren39 commented on Nov 7, 2026

    @dezren39
    dezren39
    on Nov 7, 2026
    MemberAuthor
    More actions

    Picked up by repo-worker-code-n — working this now. (Fleet queue fallback mode: the queue backend is down, so this issue's comments carry the claim. The claim stays live while repo-worker-code-n posts progress markers; after 30 minutes of silence any other worker may pick this up.)

    Lane code-n fallback shift: broker task 9999's claimant left PR #6334 open; resuming at the PR — review, Codex disposition, merge decision, closing verbs.

  11. dezren39 commented on Nov 7, 2026

    @dezren39
    dezren39
    on Nov 7, 2026
    MemberAuthor
    More actions

    Agent note - picked up (resumed)

    • Agent: repo-worker-code-n (queue worker lane code-n, fallback mode — queue backend down, code#6619 protocol; claim marker on this issue)
    • Found via: fallback scan; revalidation found broker task 9999's claimant branch queue/9999-6195-inflight-board-nongithub and its open PR fix(pm-aggregator): tolerate invalid in-flight refs #6334 — the implementation exists, the closing verbs evaporated with the outage
    • Task: Resume pm-stack(aggregator): one lined-up task with a non-GitHub ref silently deletes the board's whole in-flight lane — inFlightBoardItems parseRef throws into an unlogged catch #6195 at the PR: review PR fix(pm-aggregator): tolerate invalid in-flight refs #6334 against this issue's acceptance criteria, disposition any Codex findings, verify checks/tests, merge under the standing criteria if good, and finish the terminal bookkeeping
    • Expectation: PR fix(pm-aggregator): tolerate invalid in-flight refs #6334 merged (or a concrete blocker posted here), this issue closed or released with the outcome named
  12. dezren39 commented on Nov 7, 2026

    @dezren39
    dezren39
    on Nov 7, 2026
    MemberAuthor
    More actions

    Progress from repo-worker-code-n: resumed: PR #6334 diff reviewed (isValidRef guard + log trace + 5 pinning tests; no Codex comments on the PR); branch merged with current main cleanly in laptop worktree ~/git/fleet/wt-6195; next: run board-in-flight tests + aggregator suite on the laptop

  13. dezren39 commented on Nov 7, 2026

    @dezren39
    dezren39
    on Nov 7, 2026
    MemberAuthor
    More actions

    Agent note - done

    • Agent: repo-worker-code-n (queue worker lane code-n, fallback mode)
    • Task: pm-stack(aggregator): one lined-up task with a non-GitHub ref silently deletes the board's whole in-flight lane — inFlightBoardItems parseRef throws into an unlogged catch #6195 small-fix — resumed at PR fix(pm-aggregator): tolerate invalid in-flight refs #6334 (broker task 9999's stranded PR)
    • Outcome: PR fix(pm-aggregator): tolerate invalid in-flight refs #6334 MERGED (merge commit 1dfe31bb30dc391b4396de57802a9b067b3e6507, 2026-11-07T01:52Z). All acceptance criteria met: invalid lined-up refs (goal-id, bare number, non-string) are dropped via isValidRef and render title-only; healthy tasks in the same section survive; valid refs still link with the correct repo; every dropped ref leaves a console.error trace; pinning tests added in test/board-in-flight.test.ts.
    • Tests: targeted file on laptop at merged-with-main head — 14 pass / 4 fail vs clean main 9 pass / 4 fail with the identical 4 pre-existing failures (repo-alias drift, tracked in aggregator: 7 tests fail on clean main (board-in-flight, program #1126, source-gate #1195) — fixture drift or regression verdicts owed #6245); all 5 new tests pass. Full aggregator suite: failing-test name sets identical between clean main and the PR branch — zero regressions. No Codex findings existed on the PR.
    • Follow-ups: none from this fix. pm-stack(aggregator): board render throws on a lined-up task whose title carries an unsafe-integer ref in a non-first link — titleRefs mints refs parseRef rejects, inFlightBoardItems validates only the first #6210 may be covered by the all-refs validation but is left for its own verification pass.
  14. dezren39
    closed this as completedon Nov 7, 2026
  15. dezren39 commented on Nov 7, 2026

    @dezren39
    dezren39
    on Nov 7, 2026
    MemberAuthor
    More actions

    Released by repo-worker-code-n (outcome: done). Fixed and merged: PR #6334 (merge 1dfe31b) — inFlightBoardItems validates every candidate ref via isValidRef, drops invalid refs with a console.error trace, renders poisoned tasks title-only and keeps healthy lane items. Targeted tests 14 pass with only the 4 pre-existing main failures (#6245); full aggregator suite failure sets identical to clean main (zero regressions); no Codex findings on the PR. Issue #6195 closed.

  16. developing-today
    added
    status:done
    on Nov 7, 2026
  17. dezren39
    removed
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    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

  • @dezren39
    dezren39

Labels

app/pm-stackpm-stack (Pad/Grist) in developing-today/codekind/bugSomething isn't working (prefixed form of the classic bug label)priority/normalOrdinary priority (the default)source/creatorFiled by the new-issue-creator jobsource/design-architectFiled by the repo design architect jobstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

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.