Skip to content

Gate plugin recommendation cache warming on feature flags - #60721

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/dc04e2847c94e2b15842fcd95cc0cf1f104e1fac
Nov 11, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/dc04e2847c94e2b15842fcd95cc0cf1f104e1fac

Conversation

@copyberry

@copyberry copyberry Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

Gate plugin recommendation cache warming on feature flags

Why

Background plugin cache refreshes fetched recommendations even when plugin recommendations were disabled.

What changed

Pass the effective recommendation feature state into PluginsConfigInput and skip recommendation cache warming unless apps, plugins, and either tool_suggest or recommended_plugins are enabled. Installed-plugin cache refreshes continue independently.

Disable tool_suggest and recommended_plugins by default in core and app-server test helpers, with explicit overrides for recommendation tests.

Testing

Update cache-warming and external-login recommendation tests to opt in explicitly. Update config RPC assertions to verify the test helpers' session flag overrides.

## Why

Background plugin cache refreshes fetched recommendations even when plugin recommendations were disabled.

## What changed

Pass the effective recommendation feature state into `PluginsConfigInput` and skip recommendation cache warming unless apps, plugins, and either `tool_suggest` or `recommended_plugins` are enabled. Installed-plugin cache refreshes continue independently.

Disable `tool_suggest` and `recommended_plugins` by default in core and app-server test helpers, with explicit overrides for recommendation tests.

## Testing

Update cache-warming and external-login recommendation tests to opt in explicitly. Update config RPC assertions to verify the test helpers' session flag overrides.

GitOrigin-RevId: dc04e2847c94e2b15842fcd95cc0cf1f104e1fac
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/dc04e2847c94e2b15842fcd95cc0cf1f104e1fac branch from a02e78d to fe2f185 Compare November 11, 2026 05:39
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor
Codex Review Summary: 🔄 Running

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-11-11T05:39:16.959053Z a02e78d PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@copyberry
copyberry Bot merged commit fe2f185 into main Nov 11, 2026
8 of 23 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/dc04e2847c94e2b15842fcd95cc0cf1f104e1fac branch November 11, 2026 05:39
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 11, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — fe2f1852 Deployed Nov 11, 2026 by Sunny677-QQ via Translate non-English issue #25448
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants