openai / openai/codex-plugin-cc
Increase `SessionEnd` hook timeout to prevent premature cancellation
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 33.3k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
The SessionEnd lifecycle hook currently has a timeout of only 5 seconds in hooks.json. In some environments, the hook takes longer than this to complete, causing it to time out and be cancelled before session cleanup finishes.
Please increase the SessionEnd timeout, for example, from 5 seconds to 30 seconds while leaving the SessionStart timeout unchanged.
Expected behavior
The SessionEnd hook has enough time to complete normally without being prematurely terminated.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open plugins/codex/hooks/hooks.json at the SessionEnd entry around line 21 and compare its timeout with SessionStart. Increase only the SessionEnd timeout to provide the requested completion window, then verify that SessionStart remains unchanged and the configuration reflects the expected behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 88/100