Skip to content

[macOS Desktop 26.1013] Turn-diff capture filled disk with 263.7 GB of tmp_pack garbage; disable control unavailable and config not effective live #54955

Open

Description

@Zhaoyihang-PRC

App version

ChatGPT desktop / Codex local execution: 26.1013.40934, build 20770, production channel.
Bundle identifier: com.openai.codex.
The configured updater returned up_to_date on 2026-10-18. This only establishes that this installation had no eligible update at that check.

Subscription

Not included in this sanitized report; the observed failure concerns local background Git I/O.

Platform

macOS 27.2, build 26B5091g, Apple Silicon / arm64.
Application executable: /Applications/ChatGPT.app/Contents/MacOS/ChatGPT.
Git executable: /Library/Developer/CommandLineTools/usr/bin/git.

Summary and impact

Ordinary conversations in a large local workspace repeatedly triggered the desktop application's automatic Git turn-diff capture. It wrote large temporary pack files into the workspace's .git/objects/pack, failed, and repeated the work. Initial cleanup recovered 263,700,672,673 bytes (263.7 decimal GB, approximately 245.6 GiB) from 180 Git-confirmed temporary garbage files. The user reported only approximately 122 MB free at the critical point, and the app log independently records an actual Out of diskspace failure.

After cleanup, the problem immediately recurred: an empty pack directory grew to over 1.3 GB within approximately 30 seconds, and the observed temporary pack reached 1,984,949,831 bytes. The live writer was a Git process whose parent was the desktop app, rather than an assistant-issued shell Git command. Multiple chats sharing the same workspace triggered the capture path.

This report adds a current macOS incident, exact cleanup/regrowth evidence, a distinct nested-repository failure, and evidence that the available disable setting/control is not reliably usable. It is related to the previously reported resource-exhaustion class, not a claim that all existing reports share an identical root cause.

No project-file corruption has been established. Disk exhaustion itself endangered normal local work. Remote scheduler-managed research jobs were not stopped by the cleanup or investigation.

Observed triggering conditions / reproduction

These are repeated observations in the affected environment, not a fresh minimal synthetic reproduction:

  1. Use the desktop app with a broad local workspace containing multiple projects, large generated artifacts and backups, and an uninitialized nested Git repository.
  2. Use ordinary chats/file work; no request to stage or commit files is needed.
  3. The application starts turn-diff-capture-start with source=turn_diff_analytics and invokes Git with a temporary index.
  4. Git writes objects/temporary packs in the workspace repository; the capture fails (including the nested repository error below).
  5. Another turn/chat retries the capture, producing further temporary packs.
  6. Removing stale temporary packs alone does not prevent rapid regrowth.

Please do not require recreating hundreds of GB of writes on the affected machine. Existing observations and sanitized evidence are retained.

Direct process attribution

The observed command was:

/Library/Developer/CommandLineTools/usr/bin/git
  -c safe.bareRepository=explicit
  -c core.hooksPath=/dev/null
  -c core.fsmonitor=
  add --sparse --pathspec-from-file=- --pathspec-file-nul

Example observed process relationships:

  • Git PID 83769 wrote the pack that regrew after cleanup; its parent was desktop app PID 81067.
  • A later verified snapshot Git PID 85483, also parented by 81067, was sent SIGTERM as targeted containment.
  • The application and research/compute processes were not terminated.

A temporary index under a codex-index-* temporary directory was observed. Blocking the ordinary repository index alone would therefore not stop this path.

Disk evidence

The initial cleanup receipt records:

  • First pass: 176 files / 259,627,226,107 bytes.
  • Four recent/active candidates were deferred; a later safe pass removed 4 files / 4,073,446,566 bytes.
  • Total: 180 files / 263,700,672,673 bytes, no deletion failures.
  • Only stale, unopened files identified by Git as tmp_pack_* garbage were removed.
  • Git reported zero finalized packs in this root repository at inspection; normal loose objects and snapshot refs were preserved.

