Skip to content

[macOS App] Orphaned inProgress turn hides later completed turns and survives restart #41591

Open

Description

@zhangfeibiao

What version of the Codex App are you using?

  • Codex Desktop: 26.818.32112
  • CFBundleVersion: 6933

What platform is your computer?

  • macOS 26.3.2 (build 25D2140)
  • Apple Silicon (arm64)

What issue are you seeing?

A long-running Codex Desktop thread contains one orphaned historical turn whose tool work finished, but whose terminal lifecycle event was never persisted.

The affected turn remains:

status: inProgress
completedAt: null

The app subsequently accepted many new user turns in the same thread. Those later turns produced normal assistant final messages and matching completion events, and they remain present in the local rollout JSONL. However, the Desktop UI and thread reader continue to give precedence to the older orphaned turn, so the visible conversation is truncated at that Friday turn and the completed Saturday/Sunday conversation is hidden.

Restarting Codex does not repair the state. The underlying conversation data is not deleted; thread reconstruction is blocked by the stale orphaned turn.

No host reboot, deliberate app termination, or destructive command was observed at the boundary where this occurred.

Diagnostic evidence

The local append-only rollout contains this sequence:

  1. task_started for the affected turn.
  2. Normal assistant commentary and multiple command/tool events.
  3. The final visible tool event is marked completed.
  4. No matching task_complete, turn_aborted, final assistant message, failure event, or cancellation event is present for that turn.
  5. The very next rollout ordinal starts another task.
  6. Many subsequent turns contain valid final assistant messages and task_complete events.
  7. After multiple app restarts, thread inspection still returns the old orphaned turn as inProgress with completedAt=null, ahead of the later completed history.

For the affected rollout, a lifecycle audit found:

  • 39 task_started events
  • 35 task_complete events
  • 2 valid turn_aborted events
  • 1 historical orphaned turn
  • 1 currently active turn at the time of inspection

The exact local thread/turn UUIDs, repository path, task contents, and rollout file path are intentionally omitted from this public report. They remain available locally if a private diagnostic channel is provided.

Steps to reproduce the bug

A deterministic trigger is not yet known, but the observed sequence was:

  1. Use a long-running Codex Desktop project thread on macOS.
  2. Run a turn containing several normal tool/command operations.
  3. The last tool operation completes successfully.
  4. The turn fails to emit/persist any terminal lifecycle event.
  5. Continue the same thread with additional user messages.
  6. Observe that later turns can execute and complete normally.
  7. Restart Codex and reopen the thread.
  8. Observe that the timeline remains truncated at the old inProgress turn and later completed turns are not displayed.

Expected behavior

Codex should enforce and recover the turn lifecycle invariant:

  1. Every accepted task_started event must eventually have exactly one terminal event: completed, failed, cancelled, interrupted, or aborted.
  2. Before accepting a new turn, any prior active turn in the same thread should be terminalized or explicitly superseded.
  3. On startup, the app should reconcile orphaned turns left by process interruption or event-write failure.
  4. A historical orphaned turn must not hide later authoritative rollout events and completed turns.
  5. The UI should expose a safe force-stop/reconcile action when no live backend execution is attached to an inProgress record.

Workaround

A new recovery thread was created from the same working-tree state with a complete context handoff. This restores work continuity but does not repair the original thread or make the hidden completed turns visible there.

Related issues

This appears closely related to #41475, which reports later durable messages being truncated behind an orphaned turn after a Windows reboot. The important difference here is that this occurred on macOS without an observed host reboot, and the orphaned turn's last tool call had already completed normally.

It is also related to #29901 and #28499, but this report includes direct rollout evidence that later turns completed normally and are specifically hidden by one older missing terminal event.

