Codex Desktop cron automation hangs on load_workspace_dependencies, while the same call succeeds in foreground tasks

Open 💬 2 comments Opened Aug 14, 2026 by cloudinjun
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

Environment

  • Windows, Codex Desktop
  • Local standalone cron automation
  • Workspace runtime bundle: 26.813.12317
  • Time zone: America/Los_Angeles

Issue

A daily local automation needs the spreadsheet runtime before updating an XLSX file. In standalone automation threads, codex_app__load_workspace_dependencies starts but never returns. The same call returns immediately in a normal foreground Codex task using the same project.

Occurrences

  • Aug 11, 2026: two attempts, both hung for more than 2 minutes
  • Aug 12, 2026: timed out after 20 seconds
  • Aug 13, 2026: hung for approximately 38 seconds
  • Aug 14, 2026: hung for approximately 88 seconds

Expected

The loader should return the runtime paths, or return a retryable “not ready” error.

Actual

The tool remains indefinitely pending as:

Script running with cell ID …

Impact

Web research completes, but the spreadsheet cannot be updated because the spreadsheet runtime is mandatory and alternative Excel libraries are prohibited. Results are accumulating in a pending backfill queue.

Likely cause

A startup/readiness race in standalone automation threads: the automation begins before the Codex workspace-dependency provider is registered or warmed up.

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 13 days ago

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

  • #37556

Powered by Codex Action

cloudinjun · 13 days ago

Additional diagnostics:

  • Current installed Codex Desktop package: 26.810.4967.0
  • Affected automation session IDs:
  • 2026-08-11: 019ff18e-18f9-78d1-bf0a-4a828de77c3a
  • 2026-08-12: 019ff6b4-ca7b-73e3-ac80-a3d6272a539b
  • 2026-08-13: 019ffc99-1f75-7aa0-be24-6240714e5239
  • 2026-08-14: 01a00102-4558-7412-bb7a-73d28d5b7539

Unlike #37556, this report specifically affects codex_app__load_workspace_dependencies and blocks mandatory spreadsheet writes. The foreground control returned runtime bundle 26.813.12317 immediately in the same saved project.