Skip to content

Keep shared skill caches fresh across plugin loads - #37000

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/03fed3b40d45bb29206d5a3c3e78f06df04dbb1e
Aug 5, 2026
Merged

Keep shared skill caches fresh across plugin loads#37000
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/03fed3b40d45bb29206d5a3c3e78f06df04dbb1e

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 5, 2026

Copy link
Copy Markdown

Keep shared skill caches fresh across plugin loads

What changed

  • Key cached skill snapshots by filesystem and plugin snapshot identity so compatible config and working-directory loads can share results without reusing stale plugin data.
  • Coalesce concurrent loads for the same cache key and replace the cached entry on forced reload.
  • Clear both plugin and skill caches when skills/list forces a reload, and bypass working-directory caching when effective plugin roots are present.

Testing

  • Cover concurrent cache sharing, filesystem isolation, forced reloads, and refreshed plugin skill metadata in host service and app server tests.

## What changed

- Key cached skill snapshots by filesystem and plugin snapshot identity so compatible config and working-directory loads can share results without reusing stale plugin data.
- Coalesce concurrent loads for the same cache key and replace the cached entry on forced reload.
- Clear both plugin and skill caches when `skills/list` forces a reload, and bypass working-directory caching when effective plugin roots are present.

## Testing

- Cover concurrent cache sharing, filesystem isolation, forced reloads, and refreshed plugin skill metadata in host service and app server tests.

GitOrigin-RevId: 03fed3b40d45bb29206d5a3c3e78f06df04dbb1e
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/03fed3b40d45bb29206d5a3c3e78f06df04dbb1e branch from d5ccd8f to 5d89ab6 Compare August 5, 2026 01:24
@github-actions

github-actions Bot commented Aug 5, 2026

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 merged commit 5d89ab6 into main Aug 5, 2026
29 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/03fed3b40d45bb29206d5a3c3e78f06df04dbb1e branch August 5, 2026 01:25
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 5, 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.