Skip to content

Codex leaves marketplace-upgrade staging directories under ~/.codex/.tmp #30794

Open

Description

@kajiwara321

Codex CLI/Desktop appears to leave marketplace staging directories behind under:\n\n~/.codex/.tmp/marketplaces/.staging/marketplace-upgrade-*\n\nObserved repeatedly across daily checks. Current check result:\n\ntext\ncodex-cli 0.142.5\nWARN: 103 marketplace-upgrade staging directories\nlatest: marketplace-upgrade-L95QzZ\nlatest_mtime: 2026-07-01T10:40:13+09:00\nsample_item_counts: 882, 882, 882, 882, 882\nestimated_total_items: 90846\n\n\nThe latest staging directory is fresh, so marketplace sync appears active, but old marketplace-upgrade-* directories are not being cleaned up durably. This recurs after prior cleanup/OK states.\n\nExpected behavior: completed/obsolete marketplace-upgrade-* staging directories should be cleaned automatically, or Codex should provide a safe cleanup mechanism.\n\nActual behavior: the directories accumulate until local monitoring reports WARN/CRITICAL-level bloat.\n\nSafety note: I have not deleted anything automatically; cleanup appears unsafe while Codex App/CLI may be running.

Activity

  1. added
    bug
    CLI
    app
    skills
    on Jul 1, 2026
  2. github-actions commented on Jul 1, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

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

    CLIappbugskills

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions