Skip to content

Commit 03f7945

Browse files
author
Lukas Geiger
committed
Add upstream Codex issue comment draft
1 parent 8094f1f commit 03f7945

2 files changed

Lines changed: 30 additions & 0 deletions

File tree

docs/UPSTREAM_COMMENT_ON_24327.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Comment Draft for openai/codex#24327
2+
3+
This seems closely related to the missed-run catch-up behavior discussed here, with one additional startup-specific failure mode: when Codex Desktop starts on Windows with many local automations enabled, due or near-due work can become eligible at the same moment the app is still bootstrapping. The result can feel like a startup catch-up storm.
4+
5+
I published a small unofficial workaround here:
6+
7+
https://github.com/dev-bricks/safe-start-for-codex
8+
9+
The workaround is intentionally conservative:
10+
11+
- pause only automations that were `ACTIVE` at tool start,
12+
- launch Codex Desktop,
13+
- release a small first batch whose next scheduled time is safely in the future,
14+
- release the remaining automations gradually,
15+
- restore only automations that the tool itself paused,
16+
- avoid terminating Codex sessions that still have a live renderer.
17+
18+
This is not meant as the long-term design. A native Codex solution could avoid editing TOML files and instead implement this inside the scheduler:
19+
20+
- startup grace period for automations,
21+
- catch-up queue instead of immediate all-at-once execution,
22+
- per-user catch-up/rate limits,
23+
- UI-visible pending automation work,
24+
- guarded Windows stale-process and lockfile recovery.
25+
26+
More detailed notes:
27+
28+
- Upstream issue proposal: https://github.com/dev-bricks/safe-start-for-codex/blob/main/docs/UPSTREAM_ISSUE_PROPOSAL.md
29+
- Solution concept: https://github.com/dev-bricks/safe-start-for-codex/blob/main/docs/SOLUTION_CONCEPT.md

docs/UPSTREAM_ISSUE_PROPOSAL.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Suggested expectations:
4444

4545
This repository contains a local workaround:
4646

47+
- Repository: https://github.com/dev-bricks/safe-start-for-codex
4748
- It pauses currently `ACTIVE` automations by editing local automation TOML files.
4849
- It launches Codex Desktop.
4950
- It releases a small first batch and then one automation per interval.

0 commit comments

Comments
 (0)