Skip to content

[macOS Desktop 26.915.31945] Older turns stay hidden despite complete paginated history projection #46954

Open

Description

@ozin-he

[macOS Desktop 26.915.31945] Older turns stay hidden despite complete paginated history projection

Problem

An existing long-running local task shows only the final approximately 1 hour 52 minute execution block. An immediately preceding approximately 8 hour 10 minute turn is not accessible in the task UI. Expanding the execution activity and reopening the same task through the app's task-navigation tool did not restore it. The goal is recovery in the original task, including continued access after reopening. An export or replacement task does not resolve this issue.

Time reference

All absolute times in this report use U.S. Pacific Daylight Time (America/Los_Angeles, PDT, UTC−7).

  • Earlier inaccessible turn: 2026-09-20 04:42:47 PDT (UTC-0700) through 2026-09-20 12:52:51 PDT (UTC-0700).
  • Latest execution block: 2026-09-20 12:52:51 PDT (UTC-0700) through 2026-09-20 14:44:52 PDT (UTC-0700).

Environment

  • macOS, local desktop task.
  • Installed app bundle: 26.915.31945, build 9922 (Info.plist).
  • Bundled executable: codex-cli 0.155.0-alpha.9.2.
  • Task history mode: paginated; not archived.

Read-only persistence checks

  • Original rollout: 159,622,356 bytes, 24,793 valid JSONL records.
  • Ordinals are contiguous from 0 through 24,792; no duplicates or regressions were found.
  • Projection offset equals the original rollout EOF; next ordinal is 24,793.
  • 100 turns are projected.
  • All 7,307 unique completed-item (turn ID, item ID) pairs in the original log are present in the history projection, with no missing or extra pairs. This is an item-identity check, not a claim of field-by-field content equivalence.
  • The latest two completed turns have 644 and 2,809 projected items respectively.
  • Search clarification: the generated protocol schema states that thread/searchOccurrences searches visible user messages and final assistant messages. An earlier diagnostic search used commentary, so its zero-match result is expected and is not evidence of a search defect. An isolated native control reproduced zero commentary matches and one known final-answer match.

Client-reader observation, separately bounded

A multi-turn app read returns 500 items in the latest turn and zero in older returned turns; explicitly requesting the older turn via the returned page cursor retrieves its content.

A read-only extraction of the installed lFt/cFt reader was executed offline against synthetic data with the verified latest five turn sizes [644, 2809, 32, 14, 21]. Its initial result was [500, 0, 0, 0, 0], with partial-history state retained. This demonstrates the initial shared-budget behavior. It does not prove why the live desktop UI failed to continue pagination.

Same-runtime isolated native control

After filing, the exact source rollout was copied byte-for-byte to an isolated Codex home. SQLite schemas/migrations and only this task's rows were copied; the copied state row points to the copied rollout. No account credentials, live configuration, remote-control enrollments, other task data, or project files were copied. Both scoped databases passed integrity_check.

The same bundled 0.155.0-alpha.9.2 executable was started with stdio transport against the isolated home. Requests were limited to initialize, thread/turns/list, and thread/searchOccurrences; no thread/resume, turn/start, or turn/steer was sent.

Twenty native thread/turns/list pages with itemsView=full traversed all 100 turns and 7,307 unique items. Comparing returned (turn ID, item ID) pairs with the scoped projection found zero missing and zero extra items. The latest five turns returned [644, 2809, 32, 14, 21] items, rather than the desktop reader's bounded initial [500, 0, 0, 0, 0]. All native calls succeeded. This isolates a complete native read path, while the observed UI remains incomplete; it still does not identify the precise frontend continuation/rendering failure.

Additional frontend bounds

The user-provided screenshot contains an authored item at zero-based position 45 in the latest 644-item turn. The last-500 slice begins at position 144. Therefore the screenshot already includes content outside the initial 500-item slice; the shared bootstrap budget alone is not a sufficient explanation of the live UI defect. The screenshot is not being published.

The installed per-turn item-pagination class was also exercised offline with the same turn sizes, synthetic items, and simplified state/merge adapters. Starting from [500, 0, 0, 0, 0], successive calls produced [600, 0, 0, 0, 0], [644, 0, 0, 0, 0], [644, 100, 0, 0, 0], and then continued until all five turns were complete after 34 calls. No warning occurred. This is a controlled helper test, not a live React/store/scroll or canonical-history-island reproduction.

The unresolved boundary is the live frontend continuation/render path: whether pagination is triggered, whether it is canceled or superseded by state changes, and whether returned earlier turns reach rendering. A supported client diagnostic or per-task reload procedure would help distinguish these without editing durable data.

Screen-recording correlation and isolated visibility reproduction

A private 58-second recording made on 2026-09-21 00:24:51–00:25:49 PDT shows an interior discontinuity, not merely an inability to scroll to the beginning. An older final answer is directly followed by the latest 1h52m execution block after expansion. Matching both visible endpoints against the stored items identifies four intervening turns, with 21, 14, 32, and 2,809 items in chronological order (2,876 total). Those turns are absent at the displayed boundary. The recording and its private contents are not being published.

Across the recording window, local desktop logs contain no thread/turns/list or thread/items/list response entries. They contain 14 ResizeObserver loop errors around 00:25:11.957–00:25:12.168 PDT. This is a correlation only: absence of response logging does not establish that no request was ever sent, and the observer errors are not established as causal. The recording does not demonstrate reaching the absolute beginning of the entire task.

A further offline harness executes the installed reader, turn mapper, visibility predicate and timeline projection functions with synthetic data and presentation-neutral adapters:

  1. Load the verified latest five turn sizes [644, 2809, 32, 14, 21] through the installed reader: [500, 0, 0, 0, 0].
  2. Include an already-loaded older sixth turn, representing the visible older endpoint. Retain the four empty turns' pending-pagination state.
  3. Map turns through the installed mapper. With no prior cached opening input, the four unpopulated turns have empty input and item arrays.
  4. Project through the installed selector using its actual showPartialHistoryGaps=false setting. Only the older sixth turn and latest turn are retained. A timeline containing all six turn entries still omits the intervening four, because they are not visible entries and are not explicit timeline gap nodes.
  5. Increasing the latest turn's loaded item count to 600 or all 644 does not change the omitted four turns. This accommodates the screenshot's content outside the initial 500-item slice.
  6. Controls: enabling partial-history placeholders in the isolated selector retains all six entries; supplying one synthetic visible item in each omitted turn also retains all six with the installed setting. These are diagnostic controls, not proposed edits to the installed application.

This reproduces the shape of the recorded gap in extracted client logic. It does not establish that the live cached state has exactly these values, explain how that state arose or stopped hydrating, or prove an end-to-end repair. No live renderer access, original-data modification, application patch, or feature-flag change was performed. The remaining investigation should inspect item-pagination state and hydration scheduling for non-rendered partial turns, including interior history boundaries that do not reach the outer scroll-to-top trigger.

Related cases and distinctions

Requested investigation/recovery

Please identify the supported recovery path and Desktop build for an already-affected task whose projection is complete but older turns remain inaccessible. In particular, can the client safely reload or complete its history pagination without changing the canonical transcript or rebuilding a healthy projection? If #46221 has a validated workaround or internal fix, please clarify its applicability to this Desktop version.

A regression should cover a latest turn exceeding 500 items, multiple earlier populated turns, and progressive navigation through the same task after reopening. Partial/not-loaded turns should not silently appear absent.

No database, original transcript, history mode, application bundle, or feature flag was modified. Private conversation contents, task identifiers, project paths, screenshots, and raw logs are excluded. Detailed local evidence is retained locally.

Activity

  1. added
    bug
    app
    session
    on Sep 21, 2026
  2. github-actions commented on Sep 21, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. ozin-he commented on Sep 21, 2026

    @ozin-he
    Author

    Update: built-in action restored the missing history in the original task

    We found a recovery workaround on the same macOS Desktop build reported above: Copy as Markdown triggered complete history loading, and previously missing execution history became visible in the original task.

    Steps that worked in this case

    1. Open the affected original task.
    2. Use its top-level … → Copy as Markdown action and wait for the success notification. This replaces the clipboard contents; no external publication is involved.
    3. Return to the task's execution activity and expand the relevant earlier activity block if it is collapsed.
    4. Check recognizable earlier content, then switch to another task and return to the affected task to check that the restored content remains accessible.

    Observed result

    • The previously inaccessible approximately 8h10m execution turn reappeared. Its beginning and ending were matched against the original stored records using private screenshots.
    • The subsequent approximately 1h52m final execution turn remained accessible, giving approximately 10h02m across the two turns.
    • The user confirmed that the restored history remained visible after switching away and returning, and that they could no longer identify a missing section.
    • This was restoration inside the original task, not merely a successful Markdown export or a replacement task.

    The user initially described the result as partial. After matching the visible endpoints to the stored turn boundaries and confirming that the later final turn was also present, the above navigation check passed. We did not manually inspect every individual stored item.

    Why this action is relevant

    Read-only inspection of the installed client shows that Copy as Markdown awaits complete history loading before formatting the clipboard text. An isolated test using a copy of the affected task, the same bundled backend, and the installed loading/visibility functions completed all 100 turns / 7,307 items. State-store and host-routing adapters were used, so that test alone was not a live UI repair proof. The subsequent user-confirmed result in the original window is the recovery evidence.

    Limits

    • This is a verified workaround for this occurrence, not a confirmed fix for the automatic hydration defect, and not a guarantee for every history-loss report.
    • Persistence was checked by switching tasks and returning. A full application quit/relaunch or system restart has not been tested.
    • No original transcript, database, history mode, application bundle, or feature flag was manually edited to perform the recovery.
    • Private task identifiers, project content, filesystem paths, screenshots, and raw logs are omitted.

    Please keep the underlying loading issue under investigation. The automatic task-open/scroll path should recover the same history without requiring a clipboard action.

  4. FoundationDigitalLabs commented on Sep 26, 2026

    @FoundationDigitalLabs

    Adding a Linux version-bisect data point that appears closely related.

    Environment

    • Linux Mint 22, amd64, X11
    • ChatGPT Community repackages the signed upstream Linux payload; the same user profile and conversation data were retained across both versions
    • Affected conversation: older, long-running local thread with historyMode: "paginated"

    Broken version

    • Upstream Desktop runtime: 26.924.20706
    • Bundled Codex CLI/app-server: 0.158.0-alpha.2

    After updating, previous long-running conversations could be listed but would not load correctly in the Desktop UI. A read-only app-server check found the affected thread through thread/list, and thread/read could decode the persisted history, so the conversation data was still present. Full-history hydration also emitted the expected deprecation notice directing paginated clients to thread/turns/list and thread/items/list.

    Working version after rollback

    • Upstream Desktop runtime: 26.901.31953
    • Bundled Codex CLI/app-server: 0.153.1

    Rolling back only the installed application package immediately restored prior-conversation loading in the UI. The same ~/.codex profile, authentication, configuration, rollout files, and state database were preserved; no conversation records or history mode were edited. The user confirmed the missing history was visible again after the rollback.

    OpenAI Status showed no active incident during the controlled comparison. This makes an application/runtime regression more likely than deletion, account mismatch, or an ongoing outage.

    Private thread IDs, conversation content, filesystem paths, account details, raw logs, and screenshots are intentionally omitted. The newer package and pre-rollback updater state remain available locally if maintainers need a narrowly scoped follow-up comparison.

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