Skip to content

Clamp SessionEnd hook timeout to Codex limit - #780

Open
blakejgruber wants to merge 1 commit into
openai:mainfrom
blakejgruber:blakejgruber/rnd-169-codex-plugin-sessionend-timeout-exceeds-the-3s-runtime-cap
Open

blakejgruber wants to merge 1 commit into
openai:mainfrom
blakejgruber:blakejgruber/rnd-169-codex-plugin-sessionend-timeout-exceeds-the-3s-runtime-cap

Conversation

@blakejgruber

Copy link
Copy Markdown

Codex clamps SessionEnd hook timeouts to three seconds, so the plugin's five-second declaration emits a warning whenever the plugin is loaded.

Set the declared timeout to the supported maximum and add a regression assertion that parses the manifest rather than matching text.

Validation:

  • node --test tests/commands.test.mjs
  • source and installed-cache manifests parse as JSON with SessionStart=5 and SessionEnd=3
  • an ephemeral Codex session completed without the clamp warning

Tracked locally as RND-169.

@blakejgruber
blakejgruber requested a review from a team September 22, 2026 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant