Skip to content

Tests: codex-cli-update, install-census and desktop-routing suites fail on a host with a real Codex/OpenCodex install (pre-existing at v2.100.3) #8852

Closed

Description

@lidge-jun

Client or integration

Other

Area

Other

Summary

During release regression verification of dev (1d5c5c1, a14e809, 2589be5), these root tests failed with assertion errors (not timeouts) on a macOS developer host. The same tests also fail at v2.100.3 (873ec9b), and none of their files changed in v2.100.3..2589be5. So they are pre-existing and depend on the host, not release regressions:

  • tests/codex-integration/codex-cli-update-apply.test.ts: 3 tests, for example "published CLI packs and applies through a symlinked TMPDIR using canonical staging" (expect(plan.applicable).toBe(true) → false at line 542), and "published Node launcher -> real resolver/provenance -> plan/apply -> verified new files" (toMatchObject diff at line 380). Run alone at a14e809: 40 pass / 3 fail.
  • tests/codex-integration/codex-cli-update-process-fixture.test.ts: all 7 tests ("fixture scan active keeps the real plan refusal", ...). Run alone at a14e809: 0 pass / 7 fail.
  • tests/clients/link-full-install-census.test.ts: "an ocx-child alone, or an ocx that cannot run, reports none" got "present". This host has a real OpenCodex install (/Applications/OpenCodex.app, proxy on 10100), which suggests the census reads ambient host state.
  • tests/clients/desktop-compatibility-routing.test.ts: 5 tests (toBe(true) received false).
  • tests/ci-workflows/ci-bun-install-frozen.test.ts: "retry completes a trusted postinstall interrupted after package extraction" (exit 124 instead of 0, likely load).

The codex-cli-update failures look like the plan refusing because of a real running Codex process on the host (Codex app server is running). These tests probably need full isolation from host process and install state, or a skip with a stated reason.

Reproduction

  1. On a Mac that runs the Codex desktop app and an installed OpenCodex, check out v2.100.3.
  2. bun install --frozen-lockfile
  3. bun run test tests/codex-integration/codex-cli-update-apply.test.ts (and the other files above).
  4. Repeat at dev 2589be5; the same tests fail.

Version

v2.100.3 and dev 2589be5

Operating system

macOS (Apple Silicon, 18 cores), shared host with other build lanes (load average 6 to 36 during runs)

Provider and model

n/a (test suite)

Logs or error output

No response

Screenshots and supporting files

No response

Redacted configuration

No response

Checks

  • I searched existing issues and documentation.
  • I removed secrets, tokens, account details, request credentials, and personal data.

Activity

  1. added
    bug
    on Nov 16, 2026
  2. coderabbitai commented on Nov 16, 2026

    @coderabbitai
    Contributor
    🔗 Related PRs

    #8712 - fix(codex): read the CLI update job ledger again when a concurrent write replaced it [merged]
    #8283 - test: isolate Codex CLI update fixture process scans [closed]


    📝 Issue Planner

    Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.

    • Create Plan

    🧪 Issue enrichment is currently in open beta.

    To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

    issue_enrichment:
      auto_enrich:
        enabled: false

    💬 Have feedback or questions? Drop into our discord!

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

    bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions