Skip to content

Cache remote plugin catalogs by scope - #34849

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/7844e9dfb72e43b26d749b4afd16fd9c1793caba
Jul 23, 2026
Merged

Cache remote plugin catalogs by scope#34849
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/7844e9dfb72e43b26d749b4afd16fd9c1793caba

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 23, 2026

Copy link
Copy Markdown

Cache remote plugin catalogs by scope

What changed

  • Cache global, user, and workspace remote plugin catalogs on disk with a three-hour TTL and scope- and account-specific keys.
  • Serve cached catalogs from plugin/list, refresh stale entries in the background, and warm existing caches at app-server startup without blocking list requests.
  • Make forceRefetch: true bypass cached catalog data and replace an entry only after a successful fetch.
  • Invalidate user and workspace catalog caches after remote plugin sharing changes.

Testing

  • Cover cache freshness, scope isolation, legacy global cache compatibility, identity requirements for private catalogs, forced refetches, and non-blocking startup refreshes.

## What changed

- Cache global, user, and workspace remote plugin catalogs on disk with a three-hour TTL and scope- and account-specific keys.
- Serve cached catalogs from `plugin/list`, refresh stale entries in the background, and warm existing caches at app-server startup without blocking list requests.
- Make `forceRefetch: true` bypass cached catalog data and replace an entry only after a successful fetch.
- Invalidate user and workspace catalog caches after remote plugin sharing changes.

## Testing

- Cover cache freshness, scope isolation, legacy global cache compatibility, identity requirements for private catalogs, forced refetches, and non-blocking startup refreshes.

GitOrigin-RevId: 7844e9dfb72e43b26d749b4afd16fd9c1793caba
@github-actions

Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/7844e9dfb72e43b26d749b4afd16fd9c1793caba branch from 560a7e9 to 83ff1c2 Compare July 23, 2026 00:54
@copyberry
copyberry Bot merged commit 83ff1c2 into main Jul 23, 2026
31 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/7844e9dfb72e43b26d749b4afd16fd9c1793caba branch July 23, 2026 00:55
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 23, 2026
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.

1 participant