Repository navigation
fix(repos): Install the pinned Node tools in new worktrees - #7260
Merged
Merged
Conversation
devops-cli-service
Bot
force-pushed
the
fix/7233-a-new-worktree-gets-the-pinned
branch
from
November 26, 2026 00:06
f43012d to
0d84de5
Compare
Contributor
Author
|
The steps of the job:
|
dan-petty-release Bot
added a commit
that referenced
this pull request
Nov 26, 2026
🤖 I have created a release *beep* *boop* --- ## [0.221.10](v0.221.9...v0.221.10) (2026-11-26) ### Bug Fixes * **repos:** Install the pinned Node tools in new worktrees ([#7260](#7260)) ([53fa096](53fa096)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
dan-petty
added a commit
that referenced
this pull request
Nov 26, 2026
`devops repos worktrees add` starts no npm process. #7260 added `npm ci --ignore-scripts` for each new worktree, because the `openspec` row of `devops ci` named a wrong version there. The cause was a stale `openspec` link in a home folder that was first on `PATH`, not a missing install. - `install_node_tools`, its call in `worktrees_add` and its message are deleted. - CONTRIBUTING.md and docs/DEVCONTAINER_USAGE.md say where a worktree gets `openspec` from: `PATH` of the devcontainer holds `node_modules/.bin` of the main checkout before the folders of the image. They name `which -a openspec` as the way to find a stale copy. - A worktree needs `npm ci --ignore-scripts` only before `make design-tokens`, or when its branch changes `package-lock.json`. Closes #7264 Change: `openspec/changes/archive/2026-11-26-7264-remove-npm-ci-from-worktrees-add/`
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.
In a new worktree the
openspecrow ofdevops cifails until a person runsnpm ci --ignore-scripts, because the gate runs the olderopenspecof the image when the worktree holds nonode_modules(#7233).Closes #7233
Change:
openspec/changes/archive/2026-11-26-7233-a-new-worktree-gets-the-pinned/