fix(ci): isolate CLI update acceptance home - #111
Merged
Conversation
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.
What changed
CODER_STUDIO_HOMEcompatible with the legacy~/.coder-studiolayout so restart preserves host, port, and state directoryWhy
The
0.5.6to0.5.8candidate acceptance installed and restarted successfully, but the legacy CLI wrote its config under the runner's real home while0.5.8read the isolatedCODER_STUDIO_HOME. The restarted service therefore moved from the reserved acceptance port to 4173 and the verifier kept polling stale state. Fault scenarios also exercised the old worker instead of the candidate worker.Impact
This changes release acceptance only. It does not alter the published CLI package or require a Changeset; npm
0.5.8remains byte-identical and reusable.Validation
pnpm exec vitest run --config scripts/vitest.config.ts --environment node scripts/verify-cli-update.test.ts(11/11 passed)pnpm ci:typecheck:strict(passed)0.5.6 -> 0.5.8viarc-31682038696-1(passed, including permission/install/restart failures)pnpm ci:test:scriptswas also run locally; 8 unrelated Windows-platform tests fail on symlink privileges, POSIX path/executable assumptions, and the Husky shell fixture. The targeted suite above passes.