Skip to content

Preserve shared bundled skill caches - #36989

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/1eca999b33b7be69873a40a91767fd26f0c2b457
Aug 4, 2026
Merged

Preserve shared bundled skill caches#36989
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/1eca999b33b7be69873a40a91767fd26f0c2b457

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 4, 2026

Copy link
Copy Markdown

Preserve shared bundled skill caches

Why

The bundled system-skill cache is shared by every process using the same
CODEX_HOME. A service with bundled skills disabled must not remove cache
files that another service still uses.

What changed

  • Filter system skill roots from disabled services without deleting the shared
    cache.
  • Ensure bundled system skills are installed during loads when they are
    enabled, including after a runtime configuration change.

Testing

Add app-server coverage for preserving the cache across enabled and disabled
services and refreshing stale cached skills after runtime enablement.

## Why

The bundled system-skill cache is shared by every process using the same
`CODEX_HOME`. A service with bundled skills disabled must not remove cache
files that another service still uses.

## What changed

- Filter system skill roots from disabled services without deleting the shared
  cache.
- Ensure bundled system skills are installed during loads when they are
  enabled, including after a runtime configuration change.

## Testing

Add app-server coverage for preserving the cache across enabled and disabled
services and refreshing stale cached skills after runtime enablement.

GitOrigin-RevId: 1eca999b33b7be69873a40a91767fd26f0c2b457
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/1eca999b33b7be69873a40a91767fd26f0c2b457 branch from b90c6d0 to bae8d8f Compare August 4, 2026 22:48
@github-actions

github-actions Bot commented Aug 4, 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 bae8d8f into main Aug 4, 2026
29 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/1eca999b33b7be69873a40a91767fd26f0c2b457 branch August 4, 2026 22:49
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 4, 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.

2 participants