After long command finished, call hook to feedback
Resolved 💬 3 comments Opened May 20, 2026 by tastynoob Closed May 20, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What variant of Codex are you using?
CLI
What feature would you like to see?
When executing long-running commands, it's desirable for CodeX to stop automatically polling or stopping, and instead provide a timeout query and a hook feedback message indicating command completion. If the command doesn't complete within the timeout period, it should perform a self-check to see if it's stuck. After completion, it should automatically send a feedback message to CodeX, instead of continuously polling for completion status.
Additional information
_No response_
3 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Codex already supports hooks. Refer to this documentation for details.
You might also be interested in the experimental
/goalfeature. See here for details.Nonono, I don't mean to suggest that CodeX should support hooks, but rather a more user-friendly approach for handling long-running commands. The current hook mechanism doesn't fully meet my needs because hooks are invoked immediately when the model stops, rather than waiting until the command execution is complete.