Repository navigation
fix(core): survive dependency graph plugin updates - #338
Merged
Merged
Conversation
Make prd-graph-helper resolve the newest usable plugin cache at runtime and let a live helper keep using its loaded renderer after its cache is removed. Add command-level and HTTP regression tests for both update failure modes, document the behavior, and bump closedloop-core to 1.5.2.
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
prd-graph-helperresolve the newest usable Codex or Claude plugin cache at execution time instead of pinning a versioned cache pathclosedloop-coreto 1.5.2Root cause
The launcher embedded the exact cache path of the plugin version that created it, while the live helper unconditionally reloaded
render_graph.pyfrom that same versioned directory. Removing the old cache during an update therefore broke both the launcher and the running refresh endpoint.Validation
uv run pytest plugins/closedloop-core/tools/python/ -q(89 passed)uv run ruff check .uv run pyrightnpm testintools/plugin-manifests(6 passed)git diff --checkPrevention
plugins/closedloop-core/skills/prd-dependency-graph/scripts/refresh_server.py; no parallel launcher or reload instances found in the plugin treerg -n "LAUNCHER_MARK|install_launcher\\(|importlib\\.reload\\(|\\.local/bin|plugin.*cache|cache.*plugin" plugins toolsModuleNotFoundError: spec not found for the module render_graph