ci: pin Windows release runner to windows-2022#356
Conversation
windows-latest now provisions the VS 2026 (v18) toolchain, which the bundled node-gyp@9.3.1 (Node 20.9.0) cannot detect, breaking the registry-js native build during dependency install. Pin to windows-2022 (VS 2022 / v17) which node-gyp understands. Replaces windows-latest across the build_type dropdown, default, the Windows-only KMS signing step gates, and the USE_KMS_SIGNING expression so codesigning keeps matching the runner. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Warning Review limit reached
More reviews will be available in 22 minutes and 38 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughThe release desktop app GitHub Actions workflow replaces all occurrences of Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
DO NOT MERGE this commit — restore the master/production ref check before merging. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Why
The Release Desktop App workflow has been failing during Install desktop app dependencies (e.g. run 27961047810). The
registry-jsnative module fails to compile because node-gyp can't find a usable Visual Studio:windows-latestnow provisions the VS 2026 (v18) toolchain, which the bundled node-gyp@9.3.1 (from Node 20.9.0) cannot detect — it parses the version asundefinedand bails. Not a code change on our side; the runner image moved.What
Pin the Windows runner to windows-2022 (VS 2022 / v17), which node-gyp understands. Replaced
windows-latestacross:build_typedropdown option and its defaultAuth to Google Cloud,Install + configure KMS CNG provider)USE_KMS_SIGNINGenv expressionAll changed together so
runs-onand the== 'windows-2022'gates stay consistent — otherwise the codesigning steps would silently stop matching and produce an unsigned build.Note
windows-2022is being deprecated by GitHub over time, so this is a stable pin, not a permanent fix. The durable fix is upgrading node-gyp/Node to recognize VS 2026 — worth a follow-up.Testing
Re-run the release workflow and select windows-2022 (now the default).
🤖 Generated with Claude Code
Summary by CodeRabbit