Repository navigation
fix(patchy): pnpm patchy refresh no longer fails after a release change - #489
Merged
Merged
Conversation
Owner
Author
|
Codex review (GPT 6.1 Sol, read-only), final diff: no concrete defects found. It checked the global, repo-installed and tsx-source CLIs, the unchanged |
allisonmahmood
force-pushed
the
t3code/implement-issue-460
branch
from
October 2, 2026 20:18
6242d38 to
745c311
Compare
Refresh run from a repo's own CLI moved node_modules aside, installed the new pin, then started the toolchain inspector beside the running CLI, in a pnpm folder that no longer existed. Refresh now runs the installed release's toolchainChild.js, as it already does for generation, so the check is the same whichever CLI starts it. Builds and publishes keep the child beside the CLI. Closes #460 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
allisonmahmood
force-pushed
the
t3code/implement-issue-460
branch
from
October 2, 2026 20:38
745c311 to
2c5cc4b
Compare
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.
After a deploy changes the release digest,
pnpm patchy refreshfailed in every existing patch repo withCould not inspect the repo's installed toolchain.So didaddandremove, which share its path. The globalpatchyworked. The repo's own CLI runs from pnpm's folder named after the old pin. Refresh movesnode_modulesaside, installs the new pin, then started the toolchain inspector next to the running CLI, in a folder that no longer existed.Refresh now runs the installed release's
toolchainChild.js, as it already does for generation, so the check gives the same result whichever CLI starts it. Builds and publishes still use the child beside the running CLI, and the inspector's argv and reply are unchanged.Verified:
changed.pin: trueand identical output, including a Vite toolchain warning.pnpm dev: change the packed release, restart, then refresh a repo pinned to the previous release. Both the repo's ownpnpm patchy refreshand the workspace CLI run from source succeed and install the new pin.pnpm checkpasses. The acceptance suites run in CI.Closes #460
Made by Claude Opus 5.5 via Claude Code; reviewed by GPT 6.1 Sol via codex.