Repository navigation
chore(deps): bump vscode-languageclient from 10.1.0 to 10.1.1 in /packages/vscode - #2272
Merged
github-actions[bot] merged 2 commits intoSep 8, 2026
Conversation
Contributor
✅ Compatibility Test Results
What's tested
Full results available in workflow artifacts |
This was referenced Sep 8, 2026
robcohen
added a commit
that referenced
this pull request
Sep 8, 2026
* ci(nix): refresh the vscode npmDepsHash automatically `flake.nix` pins `npmDepsHash` over packages/vscode/package-lock.json, because buildNpmPackage hashes the vendored dependency tree. Dependabot updates the lockfile and has no way to know a Nix expression hashes it, so every npm bump to that package landed red on a fixed-output mismatch and sat there until somebody recomputed the hash by hand. That is #2109, #2202 and #2243, and both currently open dependabot PRs (#2269, #2272). `build` requires that job, so none of them could ever merge unattended. There was no tooling for it: nothing in .github, scripts or the justfile mentioned prefetch-npm-deps. The repair was folklore. Adds a workflow that recomputes the hash on any pull request touching the lockfile and commits it to the branch. It is deliberately separate from the `VS Code Extension (Nix)` job: that job verifies, this one repairs, and a verifier that silently rewrites what it is checking is worse than one that fails. It cannot push to a fork, so it always writes the correct value to the job summary as well. A contributor whose PR it cannot fix still gets the exact line to change instead of a bare Nix hash mismatch. The push is self-terminating: it only commits when the computed hash differs, so the run it triggers finds a match and stops. Also adds `just nix-refresh-vscode-hash` for the same repair locally, and documents both in CONTRIBUTING. Verified rather than assumed: the recipe reports "already correct" on main, and when flake.nix is corrupted it repairs the value and restores the file byte-identically. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_012nNGPA44Dt32NyxWem26xr * fix(nix): keep prefetch stderr, and drop the GNU-only sed Copilot review on #2284, both valid. Discarding prefetch-npm-deps stderr meant any real failure — network, auth, a lockfile it cannot parse — surfaced only as "produced no hash", which says nothing about why. That is the same silent-failure shape this whole change exists to remove, one level up. stderr is captured and printed when no hash comes back. The justfile used `sed -i` with no suffix, which is GNU-only: BSD and macOS sed take a mandatory argument there, and no single spelling works on both. Replaced with write-to-temp and move. The workflow's own sed runs on ubuntu-latest so it was never affected, but the recipe is for contributors, some of whom are on macOS. Re-verified both directions after the change: the recipe repairs a corrupted hash and restores flake.nix byte-identically, and reports "already correct" when it is. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_012nNGPA44Dt32NyxWem26xr * fix(ci): report the npmDepsHash instead of pushing it CodeQL on #2284: unsafe checkout of untrusted code in a non-privileged context. The finding is correct. The job held `contents: write`, checked out pull-request head code, and ran a tool over a lockfile the pull request controls. That is the shape of the problem, regardless of whether this particular tool is exploitable. Automating the commit safely needs the two-stage `workflow_run` split, where the privileged half never checks out untrusted code. That is a lot of machinery for a one-line repair, so the job now reports instead: it fails with the exact value to set, in both the error annotation and the job summary, and `just nix-refresh-vscode-hash` applies it in one command. That keeps what actually made this recur — nobody knew the command, and nothing in the repo mentioned prefetch-npm-deps — while dropping the write permission and the head-ref checkout entirely. The job now needs no permissions beyond the read-only default and takes the ordinary merge-commit checkout. Worth revisiting with the workflow_run split if reporting proves to be a nuisance rather than a fix. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_012nNGPA44Dt32NyxWem26xr --------- Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
Bumps [vscode-languageclient](https://github.com/Microsoft/vscode-languageserver-node/tree/HEAD/client) from 10.1.0 to 10.1.1. - [Release notes](https://github.com/Microsoft/vscode-languageserver-node/releases) - [Commits](https://github.com/Microsoft/vscode-languageserver-node/commits/release/client/10.1.1/client) --- updated-dependencies: - dependency-name: vscode-languageclient dependency-version: 10.1.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
The lockfile change invalidates the fixed-output hash flake.nix pins over it, which is why this PR was red on `VS Code Extension (Nix)`. Recomputed with `just nix-refresh-vscode-hash`; the value matches what the failing build reported as `got:`, and `nix build .#vscode-extension` now passes locally. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_012nNGPA44Dt32NyxWem26xr
robcohen
force-pushed
the
dependabot/npm_and_yarn/packages/vscode/vscode-languageclient-10.1.1
branch
from
September 8, 2026 14:31
106b8d3 to
abe4c24
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
dependabot
Bot
deleted the
dependabot/npm_and_yarn/packages/vscode/vscode-languageclient-10.1.1
branch
September 8, 2026 14:39
robcohen
added a commit
that referenced
this pull request
Sep 8, 2026
Recomputed after #2272 landed: that PR changed the same lockfile, so the hash this branch needs is not the one it needed before. Verified with `nix build .#vscode-extension`. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_012nNGPA44Dt32NyxWem26xr
robcohen
added a commit
that referenced
this pull request
Sep 8, 2026
…de (#2269) * chore(deps): bump @types/node from 26.4.0 to 26.4.1 in /packages/vscode Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 26.4.0 to 26.4.1. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 26.4.1 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * chore(nix): refresh npmDepsHash for @types/node 26.4.1 Recomputed after #2272 landed: that PR changed the same lockfile, so the hash this branch needs is not the one it needed before. Verified with `nix build .#vscode-extension`. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_012nNGPA44Dt32NyxWem26xr --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Rob Cohen <[email protected]> Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
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.
Bumps vscode-languageclient from 10.1.0 to 10.1.1.
Commits
f92abd03.18.3 release2ffaa4dAdd configurable language server stream handlers (#1839)d6ff6d0Preserve diagnostic pull state after quick document reopen (#1835)f99697bUpdate dependencies (#1834)0b6b07cBump brace-expansion from 5.0.7 to 5.0.9 in /client (#1831)a9befc8Bump brace-expansion from 5.0.6 to 5.0.7 in /client (#1824)0da5527Merge latest release into main (#1817)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)