Regrowth receipt, 2026-10-18 08:11:45 UTC+08:

pack file size: 1984949831 bytes
count: 7613
in-pack: 0
packs: 0
garbage: 1
size-garbage: 1938427
warning: garbage found: .git/objects/pack/tmp_pack_<redacted>

The exact byte size above is from filesystem stat; Git's size-garbage field is in its own reporting units.

A subsequent containment cleanup removed three newly produced closed temporary packs totaling 4,436,253,850 bytes. These are additional to the initial 263.7 GB cleanup, not a substitute measurement of it.

Sanitized log excerpts

Times in this section are UTC. Local incident times above are UTC+08. Private workspace paths, nested project names and incidental identifiers are redacted.

Actual disk-full failure:

2026-10-18T00:00:17.139Z
worker_rpc_response_error
method=turn-diff-capture-start
errorMessage="fatal: sha1 file '.git/objects/pack/tmp_pack_<redacted>' write error. Out of diskspace"

Failed to start turn diff analytics capture

Repeated nested-repository failure:

2026-10-18T00:07:53.514Z
worker_rpc_response_error
method=turn-diff-capture-start
errorMessage="error: '<nested-repository>/' does not have a commit checked out\nfatal: adding files failed"

Failed to start turn diff analytics capture

Even after the snapshot-only root repository metadata was quarantined, the trigger continued:

2026-10-18T00:43:15.740Z
cwd=<workspace-B>
requestKind=turn-diff-capture-start
source=turn_diff_analytics
subcommand=status
exitCode=128
success=false

2026-10-18T00:43:15.753Z
worker_rpc_response_error
method=turn-diff-capture-start
errorMessage="fatal: not a git repository (or any of the parent directories): .git"

Thus containment stopped the heavy writes, but did not establish that the application stopped invoking the capture trigger.

Disable configuration/control problem

The installed application registers the setting:

[desktop]
git-review-mode = "last-turn-only"

The setting was persisted at approximately 08:17 UTC+08, but the running app still attempted capture at approximately 08:22:40 UTC+08. The user opened the command menu and searched for Git-based diffs; Disable Git-based diffs was not visible.

The setting was subsequently found absent again; the writer/removal cause is unknown. It was backed up and restored at approximately 08:46 UTC+08 as a restart-validation candidate. Do not interpret that unexplained config change as proof of an application overwrite bug.

Restart validation is still pending. The app has not been restarted for this latest setting test because active local execution would be interrupted. This report does not claim that a tested quit/relaunch failed on this Mac.

Read-only inspection of the installed bundle suggests:

  • The analytics-capture start condition excludes the effective last-turn-only review mode.
  • The effective review mode only honors the configured value when internal feature gate 2333235660 is enabled; otherwise it resolves to full.
  • The capture path also checks gate 586515394 and account conditions.
  • Therefore a persisted setting is not sufficient evidence of the effective runtime mode. Actual live gate values were not obtained.
  • The installed command exists in bundled code, but availability is gated.
  • No evidence was found that analytics.enabled=false reliably prevents the local Git-writing capture itself; do not conflate disabling analytics transport with disabling file capture.

Relevant installed asset:
webview/assets/app-initial-90eb42395b7d.js
SHA-256:
2687d59e8c67ccf81c7efb3820211070df303c6a200c9e0e8d604f26253f2f5e

No application binary/ASAR was patched, no feature gates were overridden, and no global Git executable/configuration was replaced.

Mitigation already applied (not a recommended universal cleanup recipe)

  1. Removed only verified stale, unopened temporary Git garbage, retaining project files and normal objects.
  2. Temporarily made this specific pack directory non-writable and stopped only a positively identified snapshot Git child. This prevents writes but can also impede legitimate pack writes in that repository, so it is containment rather than a product fix.
  3. Verified that two affected root repositories had no HEAD commit, user branches/tags, tracked index entries or remotes; their refs were only under refs/codex/turn-diffs/.
  4. Moved those two roots' Git metadata into a preserved quarantine outside the workspaces, rather than deleting it. Nested legitimate repositories and project contents were left untouched.
  5. Confirmed no root .git recreation and no snapshot add/pack writer in subsequent checks; logs still showed attempted capture returning not-a-repository.
  6. Left server jobs, terminal-owned SSH connections, shared software and research data untouched.

This quarantine is specific to verified snapshot-only repositories. It must not be generalized to removing a user's real Git history.

Expected behavior / requested fixes

  • Provide a durable, discoverable disable automatic Git snapshot/capture control independent of experimental feature gates, while retaining user-requested Git operations.
  • Honor that control before dispatching the capture RPC or starting Git; disabled capture should not simply fail on every turn.
  • Bound capture disk I/O and reject/skip oversized artifacts before writing Git objects.
  • Isolate snapshot object storage from the user's repository and reclaim abandoned storage after errors/cancellation.
  • Handle uninitialized nested repositories without repeated large writes and persistent retries.
  • Add disk-space/backoff protection and serialize/deduplicate captures across chats sharing a workspace.
  • Expose effective capture configuration and distinguish local capture from analytics sending.
  • Provide a safe diagnostic/cleanup path that preserves legitimate history and active processes.

Related upstream reports

These links are related context; their symptoms and platforms are not assumed identical to this case.

Evidence and privacy

This report was prepared and submitted at the affected user's explicit request. Counts, process attribution, redacted error text and settings observations were checked against locally retained receipts/logs. Original logs, full session transcripts, filesystem inventories, usernames, private project paths, credentials, remote-host/account details and research datasets are not attached or published. Exact local evidence remains available for a suitably private support follow-up.

Activity

  1. added
    bug
    app
    config
    on Oct 18, 2026
  2. abhinav-nigam commented on Oct 25, 2026

    @abhinav-nigam

    Adding an independent incident on the same desktop build, with per-file evidence linking the abandoned packs to canceled turn-diff captures.

    Environment and scope

    • Codex desktop 26.1013.40934 (20770), bundle ID com.openai.codex.
    • macOS 26.5.1 (25F80), arm64; Git 2.50.1 (Apple Git-155).
    • Observations cover October 20–25, 2026.
    • This is an established repository with commits, refs and linked worktrees, not an accidental home-directory repository or a snapshot-only repository with no HEAD.

    New evidence: all 28 pack timestamps match cancellations

    The repository contained 28 abandoned .git/objects/pack/tmp_pack_* files occupying 66,224,242,688 allocated bytes (66.224 decimal GB).

    For every one of the 28 files, its final modification timestamp matches a canceled desktop git add completion for this repository within 9.608 ms. Examples (UTC; identifiers below are only sample labels):

    Sample Allocated bytes Pack final mtime Canceled add log timestamp Absolute difference
    A 4,950,724,608 2026-10-20 17:22:15.115045 2026-10-20 17:22:15.115 0.045 ms
    B 663,621,632 2026-10-21 07:52:52.936393 2026-10-21 07:52:52.946 9.608 ms
    C 5,259,530,240 2026-10-22 00:40:16.838082 2026-10-22 00:40:16.838 0.082 ms
    D 629,411,840 2026-10-25 11:15:47.797025 2026-10-25 11:15:47.801 3.975 ms

    Retained logs contain 92 canceled turn-diff add warning events for this repository during that period. This is a count of observed cancellation events, not the total number of capture attempts.

    Representative sanitized event, with incidental identifiers omitted:

    2026-10-25T11:15:47.801Z warning [git] git.command.complete
    aborted=true
    command="git -c safe.bareRepository=explicit -c core.hooksPath=/dev/null -c core.fsmonitor= add --sparse --pathspec-from-file=- --pathspec-file-nul"
    cwd=<repo>
    durationMs=104568
    exitCode=null
    failureReason=canceled
    requestKind=turn-diff-capture-start
    source=turn_diff_analytics
    subcommand=add
    success=false
    timedOut=false
    

    Other matched events also include turn-diff-capture-complete. These observations strongly attribute this batch to canceled desktop change capture. They do not establish why each request was canceled, or support blaming ordinary git gc.

    Workload and implementation observation

    At investigation time, the repository had 58,761 nonignored untracked files totaling about 20.8 GB, including a roughly 5.3 GB compressed archive. This is a current inventory, not a reconstruction of every historical capture's input.

    Read-only inspection of the installed desktop worker shows a temporary Git index for turn-diff tree construction, while object writes use the repository's shared object store. Removing the temporary index directory therefore does not remove abandoned packs there. The output-diff size limit occurs after tree construction and does not prevent expensive input ingestion.

    This is evidence from the affected installation, not a fresh minimal desktop reproduction. No app binary, feature gate, Git executable or Git configuration was modified.

    Cleanup verification

    Git identified the 28 files as garbage. Before removal, they were unchanged, had no open handles, and no Git operation was active. Only the audited files were removed:

    • Repository connectivity checks passed before and after.
    • All refs and all 35 other pack-directory files were unchanged.
    • Measured filesystem free-space gain was 66,225,192,960 bytes, consistent with the 66.224 GB file allocation removed, allowing for concurrent filesystem activity.

    This was a specific audited cleanup, not a recommendation to glob-delete temporary files in a live repository.

    Proposed fix and regression coverage

    A candidate design for maintainers:

    1. Give each capture a private object directory as well as a private index; read existing repository objects through alternates. On cancellation/failure, wait for the owned Git process tree to exit, then remove only that capture's private storage.
    2. On success, retain/promote required objects before publishing capture/checkpoint refs. Preserve later cross-turn reads, linked-worktree common object storage, and concurrent captures.
    3. Bound input file count, per-file/total bytes, free-space consumption and bytes written. Skip/degrade capture cleanly when limits are exceeded; serialize/deduplicate captures and back off after repeated failures.

    Regression cases should cover cancellation after temporary-pack creation, nonzero exit after object writes, a simultaneous legitimate Git writer, linked worktrees, and successful checkpoint reads. Failed captures should leave neither shared-store growth nor orphaned private storage. Broad age-based deletion in the shared object directory would risk unrelated Git operations.

    This is a proposed design, not an implemented or tested product patch. Related reports: #19588 and #50920.

    Private paths, project names, transcripts and raw pack contents are intentionally excluded. The counts, correlation table and preservation results were checked against retained local receipts.

  3. gary23w commented on Oct 29, 2026

    @gary23w

    SOLVED:

    Windows reproduction, same mechanism, with the responsible functions located in the installed bundle.

    Version / platform. Codex App 26.1023.6621.0 (MSIX OpenAI.Codex_26.1023.6621.0_x64), Windows 11 Home 26300, Git for Windows 2.52.0. Subscription: ChatGPT (forced_login_method=chatgpt).

    What happened. Opening one thread in a folder that held a .git plus ~194k files (copies of several projects, no .gitignore) made the app write 25,605 loose objects / 605 MB into .git/objects within about three minutes of the thread opening, before the agent ran a single command (the session log for that thread has one turn and zero exec calls). Largest blobs were 40 to 90 MB binaries. The checkpoint ref written under refs/codex/turn-diffs/checkpoints//// points at an object that does not exist, so the capture was abandoned mid-write and the objects were left behind. Nothing ever packs or prunes them: git gc is never invoked, and in this case git can no longer open the directory at all (HEAD is gone; cause unknown).

    Across the other workspaces this account uses, the same feature has left 313 MB, 211 MB and 116 MB of loose objects (6,505 objects and 83 checkpoint refs in one repo). Two of those are now above the app's own 200 MB object-store limit, so worktree snapshots there will fail with "Repository is too large".

    Where it is in the bundle (resources/app.asar, node-side chunk; minified names as shipped):

    Capture handler ESe (RPC turn-diff-capture-start) → C4 → bSe: runs status --untracked-files=normal, then 0 stages every untracked path with git add --sparse --pathspec-from-file=- --pathspec-file-nul into a temp index (codex-index-*) and runs write-tree. There is no cap on file count, bytes, or per-file size on this path. In a repo with no ignore file that is the whole tree.
    The only size guard, Cve(e, Ige) with Ige = 209715200, reads git count-objects -v (size + size-pack), i.e. it measures the object store that previous captures produced, not the tree about to be hashed, and it is only called on the worktree-snapshot path, not the capture path. A fresh store always passes.
    Checkpoint refs are expired after D4 = 7 * 864e5 ms, but no gc/repack ever runs, so expired checkpoints become unreachable loose objects that stay on disk indefinitely.
    Disable path: oBt(e, t) => t ? e : "full" with t = e(z
    , "2333235660") || checkGate("2333235660") === true. So [desktop] git-review-mode = "last-turn-only" (the "Disable Git-based diffs" setting, settings.git.reviewMode.*) is a no-op unless that gate is on for the account. Confirmed here: ~/.codex/config.toml already contained [desktop] git-review-mode = "last-turn-only" (file last modified at app start, before the thread was opened), and the 605 MB capture ran regardless.
    Separately, every git read query is a TanStack query with staleTime: 250, gcTime: 250 and a per-repo generation counter that is bumped on every watcher event and mutation. Measured on a 1,300-file worktree: 13 git invocations per 20 s while idle, each spawning a cmd wrapper, the real git.exe and a conhost. Over a 90 s sample: 31 git launches and 40 conhost launches.
    Observed git command line (parent: the app's node.mojom.NodeService utility process):

    git -c safe.bareRepository=explicit -c core.hooksPath=NUL -c core.fsmonitor= add --sparse --pathspec-from-file=- --pathspec-file-nul
    Note on the public repo. None of this is in openai/codex: the open-source ghost-snapshot path is retired (GhostSnapshotToml fields are documented as legacy no-ops and GhostSnapshotConfig says snapshots are no longer produced), and git-utils/src/baseline.rs is the separate memory baseline, already capped per file. So this cannot be fixed by an outside PR; it needs a change in the app bundle.

    Suggested fixes, in order of impact.

    Bound the capture: skip or truncate when the untracked set exceeds a count or byte budget (the memory-baseline path in codex-rs already has MAX_BASELINE_FILE_BYTES = 10 MiB; the app capture has nothing equivalent), and never stage paths that are not under a .gitignore-governed tree without a cap.
    Measure the right thing in the guard: estimate the tree to be hashed (or the untracked byte total), not count-objects of the store.
    Clean up: run git gc --auto (or repack/prune of refs/codex/* leftovers) after captures, and delete the partial objects of an aborted capture.
    Make "Disable Git-based diffs" available without the feature gate, and honour it live.
    Raise staleTime for status/ls-files/diff queries well above 250 ms and spawn git detached (no console host) on Windows.
    Happy to provide the sanitized sampler and timing data on request.

  4. gary23w commented on Oct 29, 2026

    @gary23w

    Reference implementation of a codex doctor check that surfaces this: gary23w@5a43fa7 (branch doctor-git-object-store, one commit, three files).

    It inspects the working repository's object store from the filesystem without executing git, following .git files and commondir for linked worktrees, and reports loose objects, pack files, leftover tmp_obj_* / tmp_pack_* files, the number of refs/codex/* refs (loose and packed), and whether the repository is registered for git maintenance. It warns past git's gc.auto default (6,700 loose objects) or 200 MiB, with remedies pointing at git maintenance register / start or a one-off git gc. Unit tests cover the stat collection, worktree resolution, config matching and both report states.

    Pull requests here are limited to collaborators, so I cannot open one; the branch is there for anyone on the team to pull from.

  5. sloaiza86 commented on Oct 30, 2026

    @sloaiza86

    Adding a further macOS incident on a newer desktop build, observed on 2026-10-30, with per-file correlation between abandoned packs and failed automatic captures.

    Environment

    • ChatGPT desktop / Codex local execution: 26.1027.30824, build 22943, bundle ID com.openai.codex (read from the installed app's Info.plist).
    • macOS 27.0.1, arm64.
    • Local workspace containing task documents and large untracked artifacts. At initial inspection, there was no root .gitignore or ordinary .git/index; 13 existing refs were under refs/codex/turn-diffs/checkpoints/.
    • Git writer: /Applications/Xcode.app/Contents/Developer/usr/bin/git. A process inspection linked the active Git child to the desktop application's Codex Service, and lsof showed that child writing the newest temporary pack.

    Storage growth and timestamp correlation

    Initial inspection found 79 tmp_pack_* files totaling 134,383,842,879 bytes, plus one finalized pack of 11,590,132,683 bytes. Another temporary pack appeared during the investigation and grew to 2,621,833,228 bytes.

    The final cleanup inventory contained 80 abandoned temporary packs totaling 137,005,676,107 logical bytes (137.0 decimal GB), with 137,006,002,176 allocated bytes.

    All 80 files' final modification times match failed automatic turn-diff git add completion events within 9.186 ms: 78 cancellations and 2 nonzero exits. Representative events:

    Event time (UTC, 2026-10-30) Temporary pack bytes Result Absolute mtime difference
    01:53:33.378 2,778,726,412 Nonzero exit 9.186 ms
    02:01:11.665 2,593,783,820 Canceled 1.220 ms
    02:04:28.942 2,621,833,228 Canceled 0.243 ms

    Sanitized final cancellation:

    2026-10-30T02:04:28.942Z
    git.command.complete
    command="git -c safe.bareRepository=explicit -c core.hooksPath=/dev/null -c core.fsmonitor= add --sparse --pathspec-from-file=- --pathspec-file-nul"
    cwd=<workspace>
    requestKind=turn-diff-capture-start
    source=turn_diff_analytics
    subcommand=add
    durationMs=59358
    aborted=true
    failureReason=canceled
    success=false
    timedOut=false
    

    Two milliseconds later, the main application log recorded:

    2026-10-30T02:04:28.944Z
    worker_rpc_response_error
    method=turn-diff-capture-start
    errorMessage="Git snapshot became stale"
    

    Earlier logs also recorded actual No space left on device failures while creating a codex-index-* temporary directory. At an inspection point, only approximately 10.8 GB was free.

    Triggering data and evidence limits

    The workspace included an existing 8.896 GB ZIP, 3.670 GB JSONL log and 2.307 GB MP4. Pack-object declared sizes and decompressed 64 KiB prefixes matched these files. Among the initial 79 temporary packs, 77 began with the ZIP's content, one with the JSONL, and one with the MP4. These are size/prefix matches, not full-file hash comparisons.

    This is evidence from repeated operations in the affected workspace, not a fresh minimal synthetic reproduction. No large artificial workload was created. The logs and process evidence identify desktop turn-diff capture; they do not establish the reason for every historical cancellation or an independent Git defect.

    Mitigation and verification

    • Added targeted .gitignore rules for the offending raw-artifact bundles and logs.
    • Removed only the 80 explicitly inventoried temporary packs after checking stable metadata and no open handles. The previously active writer had exited by cleanup.
    • Immediate post-cleanup verification found zero temporary packs, unchanged finalized pack/index metadata, and all 13 pre-existing refs preserved.
    • A metadata comparison of 6,660 inventoried workspace files found none changed or missing during cleanup; sampled checks of the original large files also passed.
    • At 02:07:21 UTC, Codex created a new capture tree containing the updated .gitignore and the task folder while excluding the three large paths. A subsequent inspection still found zero temporary packs.

    The ignore rules mitigate this input set, not the general unbounded-capture problem. The installed "Disable Git-based diffs" control was not enabled or runtime-tested in this incident.

    Please provide bounded capture I/O, safe cleanup of capture-owned temporary objects after cancellation/failure, and a reliable per-workspace disable control that does not depend on artifact names.

    Private workspace paths, project names, account identifiers, conversation transcripts and raw file contents are omitted. Local inventory, cleanup and correlation receipts are retained.

  6. Kaizah360 commented on Nov 9, 2026

    @Kaizah360

    Additional macOS incident observed November 9, 2026, submitted with the affected user’s authorization.

    Impact: A local workspace accumulated 393 abandoned tmp_pack_* files totaling 671.22 GiB (approximately 721 GB). The data volume reached 99% full. These files dated November 1–9; many were around 2 GB. App build was not verified for this incident; macOS version is 27.2.

    Direct evidence: Desktop logs identify source=turn_diff_analytics, requestKind=turn-diff-capture-start, and automatic bulk Git add operations:

    git -c safe.bareRepository=explicit -c core.hooksPath=/dev/null -c core.fsmonitor= add --sparse --pathspec-from-file=- --pathspec-file-nul
    

    Two capture failures explicitly name temporary pack files and report:

    fatal: sha1 file '.git/objects/pack/tmp_pack_<redacted>' write error. Out of diskspace
    Failed to start turn diff analytics capture
    

    A bounded review of November 8–9 logs found 17 canceled bulk-add capture calls and 19 other failed/warning bulk-add calls. Canceled captures report failureReason=canceled and no exit code. Logs also show nested-repository warnings.

    Attribution limits: Two abandoned files are directly linked to these capture errors. Repeated capture attempts plausibly explain the larger accumulation, but the origin of all 393 files is not individually proven. We have not established why earlier operations were canceled, which file classes were captured, or a deterministic minimal reproduction. No custom Git gc/maintenance/pack configuration was found.

    Recovery: After confirming no Git writer or open pack handle, only the 393 inventoried inactive temporary files were removed. Git connectivity checks passed before and after. All 68,505 other inventoried Git file entries retained their sizes, modification times and inode identities. Source, private saved data, ordinary Git objects and refs were not deleted. Approximately 681 GiB became available immediately after cleanup. This is recovery, not proof of a permanent fix; no preventive setting was changed.

    Please investigate cleanup on capture cancellation/failure, bounded storage usage, retry/backoff behavior, and a supported way to disable this automatic capture without disabling normal Git work. We would prefer not to reproduce hundreds of GiB of writes again.

    Privacy: This comment deliberately excludes usernames, machine names, project/repository names, absolute paths, account details, session identifiers, raw logs, source code and datasets. The local investigation is retained privately. No hardware failure was established.

  7. Treatid2 commented on Nov 10, 2026

    @Treatid2

    I posted Windows evidence for the same automatic capture path on #20933. The Disable Git-based diffs control was also absent from Settings → Git in the affected session. The follow-up asks for an app-wide opt-out that prevents capture before Git launches, independent of rollout eligibility. Main follow-up: #20933 (comment)

  8. rmjarvis commented on Nov 16, 2026

    @rmjarvis

    Still occurring on macOS with Codex desktop 26.1111.21308, observed November 16, 2026, in an established code repository.

    • .git reached approximately 38 GiB, including 247 tmp_pack_* files totaling 34.58 GiB.
    • Desktop logs contained 258 canceled git add operations for the repository, attributed to source=turn_diff_analytics.
    • One unfinished pack’s final modification time matched a capture cancellation within 0.04 seconds. The app reported “Git snapshot became stale.”
    • That pack’s first blob declared an uncompressed size of 802,327,680 bytes and began with a FITS header, matching the size and format of a large nonignored, untracked workspace file.

    The disable control is also inaccessible: “Disable Git-based diffs” appears in Settings search, but selecting it opens the Git settings page without a corresponding control. Searching the command palette does not show the action either.

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

    appbugconfigperformance

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions