fix(opencode): move delivery flushing into the daemon - #81
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 29646f3d9b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "Codex (@codex) review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "Codex (@codex) address that feedback".
OpenCode waited for backend delivery at lifecycle boundaries. A slow flush
blocked idle handling and shutdown for up to 10 seconds.
Before:
OpenCode -> journal ack -> wait for backend flush -> next event / shutdown
After:
OpenCode -> journal ack -> next event / shutdown
|
+-> daemon flushes to Braintrust in the background
Keep ordered capture acknowledgement, but let the daemon flush idle, deletion,
error, and disposal events. Delivery continues after OpenCode disconnects.
Requires both the updated OpenCode plugin and bt daemon.
29646f3 to
b401490
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b40149084c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "Codex (@codex) review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "Codex (@codex) address that feedback".
OpenCode waited for backend delivery at lifecycle boundaries. A slow flush blocked idle handling and shutdown for up to 10 seconds.
Before:
After:
Keep ordered capture acknowledgement, but let the daemon flush idle, deletion, error, and disposal events. Delivery continues after OpenCode disconnects.