Skip to content

Add storage diagnostics to codex doctor - #38795

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/0a99f9d278717e7d19936ffc504984b3a0958c25
Aug 15, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/0a99f9d278717e7d19936ffc504984b3a0958c25

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 15, 2026 •

Copy link
Copy Markdown

Add storage diagnostics to codex doctor

What changed

  • Report available space for CODEX_HOME and the active worktree, warning below 5 GiB and failing below 1 GiB.
  • On Windows, report whether the active Git worktree is on a trusted Dev Drive and provide remediation when it is not.
  • Run attached doctor reports against the conversation workspace, including workspaces recovered from persisted thread metadata, while keeping the subprocess anchored in CODEX_HOME so deleted workspaces do not prevent it from starting.

Testing

  • Cover disk thresholds, measurement failures, missing paths, conversation workspace selection, command construction, Windows volume detection, and human-readable output.

## What changed

- Report available space for `CODEX_HOME` and the active worktree, warning below 5 GiB and failing below 1 GiB.
- On Windows, report whether the active Git worktree is on a trusted Dev Drive and provide remediation when it is not.
- Run attached doctor reports against the conversation workspace, including workspaces recovered from persisted thread metadata, while keeping the subprocess anchored in `CODEX_HOME` so deleted workspaces do not prevent it from starting.

## Testing

- Cover disk thresholds, measurement failures, missing paths, conversation workspace selection, command construction, Windows volume detection, and human-readable output.

GitOrigin-RevId: 0a99f9d278717e7d19936ffc504984b3a0958c25
@github-actions

Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/0a99f9d278717e7d19936ffc504984b3a0958c25 branch from 8774bd8 to 6efcdad Compare August 15, 2026 18:48
@copyberry
copyberry Bot merged commit 6efcdad into main Aug 15, 2026
26 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/0a99f9d278717e7d19936ffc504984b3a0958c25 branch August 15, 2026 18:49
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 15, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — 6efcdad4 Deployed Aug 15, 2026 by zhanlizhang79-afk via Generate label suggestions #38031
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants