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 — send_to_opencode: prompt POST times out on cold session, binding kept on empty session, task stranded · Issue #11287 · developing-today/code

send_to_opencode: prompt POST times out on cold session, binding kept on empty session, task stranded #11287

New issue
Copy link
New issue
Copy link
Closed
#11467
Closed
send_to_opencode: prompt POST times out on cold session, binding kept on empty session, task stranded#11287
#11467
Copy link
Assignees
dezren39
Labels
status:done

Description

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

Defect

send_to_opencode binds a task to a freshly created session before the prompt is delivered. When the prompt POST times out on the client side (15s), the binding is kept, the session stays empty (zero messages), and the task is stranded until its lease expires and muse-lane re-claims it.

Evidence

  • Task 19897 (Atlas search: Jaccard as a third signal (rescore + ingest dedup); SPLADE as a triggered follow-on #5733): bound 09:40:34Z to ses_e5e171ed6f4ffepmUsz2TqKooW; prompt POST returned 499 with span 23708ms at 09:41:00Z; session has zero messages; lease expired 10:25:40Z.
  • Task 20151 (mcpx coverage burn-down: settings (http-transport family) with no effect probe #8469): bound 11:16:40Z to ses_e5e16c6db59ffeg4mIiJTZxndo; two prompt POSTs 499 (15024ms at 11:16:58Z, 14278ms at 11:17:13Z); zero messages; lease expired 12:02:01Z.
  • Fire log (~/.local/state/opencode-claimant/fires.jsonl, kind: send_to_opencode): of 14 session-creating handoffs since 2026-11-10, 6 have prompt_ok: false.
  • Counterexample: task 20001 (opencode-claimant: handed-off tasks are never launched — executed_lane/session_id stay null across repeated claim→handed_off→park cycles #6533) prompt POST also returned 499 at 14551ms, but reconcile found messages and prompt_ok: true. Reconcile is the only thing separating success from a stranded task.
  • Code: pm-stack/opencode-claimant/send_to_opencode.py binds (transfer) before prompt (~lines 520-640) with no rollback on prompt failure; session.create timeout=15 (line 525); claimant.py _post_prompt timeout=15 (line 713).
  • Related but different: opencode-claimant: handed-off tasks are never launched — executed_lane/session_id stay null across repeated claim→handed_off→park cycles #6533 (handed-off tasks never launched, executed_lane null). fix(id-web): needsRefresh treats non-numeric/future stored timestamps as stale (#847) #857 in opencode was closed as no-longer-reproducing on a small-prompt test; the cold-session 499 pattern here is a recurrence on a different path.

Acceptance

A handoff to a fresh session either records prompt_ok: true with at least one message, or rolls back the session binding and releases the task to the queue. A test covers a prompt POST timeout on an empty session.

Activity

  1. developing-today commented on Nov 17, 2026

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

    CODE-4103

  2. github-actions
    assigned
    dezren39
    on Nov 17, 2026
  3. developing-today
    added
    status:in-review
    on Nov 18, 2026
  4. dezren39
    closed this as completedin #11467on Nov 18, 2026
  5. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 18, 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

status:done

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.