Repository navigation
🤖 fix: hook settings revalidate, share one timeout, and cap the payload - #6496
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: e40c179ea3
ℹ️ 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".
…aits on a stuck repair
|
@codex review Round 1 findings addressed: one deadline for the repair wait and reads, and no repeated waits on a stuck repair. |
🛡️ Codex Security Review · Automatically triggeredSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f8aad28d8b
ℹ️ 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".
|
@codex review Round 2 finding addressed: the sibling prefetch now honors tool grants. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d86cd1d52b
ℹ️ 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".
🛡️ Codex Security Review · Automatically triggeredSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
|
@codex review Round 3 finding addressed: no settings read starts with a partial budget after a repair wait. |
🛡️ Codex Security Review · Automatically triggeredSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
|
Codex Review: Didn't find any major issues. Delightful! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
🛡️ Codex Security Review · Automatically triggeredSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: fc425e1922
ℹ️ 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".
Summary
Plugin hooks get
settingsfrom their own plugin's MCP servers. This PR fixes five review follow-ups in that path. A hook no longer gets values from a server that an override change is about to disable. A hook no longer gets{}when a save cached newer values. One dispatch waits about one settings timeout, not one per plugin. Largesettingspayloads are omitted with a flag.Refs #6186. Items fixed here:
PRRT_kwDOPxxmWM6rPP0t)PRRT_kwDOPxxmWM6rPkK5)PRRT_kwDOPxxmWM6rPkK8)settingspayload (PRRT_kwDOPxxmWM6rPkK9)PRRT_kwDOPxxmWM6rv4Hq)Implementation
MCPServerManager.getSettingsForPluginHooks:repairEnablement, bounded by the hook timeout. On timeout the hook gets no settings. The manager remembers a repair that outlasted one wait, so later hooks fail closed at once instead of waiting again.canCallToolForPluginHook. The manager checks it before the reads and again for every collected server afterPromise.all, cached servers included.{}. A save that settled during a failed read now wins.AgentPluginHookService:settingsabove 64 KiB of JSON. The hook getssettings: {}andsettingsOmitted: true, likeresultOmittedfor large tool results. The service logs a warning.Risks
Low. The change is limited to the hook settings path. Two behavior changes:
{}for that one call.Generated with
xum• Model:anthropic:claude-opus-5-5• Thinking:high• Cost:$1.44