Repository navigation
fix: cold refresh Codex Dev plugin cache - #17
Merged
Merged
Conversation
superche
marked this pull request as ready for review
July 23, 2026 05:47
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
npm run codex:dev:apprebuild the Dev gateway, stop only the isolated Dev App, cold-refresh the Dev plugin installation, and relaunch itpippit-bridge-devmarketplace before reinstallingPIPPIT_NODE_PATHand reject unsupported development Node versionscodex:dev:app:launchfor launching an already-refreshed profile without modifying cacheRoot cause
Codex loads an immutable plugin cache snapshot. The previous profile setup repeatedly added the local marketplace and plugin without removing the existing cached snapshot, so a new source build could still be tested against an older manifest, Skill, Widget, or launcher. The GUI App could also resolve an unsupported Node runtime independently of the shell used for bootstrap.
Safety and impact
The cleanup is restricted to
~/.codex-profiles/dev/plugins/cache/pippit-bridge-dev. It rejects unsafe/symlinked cache roots and does not touch the production Codex profile, login/browser data, Pippit accounts, jobs, runtime state, or generated artifacts. A cold restart stops only the ChatGPT main process carrying the exact Dev--user-data-dirmarker.Validation
npx vitest run scripts/codex-dev-profile.test.ts --configLoader native— 9 tests passednpm test— 53 files / 385 tests passednpm run lintnpm run typechecknpm run buildnpm run check:architecturenpm run check:dev-gateway— 17 tools, 2 resources, 2 templatesCODEX_HOMEremoved an injected stale cache marker and produced matching gateway/cache SHA-256 values73162with PID7193; cache and gateway hashes matched andsourceMatcheswastrueNo npm publish or production marketplace activation was performed.