Skip to content

[app] Activity view keeps stale ordering after chats receive new activity #36300

Open

Description

@patrick-fu

What version of the Codex App are you using (From “About Codex” dialog)?

26.727.40816 (build 6067)

What subscription do you have?

ChatGPT account (exact plan is not relevant to this client-side reproduction)

What platform is your computer?

Darwin 25.6.0 arm64 arm

What issue are you seeing?

The new sidebar Activity view keeps the ordering captured when the view is enabled.

If a chat that is already listed receives new activity, its status can update, but it stays in its old position instead of moving according to its new attention state / recency. Turning Activity view off and back on immediately rebuilds the list and places the chat in the expected position.

This makes the view look stale even though the underlying chat data has updated.

What steps can reproduce the bug?

  1. Update the macOS app to 26.727.40816.
  2. Click the bell to enable Activity view and leave it enabled.
  3. Note the position of an older chat in the Priority or Recent sections.
  4. Open that chat and send a new prompt, or let it receive/complete a new turn.
  5. Observe the Activity view after the new activity arrives.
  6. The chat remains at its previous position.
  7. Turn Activity view off and back on, either by clicking the bell twice or toggling the keyboard shortcut twice.
  8. The chat is now reordered using its current state/recency.

What is the expected behavior?

Activity view should re-rank existing chats when their attention state or recency changes, so newly active or newly updated chats appear in the appropriate current position.

If keeping a stable order while the view is open is intentional, the UI should provide an explicit refresh action and document that behavior. Currently there is no indication that ordering is a snapshot.

Additional information

The feature was introduced in the July 30 26.727 changelog as a view for chats recently engaged with or requiring attention:
https://learn.chatgpt.com/docs/changelog

Read-only inspection of the renderer bundled with 26.727.40816 suggests the stale order is deterministic:

  • Activity state records an activatedAt value and a recentRecencyByItemId map when the view is enabled.
  • Existing Recent entries continue to sort using the captured recency value even when live recency changes.
  • The watcher adds recency values for previously unseen IDs, but does not replace captured values for existing IDs.
  • Existing Priority entries also retain their snapshot order; newly qualifying entries are appended rather than re-sorting the full list.
  • Disabling and re-enabling Activity view recreates this state, which matches the observed workaround.

This looks like snapshot/stability logic preventing live reordering. Whether that behavior is intentional or accidental, it conflicts with the view's recent-activity semantics and has no visible refresh affordance.

Related but not exact duplicates:

Activity

  1. added
    bug
    app
    session
    on Jul 31, 2026
  2. BenLampson commented on Aug 6, 2026

    @BenLampson

    Additional Windows reproduction: #37266 reproduces the same stale recency ordering in the normal project-grouped sidebar, without Activity view enabled.

    In that reproduction, none of the affected threads were pinned, and read-only inspection showed that the state database had distinct created_at_ms, updated_at_ms, and recency_at_ms values. A fresh thread/list result using sortKey: "recency_at" returned the non-pinned threads in the correct descending order, while the rendered project sidebar retained a different, stale order.

    This suggests that the backend data/listing is current and that an incremental client-side update may be updating existing rows without reinserting or re-sorting them. The affected environment was Codex App 26.730.8199.0 on Windows x64.

  3. zzc6267 commented on Aug 8, 2026

    @zzc6267

    Additional Windows reproduction on Codex Desktop 26.803.5235.0 (bundled component 0.147.0), Windows x64 build 26200.8875:

    • In the normal project-grouped sidebar, the visible order remained different from the fresh non-pinned recency order returned by the application thread-list API.
    • The affected thread was not pinned.
    • Manually dragging that thread changed its visible position immediately, confirming that the rendered row is movable and that the client is maintaining an ordering state separate from the fresh thread-list result.
    • Background thread activity had previously left the project group in a stale or mixed order; manual dragging was only a workaround, not an automatic reconciliation with the current recency order.

    This provides a useful distinction: the data source is current and manual reordering works, but incremental sidebar updates do not reliably rebuild or reconcile the visible project-group order. If manual ordering and recency ordering are both supported, the active mode should be explicit and deterministic.

    No screenshots are attached because the original captures contain private project labels and account UI. A fully redacted reproduction can be provided if needed.

  4. tsuvic commented on Aug 12, 2026

    @tsuvic

    Additional macOS reproduction on ChatGPT Desktop 26.803.61601 (build 6396), in the normal project-grouped sidebar (not relying on Activity view):

    • projectSortMode was priority.
    • Newly created/active threads were rendered below older completed/idle threads.
    • The affected threads were unpinned, unarchived, unsectioned, and top-level.
    • At the same time, the backend list_threads result had the new active threads in the correct recency order and reported the older threads as idle.
    • The persisted unread set contained none of the affected project threads, so this does not appear to be the false-unread-after-restart behavior described in [Windows app] Previously read completed threads become unread after restart and outrank active threads #37033.

    This points to a stale Priority-mode project-sidebar re-render/reconciliation issue rather than pinning or unread state. No list-refresh or sort-toggle workaround was tested in this reproduction.

    Expected: the rendered project sidebar should re-rank when newly created threads become active or their recency/state changes; active threads should not remain below older idle threads.

  5. PeaBrane commented on Aug 17, 2026

    @PeaBrane

    @nornagon-openai, you authored the server-side recencyAt work in #27910 and linked the paired Codex Apps PR, so you seem like the most relevant public contact. Apologies if this belongs with another Apps/sidebar owner—could you please route it to the right person and consider prioritizing it?

    This is extremely frustrating in everyday multi-thread use and creates a poor user experience: actively running work can remain buried below completed threads, so the sidebar is not dependable for monitoring tasks a user just started.

    I did read-only static analysis of the packaged renderer from macOS build 26.803.61601 and the current public app-server. The findings are more specific than a generic stale-sort hypothesis:

    • The Priority comparator is explicitly waiting → unread → active → idle, then recency. So unread is not above waiting, but it is intentionally above active. If running work is expected to stay at the top, the current rank itself conflicts with that expectation.
    • More importantly, an already-read idle thread can retain an invisible unread sorting rank. When an unread thread is opened, the renderer snapshots its recency just before marking it read. The normal sidebar later augments the real unread set with entries whose captured recency still matches, so the unread badge disappears while that idle row continues to sort as unread above active work. This survives until recency changes or the sidebar/sort state is rebuilt, which explains the intermittent nature.
    • Activity/Priority-filter mode has a separate incremental-ordering defect: it merges the previous cached order before the freshly priority-sorted order, then deduplicates by ID while preserving the first occurrence. Existing rows therefore keep stale positions when status or recency changes; toggling the view forces a rebuild and temporarily fixes it.
    • The public app-server already advances recencyAt on turn start, emits thread/status/changed, and returns correctly ordered results from thread/list(sortKey: "recency_at"). The public repository does not contain the desktop renderer that owns the comparator and cache.

    A focused client-side fix would be:

    1. Stop representing post-read position stabilization by coercing already-read idle rows back to unread for sorting. Keep that concern separate from real attention state, or expire the captured state once the read transition is reconciled.
    2. If the product invariant is that running work remains visible above ordinary unread work, change the rank to waiting → active → unread → idle (or provide a persistently visible active section). Even if unread-over-active remains intentional, the invisible-unread behavior above is still a bug.
    3. In Activity mode, make the freshly sorted collection authoritative or re-run the comparator over the full affected collection whenever effective attention state or recency changes.
    4. Add regressions for: read idle vs. active ordering after opening an unread thread; idle → active movement without toggling the view; recency changes for existing Activity items; and waiting precedence.

    The relevant desktop renderer is not in the public repository, so I have not opened a PR.

  6. PeaBrane commented on Aug 17, 2026

    @PeaBrane

    Follow-up after updating macOS from 26.803.61601 (build 6396) to 26.810.52044 (build 6662):

    The practical symptom appears improved in the normal project sidebar. Running/resumed tasks are showing up where I expect under the current default ordering.

    A read-only comparison of the packaged renderer suggests the main reason is that the default chat and project sort modes changed from priority to updated_at (“Last updated”). For the normal multi-task workflow, that is a sensible and effective mitigation because starting or resuming a task advances its recency and moves it upward.

    I would not yet treat this as confirmation that the underlying Activity/Priority issue is fully fixed:

    • The explicit Priority comparator remains waiting → unread → active → idle.
    • The Activity watcher still appears to preserve cached item positions ahead of the freshly sorted collection.
    • Its captured recency map still only seeds entries that are missing rather than replacing existing values.

    So build 26.810.52044 is materially better in the default Last updated workflow, and I am no longer reproducing the original practical problem there. The explicit Priority/Activity path may still need separate validation or a focused fix.

  7. thanksbuddy commented on Aug 19, 2026

    @thanksbuddy

    Additional Android Remote / Realtime Voice reproduction on a Windows host:

    1. Connected from the official ChatGPT Android app to Codex Remote on Windows.
    2. Started a Realtime Voice session and requested one task inside an existing project.
    3. Host logs record one thread/start from client_name="codex_chatgpt_android_remote" for the resulting task.
    4. The task was created successfully but appeared at the bottom of the normal By project list. No pin/unpin action was involved.
    5. The persisted sidebar mode was project with chat sort priority.
    6. Read-only evidence: the task was unpinned, unarchived, and not unread; its creation/update/recency timestamps were current; a fresh app task-list response returned the correct project association and canonical recency position; but the persisted project-sidebar order placed the same task at position 68 of 68.
    7. threadSource was null for this Android-created task, but the canonical list still recognized the correct project, so the available evidence does not establish the null source as causal.
    8. No desktop-created or Android typed-text control was performed in this investigation.

    Current host: Codex App 26.814.5517.0, bundled core/CLI 0.148.0-alpha.15; the affected rollout records 0.147.0-alpha.6.6. Windows 11 Pro 25H2, build 26200.9168, x64. Subscription: ChatGPT Pro. Android app and OS versions were not available from the Windows host.

    No local state was modified. Private paths, project names, prompts/transcripts, account data, and complete thread IDs are omitted.

  8. Jackten commented on Sep 6, 2026

    @Jackten

    Additional Android Remote → Recents reproduction on September 6, including a close/reopen attempt and host-side sort checks. This is a different surface from the original desktop Activity report; I am adding it here because the thread already tracks related sidebar/Android ordering evidence. A shared root cause is not established.

    Observed: an existing conversation received new messages and showed now, yet remained ninth in Recents. After the user closed the app and reopened it, the same conversation showed 5m at position 9, below rows showing 13m (positions 1 and 3), 15m (position 4), and 9m (position 8). Positions 1, 3, 4, and 8 had blue dots; position 9 did not. Several rows displayed running indicators. The host was connected/green. The reopening screenshot included a loading indicator, so it does not independently prove refresh completion; the user reports the order persists. Android Settings “Force stop” was not separately verified.

    Observed steps: connect Android Remote to an existing Mac history with several running/unread conversations; open a conversation lower in Recents and send another message; return to Recents; observe its recent age without corresponding movement; close/reopen and observe the ordering problem again. This is not a clean-install reproduction.

    Checks performed:

    • 16 successful thread/list calls across two live Remote control sockets: omitted sortKey / created_at / updated_at / recency_at, each with useStateDbOnly false and true, limit: 50, sortDirection: "desc". Every returned page was monotonic by its requested timestamp field.
    • In this later matrix, the affected conversation ranked 3rd by creation/default order, 1st–3rd by update time as other tasks ran, and 2nd by recency. Earlier same-day calls placed it 2nd by update time and 1st by recency while the first phone screenshot showed ninth. These are not atomic phone/host captures.
    • Screenshot conversations had no pins or custom-section positions. Both services share one history database, so they are not independent replicas. Concurrent work continued, and another screenshot conversation was archived before the later matrix.
    • Diagnostic calls used the local control sockets, not Android's transport. Existing logs did not reveal Android's actual sort parameters or response. No diagnostic timestamp, archive, pin, or preference edits were made; normal list mode can perform its usual metadata repair, so DB-only mode was checked too.

    Important alternative explanation: desktop chatSortMode is priority; the installed desktop comparator orders waiting → unread → active → idle, then recency. This could explain a read row remaining below unread rows. We have not established that Android consumes that preference or comparator. Rows with blue dots are also out of chronological order, but hidden attention states may differ. The host API defaults to creation-time sorting, another possible client/request mismatch; the inspected creation order did not match the screenshot either.

    If Recents is intended to be chronological, it should re-rank using effective recency. If attention grouping is intentional, expose that clearly and provide chronological sorting. Please check Android request sorting, attention grouping, and list reconciliation separately; this evidence does not prove a cache defect.

    Environment: Codex Desktop 26.901.41123 (7942); verified running Remote socket owners use its bundled CLI 0.153.3; macOS 26.5.2 (25F84), Darwin 25.5.0 arm64 arm; ChatGPT Pro. Official Android app, beta-enrolled and reported updated; exact Android app/OS versions not captured. Two Remote services share history, and project associations/placeholders were repaired earlier that day; a single-host unmodified-history control is untested.

    AI-assisted investigation/drafting. Private screenshots, titles, conversations, identifiers, hostnames, and paths are omitted.

  9. natewolfNBCU commented on Sep 28, 2026

    @natewolfNBCU

    Additional macOS reproduction on the current desktop build (September 28, 2026):

    • App: Codex Desktop 26.924.22138 (build 11645), prod channel; updater reports up to date.
    • OS: macOS 26.6 (25G72).
    • Sidebar preference reported by the app: grouping list, chat sort updated_at, pinned sort manual.
    • In Recents, an active, newly updated chat remained below several older idle chats. A fresh app list_threads result also placed that active chat ninth despite its updatedAt being newer than the idle chats above it. This was an ordering problem, not a missing thread.
    • Resetting the chat sort from updated_at to manual and back to updated_at moved the affected active chat from ninth to second in a fresh app list result. The preference persisted as updated_at.
    • Attempting to select priority through the sidebar preference API returned: "Priority sorting is unavailable in the current sidebar. Use updated_at or manual." This establishes unavailability in this sidebar context, not whether Priority was removed globally.

    Expected: with updated_at selected, newly updated unpinned chats should promptly move above older chats without a manual sort reset or Activity-view toggle.

    Limit: Direct visual inspection after the reset was unavailable, so the post-reset improvement is verified in the app list API, not independently in the rendered sidebar. No private chat titles, thread IDs, paths, account details, logs, or unredacted screenshots are included.

    Related: #35090 describes a similar normal-sidebar mismatch between rendered order and current recency data. This report adds a current macOS build and a sort-reset observation.

  10. natew100 commented on Oct 12, 2026

    @natew100

    Follow-up reproduction, October 12, 2026: this still affects Recently updated ordering on Codex Desktop 26.1007.30912 (build 20156), prod channel. The built-in updater reports up_to_date.

    Verified through the app list API:

    • Sidebar grouping: list; sorting.chats: updated_at; sorting.projects: updated_at; sorting.pinned: manual.
    • Two unpinned active remote-host chats appeared at positions 7 and 8 in the returned non-pinned list, below idle chats at positions 5 and 6.
    • Relative to the newest timestamp in that capture, the active chats were updated 14 and 8 seconds earlier; the idle chats above them were updated 702 and 1496 seconds earlier.
    • All four affected rows reported isUnread: false. The app reported no unavailable hosts or sources.

    The user reports the same problem visually in Recents and reports that the suggested sort-reset workaround does not resolve it. I have not independently captured the rendered sidebar or performed a controlled reset during this follow-up. Activity-view state was not independently established. These limits matter: this is evidence of a returned list order inconsistent with its exposed updatedAt values, not proof of the exact comparator/cache root cause.

    Expected: Recently updated should reconcile existing row positions as recency changes, including updates from connected remote hosts, without user refreshes. Please validate the normal list and Activity surfaces separately and add regression coverage for remote-host updates and existing rows moving above older read/idle rows.

    This extends the September 28 reproduction above to the October build; no permanent fix is established. AI-assisted report. Private titles, IDs, paths, hostnames, transcripts, and screenshots omitted.

  11. script96 commented on Nov 3, 2026

    @script96

    Additional user-reported reproduction involving /compact and a queued follow-up, with chats sorted by Last updated.

    Steps to reproduce

    1. Open an older chat that is lower in the sidebar.
    2. Run /compact.
    3. While compaction is running, queue a follow-up message to be sent when it finishes.
    4. Let compaction finish and the queued message be sent.
    5. Check the chat's position in the sidebar.

    Actual behavior

    The older chat stays in its previous sidebar position after compaction and after the queued follow-up is sent, despite Last updated sorting being selected. This leaves the conversation buried while continuing work in it.

    Expected behavior

    Sending the queued follow-up should count as new chat activity and move the conversation to the appropriate position under Last updated sorting. Whether /compact alone should change recency can be considered separately.

    Environment and scope

    • Desktop app on macOS 26.5 (25F71), Darwin 25.5.0, arm64.
    • Desktop app version: 26.1027.61615 (build 24141), production channel, verified through the running app's updater.
    • Sidebar grouping: By project. Chat sorting: Last updated.
    • This adds the user's observed compaction/queued-message sequence. It has not been independently reproduced or traced to a shared root cause with the original Activity view report.

    AI-assisted report based on the user's description.

  12. jasonsburgersnmore commented on Nov 5, 2026

    @jasonsburgersnmore

    Windows reproduction observed on November 4–5, 2026.

    Verified sidebar configuration:

    • grouping: list
    • chats: updated_at
    • pinned: updated_at
    • projects: updated_at

    Observed behavior:

    1. A task in a project receives new activity and gets the blue unread/attention dot.
    2. The task does not reliably move into the expected Recent position, including after the user opens it and sends another message.
    3. Restarting the desktop app rebuilds the inventory/order, but the first restart did not settle it. The visible Recents set/order changed across three reboots before stabilizing.
    4. The inventory mixes local and durable/cloud-backed tasks, which may be relevant to delayed hydration. No task deletion was observed.
    5. Read-only app data confirmed that task timestamps changed while visible ordering remained stale.

    Expected behavior:

    • Any chat with a new user message, assistant turn, or completed background turn should immediately re-rank under updated-time sorting.
    • The blue unread/attention state and Recent ordering should derive from the same live activity update.
    • Rebooting or toggling Activity should not be required to refresh ordering.
    • If project/file activity is intentionally separate, the UI should clearly distinguish file activity, project-container activity, and chat recency.

    The installed Windows app version could not be read from the restricted diagnostic context, so no version number is claimed.

    Submitted by the assistant on the user's behalf with the user's authorization.

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