Activity

  1. added
    bug
    app
    session
    on Aug 30, 2026
  2. github-actions commented on Aug 30, 2026

    @github-actions
    Contributor
  3. Jackeyhate9 commented on Aug 31, 2026

    @Jackeyhate9

    I can confirm a closely related occurrence on Windows Codex Desktop.

    Environment

    • Codex Desktop package: OpenAI.Codex_26.825.6671.0_x64
    • Desktop executable version: 151.0.7922.174
    • Bundled Codex CLI: 0.151.0-alpha.7.2
    • OS: Microsoft Windows 10.0.26200.0 x64
    • Thread source: local Codex Desktop

    Observed behavior

    The Desktop UI displays only part of a long conversation even though the missing work and a final answer are still present in the thread data and the resulting Git history/files.

    For the affected thread, thread/read reports the following lifecycle state (local thread and turn UUIDs omitted):

    turn status: inProgress
    completedAt: null
    page.hasMore: false
    

    However, that same persisted turn contains a normal assistant final_answer stating that the task completed, along with completed command/tool events and evidence that the output was committed and pushed. The app later accepted additional user messages, but reopening/reading the task presents an incomplete transcript and continues to treat the historical turn as active.

    The history also contains preceding failed turns associated with usage-limit / 429 Too Many Requests errors. I cannot prove that those errors caused the orphaned lifecycle state, but they occurred in the affected long-running thread.

    Expected behavior

    If a persisted turn contains a terminal assistant response or the runtime has moved on to later input, Desktop/app-server should reconcile the stale inProgress row, or at least retain and render all later transcript records. hasMore: false should not be returned while valid conversation content is hidden.

    No thread/turn UUIDs, raw prompts, project source, credentials, screenshots, or local filesystem paths are included here. Private identifiers can be supplied through an official private diagnostic channel if needed.

  4. lorianlee98-spec commented on Aug 31, 2026

    @lorianlee98-spec

    I traced a matching local occurrence through the rollout JSONL, the paginated SQLite projection, and the app-server response path. The rollout ordinals were contiguous and later completed turns were present in both durable sources, so this was not transcript loss or the duplicate-ordinal failure from #41566.

    The app-server root cause is status normalization: set_thread_status_and_interrupt_stale_turns and normalize_thread_turns_status receive only a thread-wide has_live_in_progress_turn boolean. When a later turn is genuinely running, that boolean causes every historical projected inProgress turn to remain inProgress, including an orphan left by an earlier restart. thread/read and thread/turns/list can therefore expose more than one active-looking turn, and clients may reconstruct from the stale one.

    I added a production-shaped regression that persists orphan A in paginated history, restarts app-server, starts live B, then reads both JSON-RPC surfaces. Before the fix, A and B are both inProgress; after the fix, B is the unique inProgress turn and A is interrupted, with both turns still present.

    Minimal fix and test: lorianlee98-spec@50228b1

    Verification:

    • just test -p codex-app-server live_paginated_turn_is_the_only_turn_reported_in_progress -- --nocapture: pass
    • just test -p codex-app-server suite::v2::thread_read::: 21/21 pass
    • full app-server crate attempt: the new test passes; unrelated tests requiring locally absent codex, codex-code-mode-host, or test_stdio_server binaries remain environmental failures

    Current docs/contributing.md says external code PRs are not accepted, so I have not opened an unsolicited upstream PR. If a maintainer wants this submitted as an invited PR, I can open it and complete the CLA step immediately.

  5. Mitch-TokamaX commented on Sep 4, 2026

    @Mitch-TokamaX

    I can confirm this exact failure is still occurring on Windows, including when the affected thread is reopened with a newer Desktop build.

    Environment

    • Codex Desktop AppX: OpenAI.Codex_26.901.1978.0_x64
    • Desktop executable version: 152.0.7977.64
    • Current Codex CLI: 0.153.0-alpha.5
    • Affected rollout was originally written by Codex 0.151.0-alpha.7.2
    • Windows x64, local Codex Desktop task

    Observed incident

    On September 4, 2026, a full day of previously visible user/assistant exchanges disappeared from the Desktop UI after reopening a long-running task. The content was not deleted: the append-only rollout JSONL was still current and a bounded local recovery extracted 110 user-visible message records from the affected day (16 user, 94 assistant).

    Current thread/read still reports:

    thread status: active
    historical turn status: inProgress
    historical turn completedAt: null
    page.hasMore: true
    

    The orphaned turn started on September 3 and remains the first turn returned by the reader, although many later user messages, assistant finals, and completed tool operations are durable in the rollout. Restarting Desktop did not reconcile it. The affected rollout is approximately 512 MB, so this also exercises the paginated history path at substantial scale.

    Impact

    This presents as catastrophic data loss to the user: a complete day of architecture decisions and implementation work becomes inaccessible in the UI even though the records still exist locally. Manual JSONL recovery was required to continue safely.

    Expected behavior

    • A historical orphaned inProgress turn must never hide later authoritative records.
    • Startup/read should terminalize or supersede stale turns when no live execution is attached.
    • Pagination must expose all later durable turns regardless of a stale lifecycle row.
    • Desktop should offer a safe recovery/export path and clearly distinguish hidden/recoverable history from actual deletion.

    No transcript, prompts, project names, source code, credentials, local paths, or session UUIDs are posted publicly. Exact identifiers and a redacted lifecycle extract can be provided through an official private diagnostic channel.

    This Windows occurrence strongly supports the root-cause analysis already posted above and shows the bug remains user-visible on Desktop 26.901.1978.0.

  6. giancarloerra commented on Sep 5, 2026

    @giancarloerra

    I can confirm the exact same problem, long conversations not very well managed

  7. memphoid53 commented on Sep 5, 2026

    @memphoid53

    Public GitHub follow-up for #41591

    I can confirm this is still recurring on macOS, and I now have a strong reproduction involving a normal, user-initiated Quit rather than a crash or forced termination.

    Environment

    • ChatGPT/Codex Desktop: 26.901.41123
    • CFBundleVersion: 7942
    • macOS on Apple Silicon
    • Local Codex Desktop tasks

    Scope and impact

    Across September 2–5, local lifecycle audits found 45 previously orphaned turns that required repair. A subsequent normal Quit produced 2 additional affected turns in the same shutdown, bringing the observed total to 47 turns.

    The failures occurred across many unrelated tasks rather than one damaged conversation. The recurring database state was:

    status: inProgress
    completedAt: null
    durationMs: null
    

    In the most damaging occurrence, the durable rollout retained later user messages, assistant work, and 17 later completed turns, but the SQLite projection stopped at the older unterminated turn. The Desktop UI consequently showed old content and the task appeared unable to respond. The conversation data was not deleted; it was hidden by stale lifecycle/projection state.

    Confirmed graceful-Quit sequence

    Two tasks were actively running when I selected the app's normal Quit command. The app did not crash and was not force-quit.

    The sanitized Desktop log records normal teardown at approximately 2026-09-05T13:10:40Z, including:

    Stopping app-server transport
    connected -> disconnected (cause: stop_process)
    

    After relaunch, both active turns lacked a durable terminal lifecycle event. For one of them, the rollout later reused an ordinal, producing one duplicate/non-monotonic pair. Many later turns nevertheless ran to completion and remained in the append-only rollout.

    On startup/resume, the app log later reported the stale latest turn as interrupted in memory:

    maybe_resume_success ... latestTurnStatus=interrupted ...
    

    However, that reconciliation was not persisted to the local turn record or used to rebuild the complete projection. The row remained inProgress with completedAt=null, and later completed history remained invisible.

    The second task showed the same missing terminal event after Quit. A later turn completed normally, but the older turn still remained unterminated in storage.

    Expected behavior

    1. A normal app Quit should durably terminalize or flush every active turn before stopping app-server transport.
    2. If shutdown cannot finish that write, startup should transactionally convert stale inProgress turns to interrupted and persist a corresponding terminal lifecycle event.
    3. Ordinal allocation after restart should continue from the actual maximum durable ordinal and never reuse one.
    4. Projection rebuild should include later valid completed turns even when an older turn lacks a terminal event.
    5. A stale historical turn must not leave the task falsely active or cause the UI to display an old cutoff.
    6. Desktop should run an integrity check at startup and offer a supported repair/reindex action instead of requiring direct SQLite/JSONL repair.

    Recovery evidence

    The affected histories were recoverable because the raw rollout data remained intact. A local repair that backed up the history, inserted an interruption boundary where appropriate, normalized ordinals, removed stale projection rows, and allowed the app to rebuild restored the hidden history.

    This appears to add a deterministic trigger and recurrence evidence to #41591: graceful Desktop shutdown can create the orphan, and startup can recognize interrupted without durably repairing the record or projection. It is also related to #41475, but no host reboot occurred here.

    No prompts, transcript content, project names, usernames, local paths, task UUIDs, or turn UUIDs are included publicly. Exact identifiers and redacted lifecycle extracts are available through a private OpenAI diagnostic channel.

  8. kevinmarty69 commented on Sep 10, 2026

    @kevinmarty69

    I'm seeing similar symptoms on macOS. Recent completed messages are present in the local rollout JSONL (including assistant final messages and task completion events), but missing from both the Desktop UI and read_thread. The displayed history stops at an older turn marked inProgress with completedAt: null.

    Fully quitting and reopening Codex didn't help. I haven't confirmed whether the underlying cause is the same as in this issue.

  9. memphoid53 commented on Sep 10, 2026

    @memphoid53
  10. PengSafari commented on Sep 10, 2026

    @PengSafari

    I am reporting another macOS occurrence on September 9–10, 2026, with a read-only lifecycle audit that closely matches this issue.

    Environment

    • Desktop bundle version: 26.901.51231, build 8109 (from Info.plist).
    • Bundle identifier: com.openai.codex; installed bundle display name: ChatGPT.
    • Bundled runtime: codex-cli 0.153.4.
    • macOS 26.6.2, Apple Silicon; uname -mprs: Darwin 25.6.0 arm64 arm.
    • Local desktop task used across multiple days, with tools, subagents, and compaction.

    Observed mismatch

    The user saw later replies/history disappear on September 9 and again on September 10. The original session JSONL still contains the missing assistant final messages, including the previous day's substantive final answer and a recently completed short reply.

    The desktop mcp__codex_app__read_thread tool was repeatedly requested with turnLimit: 6. It consistently returned only the earliest turn from September 8:

    {
      "page": {
        "order": "newest_first",
        "limit": 6,
        "nextCursor": null,
        "hasMore": false
      },
      "turns": [
        {
          "status": "inProgress",
          "completedAt": null,
          "itemCount": 26
        }
      ]
    }

    The 26 items are all from the beginning of the conversation. This is the desktop tool's response, not a direct capture of the underlying app-server JSON-RPC response.

    Additional lifecycle evidence

    A scan of the original rollout, matching lifecycle events by turn_id, found two historical task_started entries with no matching task_complete or turn_aborted event. These are separate from the currently active diagnostic turn.

    • The first historical entry began on September 8. Its turn ID exactly matches the old inProgress turn returned by the reader.
    • The second began on September 9.
    • Later user messages, assistant final messages, and task_complete events remain present.
    • Every JSONL line parsed successfully. An earlier snapshot was approximately 11.3 MB / 3,249 records and contained four compacted records; the file has continued growing during diagnosis.
    • Desktop logs recorded successful routing of thread/read, thread/turns/list, and thread/items/list with errorCode=null.

    The source rollout was not edited. Missing messages were recovered into a separate readable local transcript. We have not established a deterministic trigger, tested restart as a recovery step for this occurrence, or verified whether the proposed status-normalization fix addresses it. We also have not inspected the SQLite projection or proven an ordinal/decoder fault.

    This adds an occurrence on Desktop build 8109 / runtime 0.153.4, where the newest-first reader returns only the first unterminated turn with hasMore: false despite later durable completed turns. Please advise on a supported recovery/reindex procedure or a release that addresses this specific state.

    No conversation text, raw logs, local usernames/paths, or session/turn IDs are attached publicly.

  11. memphoid53 commented on Sep 16, 2026

    @memphoid53

    Continuing macOS recurrence: 71 affected turns across 33 task records

    This is a consolidated follow-up to my September 5 report. The orphaned-turn / stale-projection failure continues to occur essentially daily and persists after updating the ChatGPT/Codex Desktop app.

    Current environment

    • ChatGPT/Codex Desktop: 26.908.70816
    • CFBundleVersion: 9275
    • macOS on Apple Silicon
    • Local Desktop tasks

    Complete observed scope

    I now have durable evidence for 71 affected turns across 33 distinct task records:

    Local date Affected turns found
    September 2 17
    September 3 26 (24 backed-up repairs plus 2 direct guarded repairs)
    September 4 1
    September 5 4
    September 6 1
    September 7 3
    September 12 2
    September 14 2
    September 15 15 (10 repaired earlier in the day plus 5 newly confirmed)
    Total 71

    Fifteen timestamped repair backups independently preserve the pre-repair SQLite database, affected rollout files, and a manifest of the repaired task/turn inventory. Those manifests account for 64 turns. Two additional turns were repaired with guarded SQLite updates after separate backups. The latest read-only audit found five more confirmed historical stale turns that have not yet been repaired.

    Latest audit

    The latest audit covered 103 rollout files: 72 primary-task transcripts and 31 worker/subtask transcripts. The history database passed PRAGMA quick_check.

    Five historical turns in three primary tasks had all of the following:

    status: inProgress
    completedAt: null
    durationMs: null
    no matching task_complete or turn_aborted event
    

    Two affected tasks were actively running newer turns during the audit. The scanner deliberately treated only each task's newest turn as live, yet found two older unclosed turns in one active task and one older unclosed turn in another. A third, currently idle task had two unclosed historical turns. This demonstrates that the problem is not merely a sidebar status artifact: multiple historical turns remain inProgress while later/current work proceeds.

    Recurring user-visible symptoms

    • A task shows an old message and appears unable to respond even though later conversation records are still durable in the rollout.
    • thread/read or the Desktop UI can stop at an older inProgress turn and omit later completed work.
    • Sidebar timer/clock glyphs remain for days even when no work is running.
    • Some resumptions recognize the stale turn as interrupted in memory, but do not persist completion metadata or rebuild the projection.
    • Directly changing a timestamp does not fix the defect; the missing terminal lifecycle event and stale projection must be repaired together.
    • In at least one repair attempt, the inventory/projection said a turn was incomplete while the rollout already contained a terminal event, showing a second form of rollout/projection disagreement.

    Observed triggers and correlations

    A normal, user-initiated Quit remains a confirmed trigger: the app logged orderly app-server shutdown (Stopping app-server transport, then cause=stop_process), but active turns were not durably terminalized before shutdown.

    I have also repeatedly seen response-stream failures of the form:

    stream disconnected before completion: websocket closed by server before response.completed
    

    Network loss, hotspot/Wi-Fi transitions, using Remote from a phone, and stopping or quitting while work is active appear correlated with additional occurrences. I cannot prove that every websocket failure creates an orphan, but the lifecycle damage frequently appears around interrupted/disconnected work.

    The latest five failures were found after earlier same-day repairs had verified clean, which means the defect is actively recurring rather than being old accumulated damage.

    Recovery required today

    The only reliable recovery has been an unsupported local procedure:

    1. Fully quit ChatGPT/Codex.
    2. Back up the SQLite database and every affected rollout.
    3. Insert a correctly bounded turn_aborted lifecycle event for each genuinely dangling turn.
    4. Normalize rollout ordinals when necessary.
    5. Remove only the affected history projections.
    6. Relaunch and allow Desktop to rebuild from the repaired rollouts.
    7. Rescan both live and archived primary tasks while excluding worker records and genuinely active latest turns.

    This restores hidden history because the later rollout data is usually intact. It is nevertheless risky, disruptive, and unreasonable to require multiple times per day.

    Requested product behavior

    1. On normal Quit, durably terminalize or flush every active turn before stopping app-server transport.
    2. On startup, transactionally reconcile stale historical inProgress rows to interrupted, including completedAt and durationMs, and persist the matching lifecycle event.
    3. Enforce at most one live turn per primary task; any older inProgress turn followed by a newer turn must be reconciled automatically.
    4. Rebuild projections through later valid records even when an earlier lifecycle record is incomplete.
    5. Never let a stale historical turn hide later durable history or leave a permanent sidebar activity marker.
    6. Continue ordinal allocation from the actual durable maximum after restart.
    7. Add a supported integrity scan and one-click repair/reindex command, with automatic backups.
    8. During graceful shutdown, leave a durable recovery marker if active work cannot be fully finalized.

    This is no longer an isolated corrupt conversation. It is a recurring cross-task lifecycle/database consistency failure that has required 71 repairs in two weeks, including new failures on the current Desktop build. Exact task/turn identifiers and the timestamped backup manifests are retained privately and can be supplied through an official private diagnostic channel.

  12. memphoid53 commented on Sep 16, 2026

    @memphoid53

    New recurrence after successful repair — September 16, 2026

    Two new historical primary-task turns became orphaned within roughly two hours of a successfully applied morning repair. This is in addition to the 71 affected turns documented in the cumulative report, bringing my observed total to 73.

    At the 09:23 PDT read-only check, both new turns still had status=inProgress, completed_at=NULL, and duration_ms=NULL in the local history database. Each had a task_started event but no matching task_complete or turn_aborted in its rollout. Both tasks had already proceeded to newer turns, so these were not the currently running turns. The database integrity check was ok; the defect is lifecycle/projection consistency, not general SQLite corruption.

    The prior five-turn repair was independently verified: each target rollout now has exactly one interrupted terminal event, and four rebuilt projection rows show complete interrupted metadata. The fifth affected task's projection had not yet been re-created because that task had not been reopened. A fresh full scan found no malformed JSON lines or ordinal-ordering errors. These two new orphans therefore appeared after the prior repair, rather than surviving it.

    Current Desktop build: 26.908.70816 (9275) on macOS / Apple Silicon. I have not established what triggered these two specific occurrences, so I am not attributing them to Quit or websocket disconnects. The repeated post-repair recurrence further supports automatic stale-turn reconciliation and a supported integrity/reindex action.

    No transcript content, task/project names, identifiers, local paths, usernames, or raw logs are included publicly. Exact identifiers are retained locally for private diagnostics.

  13. memphoid53 commented on Sep 18, 2026

    @memphoid53

    New recurrence found by the September 18, 2026 local audit

    At 2026-09-18 03:05 PDT, a read-only sweep found three newly confirmed historical primary-task turn defects on macOS ChatGPT/Codex Desktop build 26.911.61220 (Codex runtime 0.154.0-alpha.6.2). Two turns have a persisted start but no terminal event, while later turns in the same tasks completed; their SQLite rows remain inProgress with null completion metadata. A third turn has a persisted turn_aborted event, but that event lacks completion metadata and its SQLite row remains incomplete. The database integrity check passed and no malformed rollout lines or ordinal errors were found in this audit.

    No new user-visible symptom was independently confirmed for these three turns; this is the same persistent-history defect class that previously produced stale task views and manual repair work. The two earlier unresolved turns remain unrepaired locally, but are not counted as new or re-reported here.

    This extends my cumulative history and September 16 recurrence. The confirmed local total documented through these follow-ups is now at least 76 affected turns. I have prepared a guarded local repair but have not run it; this comment is a product defect report, not a claim about root cause.

  14. memphoid53 commented on Sep 21, 2026

    @memphoid53

    New recurrence found by the September 21, 2026 local audit

    At 2026-09-21 05:27 PDT, a read-only system-wide audit found one new historical primary-task turn defect on macOS ChatGPT/Codex Desktop 26.915.31945 (build 9922).

    • Defect class: a persisted turn_aborted event included the interruption reason and start time but omitted both completion time and duration. Its SQLite projection likewise remained interrupted with null completion metadata.
    • Corroboration: a later turn in the same task began and completed normally; the audit found no malformed JSON, ordinal corruption, other stale turn rows, or database integrity failure.
    • Observed impact: this leaves a stale incomplete local history projection and again requires a guarded local repair/rebuild. No missing task content was evidenced for this instance.

    This is a distinct recurrence after the cumulative 71-turn report and the September 18 follow-up. The audit has prepared, but not applied, a narrowly scoped local repair that completes the interrupted terminal metadata at its persisted boundary and rebuilds only the affected projection.

    The observation is factual; the underlying cause remains unconfirmed.

  15. memphoid53 commented on Sep 24, 2026

    @memphoid53

    New recurrence found by the September 24, 2026 local audit

    At 2026-09-24 03:00 PDT, a read-only local audit found one new historical primary-task turn defect on macOS ChatGPT/Codex Desktop 26.917.62051 (build 10789).

    • Defect class: a persisted turn_aborted event records an interruption reason and start time but omits both completion time and duration. Its SQLite projection is likewise interrupted with null completion metadata.
    • Corroboration: a newer turn began after this event, so the stale row is not currently active work. The rollout is archived, preserving the same missing terminal-completion metadata.
    • Impact: this is another incomplete local history projection requiring a guarded repair/rebuild. No user-visible missing content was independently verified for this instance.

    This is a new recurrence after the September 21 follow-up and the cumulative report. The cause remains unconfirmed. No task names, identifiers, prompts, transcript content, local paths, usernames, or raw logs are included publicly.

  16. memphoid53 commented on Oct 12, 2026

    @memphoid53

    New recurrence found by the October 12, 2026 local audit

    At 2026-10-12 00:56 PDT, a read-only local audit found one new historical primary-task turn defect on macOS ChatGPT/Codex Desktop.

    • Defect class: one persisted task_started event has no matching task_complete or turn_aborted. Its SQLite projection remains inProgress with null completion metadata.
    • Corroboration: a later turn in the same task began and later completed normally, so the incomplete row is historical rather than live work. Database integrity checking passed.
    • Impact: this creates another stale local-history projection requiring a guarded repair/rebuild. No transcript loss was independently established for this single incident.

    This extends the cumulative report and the September 24 follow-up. The local repair is prepared but has not been applied. This observation does not establish the underlying cause.

    No task names, identifiers, prompts, transcript content, local paths, usernames, or raw logs are included publicly.

  17. claell commented on Nov 11, 2026

    @claell

    I saw a related symptom in Codex Desktop on Windows x64. I applied an update while a chat with an active goal was running and confirmed the interruption warning. After the app restarted, the chat resumed automatically. The earlier turn's elapsed timer kept ticking in the conversation even though newer turns were visible and had already finished.

    The matching local history shows a task_started with no task_complete or turn_aborted for that turn ID. Windows registered Codex package 26.1103.4239.0 between that start and the next task_started for a different turn ID in the same chat, roughly one minute before the newer turn began. By the time I checked, 14 later turns had a saved task_complete. The installed package at inspection was 26.1103.7773.0.

    The pre-update timer should stop once the interrupted turn is superseded by the resumed turn. Whether the old timer also ticks while the chat is idle, or whether an active goal is required to trigger this, remains unverified.

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

    appbugsession

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions