Skip to content

Commit 5499061

Browse files
committed
Add --all approve flag and fix Codex review timeouts
- Add --all flag to approve all queued commits at once - Refactor Codex app-server I/O to use channel-based reading with dedicated reader thread for reliable timeout detection - Add idle and hard deadlines for review operations - Handle review/completed message for early exit - Improve bun test gate execution error handling
1 parent 2177d65 commit 5499061

File tree

8 files changed

+872
-750
lines changed

8 files changed

+872
-750
lines changed

.ai/todos/todos.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,15 @@
3737
"note": "Source: flow review\nCommit: 311eea95538dfc9c87d6b2e5f98a7890a0803465\nModel: gpt-5.1-codex-max\nReview summary: Codex review timed out after 300s\n\nRe-run review: review timed out for commit 311eea9",
3838
"session": null,
3939
"external_ref": "flow-review-issue-888c93874436"
40+
},
41+
{
42+
"id": "1d57246970fd4297b5bba7e2bb1c4ce3",
43+
"title": "Re-run review: review timed out for commit 2177d65",
44+
"status": "pending",
45+
"created_at": "2026-02-14T16:21:46.629833+00:00",
46+
"updated_at": null,
47+
"note": "Source: flow review\nCommit: 2177d65d15ebc28e13152b31413aa8263e8f8f71\nModel: gpt-5.1-codex-max\nReview summary: Codex review timed out after 300s\n\nRe-run review: review timed out for commit 2177d65",
48+
"session": null,
49+
"external_ref": "flow-review-issue-e11c99ffe84e"
4050
}
4151
]

src/cli.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1496,6 +1496,9 @@ pub enum CommitQueueAction {
14961496
},
14971497
/// Approve a queued commit and push it.
14981498
Approve {
1499+
/// Approve all queued commits on the current branch (push once).
1500+
#[arg(long)]
1501+
all: bool,
14991502
/// Commit hash (short or full). Defaults to HEAD when omitted.
15001503
hash: Option<String>,
15011504
/// If hash is not queued but exists in git history, queue it first.

0 commit comments

Comments
 (0)