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 — claimant(poll): terminal roots with malformed timestamps block all launches — check terminal markers before timing (from PR #8692) · Issue #8853 · developing-today/code

claimant(poll): terminal roots with malformed timestamps block all launches — check terminal markers before timing (from PR #8692) #8853

New issue
Copy link
New issue
Copy link
Closed
#8878
Closed
claimant(poll): terminal roots with malformed timestamps block all launches — check terminal markers before timing (from PR #8692)#8853
#8878
Copy link
Labels
app/pm-stackpm-stack (Pad/Grist) in developing-today/codeepic/pm-stackReprioritization program epic (2026-11-12)kind/bugSomething isn't working (prefixed form of the classic bug label)priority/normalOrdinary priority (the default)source/pr-comment-reviewFiled by the pr-comment-review jobstatus:in-reviewtask/triageQueue packet kind: verify, reproduce, and route this item
Milestone
PM stack coherence

Description

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

Finding (unaddressed PR review comment)

Codex P2 on merged PR #8692 — comment #8692 (comment) by chatgpt-codex-connector[bot], 2026-11-11T14:03:33Z, at pm-stack/opencode-claimant/poll.py:260:

Check terminal markers before requiring readable timestamps — When a root outside active_ids has a terminal marker but a malformed timestamp—for example, time={"idle": 123, "updated": "bad"}—this now returns unknown before checking the marker. Previously, that root was correctly excluded without inspecting its timestamp. summarize_cap() consequently reports cap_room=None, preventing all claimant launches; because finished roots remain in the session list indefinitely, one such record can persistently block the fleet. Keep active-set membership authoritative, but check available terminal markers before requiring readable activity timestamps.

No-response evidence

  • PR fix(claimant): shape-guard session time fields in poll.py (#6868) #8692 merged; the flagged code merged in the reviewed shape.
  • Fresh re-read (2026-11-11, this run): the PR's only inline comment is this Codex original, with no replies; no conversation comment addresses it.
  • GraphQL reviewThreads check: the thread is unresolved.
  • Searched open and closed issues for "8692", "4538831312", and "poll.py terminal markers" — no existing issue covers this finding (parent issue opencode-claimant(poll): a session entry with a wrong-shaped time crashes all of poll.py — one malformed session kills candidate discovery for every queue #6868 is the session-timing change this PR implemented; it does not cover this ordering defect).

Still live on current main (verified 2026-11-11, two gh api reads)

pm-stack/opencode-claimant/poll.py on main: _active_root_state (lines ~258–263) still calls _session_timing(s) and returns None (unknown) when it is None, before checking idle or s.get("outcome"). _session_timing (lines ~169–199) returns None when a present updated/created value is non-numeric, even when time.idle is present. count_active_roots propagates None, and summarize_cap then reports cap_room=None, so one finished root with a malformed timestamp persistently blocks all claimant launches.

Acceptance criteria

  • A root outside active_ids that carries a terminal marker (time.idle or outcome) is classified inactive without requiring a readable activity timestamp, while active-set membership stays authoritative and genuinely undecidable roots still fail closed — or the finding is resolved by a documented decision on this issue.
  • Regression coverage exists for a terminal root with a malformed timestamp (e.g. time={"idle": 123, "updated": "bad"}) not blocking cap room.

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
    on Nov 12, 2026
  2. developing-today commented on Nov 12, 2026

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

    CODE-2670

  3. dezren39
    added
    priority/normalOrdinary priority (the default)
    queue/queuedHas a queued queue task
    app/pm-stackpm-stack (Pad/Grist) in developing-today/code
    source/pr-comment-reviewFiled by the pr-comment-review job
    on Nov 12, 2026
  4. dezren39 commented on Nov 12, 2026

    @dezren39
    dezren39
    on Nov 12, 2026
    MemberAuthor
    More actions

    🤖 Agent note · filed

    • Agent: pr-comment-review job
    • Session / ID: pr-comment-review job, run 2026-11-11 23:54 CST
    • Found via: unaddressed PR comment — fix(claimant): shape-guard session time fields in poll.py (#6868) #8692 (comment)
    • Task: Triage issue claimant(poll): terminal roots with malformed timestamps block all launches — check terminal markers before timing (from PR #8692) #8853: unaddressed Codex P2 — claimant(poll): terminal roots with malformed timestamps block all launches — check terminal markers before timing
    • Expectation: effort class m — triage verifies the finding against current code, then a fix (with regression test) or a documented decision resolves it
    • Links: source PR fix(claimant): shape-guard session time fields in poll.py (#6868) #8692
  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 12, 2026
  6. dezren39 commented on Nov 12, 2026

    @dezren39
    dezren39
    on Nov 12, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: OpenChamber scheduled lane
    • Session / ID: OpenCode session ses_e5e31cd26c4ffeKJoVgnN6fD40; queue task 15078; lane any-n
    • Found via: unfiltered repo-queue claim
    • Task: Verify/fix malformed-timestamp terminal-root handling in claimant poll.py
    • Expectation: Verify against current code; add regression test or document why existing ordering is acceptable.
    • Links: issue claimant(poll): terminal roots with malformed timestamps block all launches — check terminal markers before timing (from PR #8692) #8853; source PR fix(claimant): shape-guard session time fields in poll.py (#6868) #8692
  7. 14 remaining items

  8. dezren39
    added
    status/parkedDeliberately paused with a recorded resume condition
    epic/pm-stackReprioritization program epic (2026-11-12)
    on Nov 12, 2026
  9. dezren39
    added this to the PM stack coherence milestone on Nov 12, 2026
  10. 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 12, 2026
  11. dezren39 commented on Nov 12, 2026

    @dezren39
    dezren39
    on Nov 12, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up task 15083 for issue #8853 — claimant(poll) terminal-marker ordering

    • Fresh verification: issue claimant(poll): terminal roots with malformed timestamps block all launches — check terminal markers before timing (from PR #8692) #8853 OPEN, no hard-stop labels. The defect is live on current main (62773f2): _active_root_state in pm-stack/opencode-claimant/poll.py returns None (unknown) when _session_timing is None, before ever checking the idle/outcome terminal markers — so a finished root with a malformed timestamp makes summarize_cap report cap_room=None and blocks all launches.
    • Fix plan: check the terminal markers (time.idle on a dict time, or a top-level outcome) before the timing read, for roots outside the server's active set (active-set membership stays authoritative and is checked first). Roots with malformed timing and NO terminal marker still fail closed as unknown.
    • Next: patch + regression tests in worktree queue-15083-8853-claimant-poll, run test_poll.py, open PR. Per packet scope, the source thread on PR fix(claimant): shape-guard session time fields in poll.py (#6868) #8692 is not replied to or resolved by this task.
  12. dezren39
    added a commit that references this issue on Nov 12, 2026

    fix(claimant): check terminal markers before timing in poll cap count (…

    a5b2326
  13. dezren39
    closed this as completedin #8878on Nov 12, 2026
  14. dezren39 commented on Nov 12, 2026

    @dezren39
    dezren39
    on Nov 12, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done task 15083 for issue #8853 — fixed and merged

    • Fix: PR fix(claimant): check terminal markers before timing in poll cap count (#8853) #8878 (squash-merged as a5b2326) — _active_root_state in pm-stack/opencode-claimant/poll.py now checks terminal markers (time.idle on a dict time, or a top-level outcome) before the timing read, for roots outside the server's active set. A finished root with time={'idle': 123, 'updated': 'bad'} classifies inactive instead of unknown, so summarize_cap grants cap room again. Malformed timing with no terminal marker still fails closed as unknown (opencode-claimant(poll): a session entry with a wrong-shaped time crashes all of poll.py — one malformed session kills candidate discovery for every queue #6868 discipline preserved); active-set membership still overrides stored markers.
    • Tests (laptop unittest, oracle = the acceptance example on this issue): test_poll 68/68 (3 new regression tests), test_claimant 23/23, test_launch_one 26/26, test_dispatch_batch 10/10, test_send_to_opencode 14/14. Fix verified present on origin/main after the merge.
    • Codex: no review had arrived on PR fix(claimant): check terminal markers before timing in poll cap count (#8853) #8878 after ~4.5 minutes and there were no findings to disposition at merge time; any late finding routes through the pr-comment-review job as usual.
    • Per packet scope, the source thread on PR fix(claimant): shape-guard session time fields in poll.py (#6868) #8692 was not replied to or resolved by this task.
  15. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 12, 2026
  16. dezren39 commented on Nov 12, 2026

    @dezren39
    dezren39
    on Nov 12, 2026
    MemberAuthor
    More actions

    🤖 Agent note · correction to the done note on task 15083 for issue #8853

    The earlier done note omitted a material fact this lane only discovered in the backlog afterward: PR #8859 (from triage task 15078, claimed again under task 15083 by lane code-c and parked as a CI wait) already carried an equivalent fix for this issue. This lane's revalidation missed PR #8859, built PR #8878, and merged it — creating a duplicate that has now been dispositioned per the queue §8 protocol:

    • PR fix(claimant): honor terminal markers before malformed time #8859 was diffed in full against merged PR fix(claimant): check terminal markers before timing in poll cap count (#8853) #8878: functionally identical fix, nothing unique to salvage (salvage note posted on PR fix(claimant): check terminal markers before timing in poll cap count (#8853) #8878).
    • PR fix(claimant): honor terminal markers before malformed time #8859 is being closed as superseded by PR fix(claimant): check terminal markers before timing in poll cap count (#8853) #8878 (merged, a5b2326); the fix on main is unchanged either way.
    • The miss is recorded here and in this shift's report: §2 revalidation must include an open-PR search for the issue, not just the packet's named PRs (this packet named none).
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/pm-stackpm-stack (Pad/Grist) in developing-today/codeepic/pm-stackReprioritization program epic (2026-11-12)kind/bugSomething isn't working (prefixed form of the classic bug label)priority/normalOrdinary priority (the default)source/pr-comment-reviewFiled by the pr-comment-review jobstatus:in-reviewtask/triageQueue packet kind: verify, reproduce, and route this item

    Type

    No type

    Projects

    No projects

      Milestone

      • PM stack coherenceNo 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.