[codex] Add synced session message queue#149
Conversation
d40d253 to
fa4aaaa
Compare
fa4aaaa to
64312cf
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 64312cf982
ℹ️ 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 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 address that feedback".
| if (this.isRunning(args) || this.hasQueuedPrompts(args)) { | ||
| const queued = this.enqueuePrompt(args); |
There was a problem hiding this comment.
Drain queued prompts after every active run
When the active operation is /continue (sessionContinue calls continuePrompt) or compaction, this branch still accepts a new submit into queuedPrompts, but only submit runs install the onSettled handler that calls startNextQueuedPrompt. After a continue/compact run finishes there is no drain, so a prompt submitted during those operations remains persisted in the queue indefinitely until some later submit happens to kick it.
Useful? React with 👍 / 👎.
Summary
Validation
Note: yarn build still reports the existing Vite large chunk warning.