Skip to content

[app][linux] Heartbeat and automation chats are omitted from Activity view #39156

Open

Description

@solankydev

Summary

On the Linux desktop app, chats attached to heartbeat automations are omitted from the sidebar Activity view, even though they exist and are visible in the normal sidebar.

The problem appears specific to heartbeat/automation chats. Ordinary recent chats continue to appear in Activity view.

A heartbeat-attached chat remains missing even when:

  • scheduled heartbeat turns have completed in that chat;
  • a heartbeat returns NOTIFY;
  • the user is actively exchanging normal messages in the same chat; and
  • the chat is visible in the normal sidebar's Recents section.

Environment

  • ChatGPT/Codex desktop app: 26.810.52044
  • OS: Ubuntu 26.04 LTS
  • Architecture: x86_64
  • Installation: official Debian package

Steps to reproduce

  1. Create or use a chat that has a heartbeat automation attached to it.
  2. Allow the automation to trigger and complete a heartbeat turn.
  3. Confirm that the chat is visible in the normal sidebar under Recents.
  4. Click the bell icon to enable Activity view.
  5. Inspect the Priority, Today, and Yesterday sections.
  6. Observe that the heartbeat/automation chat is absent.
  7. Send and receive normal interactive messages in that same chat.
  8. Toggle Activity view off and on again.
  9. The automation-attached chat remains absent, while ordinary recent chats are present.

Expected behavior

The July 30 changelog describes Activity view as showing chats that the user engaged with recently or that require attention.

A heartbeat-attached chat should therefore appear when:

  • it has recent interactive activity; or
  • its heartbeat returns NOTIFY and requires attention.

Actual behavior

Heartbeat/automation chats are visible and usable in the normal sidebar but are completely absent from Activity view. New interactive messages do not make them appear.

This prevents Activity view from surfacing completed automation notifications and ongoing conversations associated with automations.

Additional context

This is narrower than #36300:

A separate one-time heartbeat test did not dispatch as scheduled; that scheduler behavior is not part of this report. This issue concerns chats with confirmed heartbeat activity that remain absent from Activity view.

Privacy note

No screenshots, chat titles, task contents, local paths, thread IDs, automation IDs, account details, or organization/repository names are included because the original UI contains private information.

User feedback: macOS and Windows show the same Activity-view omission

Activity

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

    @github-actions
    Contributor

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

    Powered by Codex Action

  3. changed the title [-][app][linux] Activity view omits actively updated and recent chats[/-] [+][app][linux] Heartbeat and automation chats are omitted from Activity view[/+] on Aug 18, 2026
  4. adamthuvesen commented on Aug 18, 2026

    @adamthuvesen

    Additional macOS reproduction

    I can reproduce the same behavior on macOS. Removing the attached heartbeat makes the task reappear immediately in Activity view, without restarting the app.

    Environment

    • ChatGPT/Codex desktop app: 26.810.52044, build 6662
    • App server: 0.148.0-alpha.9
    • macOS: 26.5.2, build 25F84
    • Architecture: Apple Silicon, arm64

    Reproduction

    1. Create or open a local task and pin it.
    2. Attach an active heartbeat schedule using Run in: Existing task.
    3. Confirm the task is visible in the normal sidebar.
    4. Enable View activity.
    5. The heartbeat target is omitted from the Activity-view task list, including the Pinned section.
    6. Delete the heartbeat schedule.
    7. The target task immediately appears again in Activity view under Pinned.
  5. hewzhew commented on Aug 23, 2026

    @hewzhew

    Additional Windows reproduction on a newer build

    I can confirm the same failure mode on Windows: a chat can disappear from Activity view after a refresh while its turn is still running.

    Environment

    • ChatGPT/Codex desktop app: 26.818.5229.0
    • Windows 11 Pro: 10.0.26200
    • Architecture: x64
    • Local AppX installation

    Read-only diagnostics

    • The local automation registry has active heartbeat automations attached to existing chats.
    • At the time of capture, one heartbeat target matching the report was still reported by the app-server as:
      • thread status: active
      • latest turn: inProgress
      • error: null
    • The chat remained present in the normal thread-list surface, and turn/stream events continued to arrive in the local logs.
    • There was no corresponding thread not found, process crash, or completed-turn transition that would explain the disappearance.
    • Another active heartbeat target completed normally and remained recoverable outside Activity view.

    This supports the issue's current diagnosis: Activity view is omitting/filtering an automation-attached chat; the underlying task has not stopped or been deleted. It also shows the problem still occurs on app build 26.818.5229.0, newer than the builds already reported here.

    The generic Activity-view snapshot bugs in #38152 / #37017 may contribute after refresh, but the heartbeat association is strong in this reproduction. The safe workaround is to use the normal sidebar/search or Scheduled view as the source of truth rather than assuming absence from Activity means the task stopped.

    Privacy note: no chat titles, prompts, local paths, thread IDs, automation IDs, account details, or repository names are included.

  6. kirillsaven commented on Aug 30, 2026

    @kirillsaven

    Windows confirmation on a newer Codex App build

    This still reproduces on:

    • Codex App: 26.825.6671.0 (Microsoft Store/AppX)
    • Windows: Microsoft Windows NT 10.0.26200.0
    • Architecture: x64

    Observed with a local task in a project that had a heartbeat attached:

    1. The task remained present in the normal project/thread list.
    2. App diagnostics still reported the task as active with an in-progress turn and no error.
    3. The heartbeat target matched that existing task, and the UI showed a future Next run.
    4. Enabling View Activity omitted the task from the Activity list while unrelated tasks remained visible.
    5. The underlying task was still usable and had not been archived, deleted, or stopped.

    This is consistent with Activity View filtering/presentation excluding automation-attached tasks rather than a scheduler or thread-lifecycle failure. I paused the heartbeat afterward as a workaround; I did not modify thread state or local databases.

    Privacy: task title, project name, local paths, thread ID, automation ID, prompts, and screenshots are omitted.

  7. wind8ai commented on Sep 17, 2026

    @wind8ai

    Reproduced on macOS with a newer desktop build.

    Environment

    • ChatGPT/Codex desktop app: 26.908.70816
    • macOS: 15.1.1 (24B2091)
    • Architecture: Apple Silicon (arm64)

    Reproduction

    1. Start with a chat that is visible in Activity view.
    2. Attach a scheduled task to that existing chat.
    3. Open or refresh Activity view.
    4. The chat is no longer listed there.

    Expected behavior

    A chat should remain visible in Activity view after a scheduled task is attached. Scheduling should not remove an otherwise active or recently used chat from the Activity list.

    This matches the issue's reported behavior and indicates that it also affects current macOS builds, not only Linux.

  8. wind8ai commented on Sep 17, 2026

    @wind8ai

    Root cause and suggested fix

    Read-only inspection of the packaged webview in macOS build 26.908.70816 points to a classification bug; no network capture was needed.

    Activity view stores sidebar-priority-show-scheduled-v1 with a default of false. Its shared eligibility predicate excludes every item where isScheduled === true while that setting is off.

    For local tasks, isScheduled is currently set when either:

    1. the thread is an actual automation-run thread; or
    2. the ordinary thread's conversation ID is the target of an active heartbeat automation.

    Condition 2 incorrectly reclassifies the existing chat as a scheduled-task run, so attaching a heartbeat removes it from Activity view. Removing the heartbeat clears that classification and makes the chat reappear.

    Suggested fix: distinguish isAutomationRun from hasAttachedHeartbeat. Apply the Scheduled visibility filter only to automation-run threads. A heartbeat target should continue through the normal Activity recency/priority filters; NOTIFY/unread state should still be able to promote it to Priority.

    Regression coverage:

    • A recent or pinned chat remains visible before and after attaching an active heartbeat while Scheduled is off.
    • A standalone scheduled-run thread remains hidden while Scheduled is off.
    • Pausing or deleting a heartbeat does not change the target chat's Activity membership.
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

    appbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions