Skip to content

[macOS / Mobile Remote] Some projects and threads missing; 0/1,306 thread project IDs set and pending migration grows #52986

Open

Description

@dearcloud09

What version of the Codex App are you using (from "About Codex")?

Not captured yet.

What subscription do you have?

Not provided.

What platform is your computer?

macOS host running Codex Desktop, connected to ChatGPT mobile Codex Remote. Specific macOS, desktop build, mobile OS, and mobile app versions have not yet been captured.

What issue are you seeing?

The mobile Codex Remote project/thread list is incomplete compared with Codex Desktop on the connected Mac. The Mac desktop GUI displays named local projects and conversations, while mobile omits some projects and threads. The connection is not wholly broken: some of the same host's projects/threads are visible on mobile.

Read-only observations from the affected Mac, reported by the user:

Source Observation
~/.codex/state_5.sqlite 1,306 threads in total; 0 have a non-NULL project_id
Local projects / Codex Desktop 12 projects exist; project names are displayed in the desktop GUI
.codex-global-state.json threadAssignmentsMigrated: false
Same global state 71 pending thread IDs at last inspection; the pending list grows as new threads are created

The assistant running inside Codex said it could not find a projectId, but that statement is not treated as proof of a backend/API failure, because there was no independently confirmed project lookup error.

This report concerns project/thread discovery and assignment metadata; conversation data loss has not been established. The NULL values and migration checkpoint are concrete diagnostic observations, not proof that migration failure caused the mobile discrepancy. In particular, not every one of the 1,306 threads must necessarily belong to a project.

Steps to observe in the affected installation

  1. Open Codex Desktop on Mac and view local project names and their conversation lists.
  2. Connect ChatGPT mobile Codex Remote to the same Mac host.
  3. Compare its project and thread lists with Desktop; only a subset is shown on mobile.
  4. Inspect ~/.codex/state_5.sqlite read-only: the thread table contains 1,306 rows with 0 populated project_id values, while 12 local projects exist.
  5. Inspect .codex-global-state.json: threadAssignmentsMigrated is false and the pending thread-ID count is 71.
  6. Create new threads as part of normal use and re-check the checkpoint: the pending list grows.

These are observations from an existing installation, not a deterministic clean-install reproduction. No local-state writes or repair attempts are claimed here.

Expected behavior

  • Mobile Remote should discover eligible local projects and threads on the connected host consistently with Codex Desktop, rather than silently omitting some.
  • A migration/checkpoint mechanism, if responsible for project associations, should reconcile its pending entries or document why they remain pending, without causing inconsistent project/thread discovery.

Investigation requested

Could maintainers compare Mac Desktop's local project registry/sidebar view against the project/thread enumeration used by mobile Remote, and clarify the expected relationship among:

  • threads.project_id in state_5.sqlite,
  • saved project definitions and legacy thread assignments,
  • threadAssignmentsMigrated and its pending list,
  • the project/thread metadata returned to the mobile Remote client?

The migration checkpoint may be feature-gated; the flag being false alone should not be assumed to establish the root cause. The key end-user bug is selectively missing mobile projects/threads.

Related reports

Privacy

Only aggregate counts and generic Codex state filenames are included. No private project names, project or thread IDs, full local paths, account identifiers, conversation contents, databases, or raw state files are attached.

Activity

  1. added
    bug
    app
    session
    on Oct 10, 2026
  2. orress7142 commented on Oct 19, 2026

    @orress7142

    I am experiencing a closely related issue with Codex Desktop on macOS and Android Remote.

    My existing active project and main conversation are visible on the Mac but missing from Android Remote, while older projects and conversations remain accessible.

    I have an additional reproducible finding that may help narrow down the cause:

    • move_thread_to_project returned success on two separate attempts.
    • Subsequent read-only inspection still showed project_id=NULL.
    • Direct read_thread access by the affected thread ID succeeds and returns its complete history.
    • The working directory is correct, source is exec, and the thread is not archived.

    This suggests an apparent persistence failure in project association, beyond a possible Remote indexing or visibility issue. The causal relationship is not yet established.

    I also observed different Desktop App and local app-server project identifiers, which may warrant investigation.

    Please investigate why the association operation reports success without persisting the change, and whether that explains the missing conversation in Android Remote.

    A supported repair must preserve the original conversation, full history, and active session.

    Exact identifiers and previous feedback reference can be provided privately to authorized maintainers.

  3. orress7142 commented on Oct 21, 2026

    @orress7142

    Update – October 21, 2026: Important reproduction finding and working workaround

    I performed a controlled test that significantly narrows down this issue.

    I created a brand-new conversation inside the SAME existing Codex project on macOS, without changing the repository, project configuration, or working directory.

    The new conversation appeared successfully in Android Remote under the correct project.

    The original active conversation remains missing from Android Remote, despite remaining fully accessible on macOS.

    A complete revoke-and-repair procedure using a new QR code had previously produced no improvement.

    This suggests the issue is specific to the original thread or its registration/visibility metadata, rather than general Remote connectivity or project availability.

    The previously observed anomaly remains relevant: move_thread_to_project reported success twice, but subsequent inspection returned project_id=NULL.

    Workaround: A new conversation in the existing project is accessible via Android Remote. A verified handoff is being prepared to preserve development continuity.

    The underlying bug remains unresolved. A supported repair restoring visibility of the original thread would still be valuable.

    OpenAI Support case: #17662515.

  4. jmrpineda commented on Oct 21, 2026

    @jmrpineda

    I also reproduce the incomplete mobile project-list symptom on macOS + iPhone: approximately 20 projects are visible on my Mac Studio, while only 4–5 appear in iOS Codex Remote connected to that host. Remote remains usable, including starting new chats from the phone.

    Observed 21 October 2026. Host app version reported during troubleshooting: 26.1016.51333. Exact mobile and OS builds are pending.

    My full report is in #36454 (comment).

    This is corroboration of the user-visible symptom only. I have not checked SQLite project_id values or assignment-migration checkpoints, and I am not confirming the diagnostic findings or a shared root cause described in this issue.

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

    appbugremotesession

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions