Skip to content

[emitter pipeline] drop node 20#10564

Merged
msyyc merged 9 commits intomainfrom
emitter-ci-drop-node-20
May 8, 2026
Merged

[emitter pipeline] drop node 20#10564
msyyc merged 9 commits intomainfrom
emitter-ci-drop-node-20

Conversation

@msyyc
Copy link
Copy Markdown
Contributor

@msyyc msyyc commented Apr 30, 2026

image

node 20 is end-of-life

Changes

  • Bumped the primary Node.js version in the emitter build/test matrix from 20.x24.x (secondary remains 22.x). Node 20 is no longer used.
  • Parameterized Node versions in eng/emitters/pipelines/templates/stages/emitter-stages.yml via new PrimaryNodeVersion / SecondaryNodeVersion parameters, replacing all hardcoded NodeVersion
    literals across build and test stages.
  • Made the DetectApiChanges stage DependsOn derive the build job name dynamically: Build_linux_${{ split(parameters.PrimaryNodeVersion, '.')[0] }}. Fixes the CI error job DetectApiChanges depends on unknown job Build_linux_20 and ensures the dependency tracks future Node bumps automatically.
  • Plumbed PrimaryNodeVersion through packages/http-client-csharp/eng/pipeline/publish.yml so the stageDependencies.CSharp_Build.Build_linux_<major> reference is also derived from the same parameter —
    no further edits required on the next Node upgrade.
  • Bumped the standalone default in eng/emitters/pipelines/templates/steps/test-step.yml from 20.x22.x for consistency.

@github-actions
Copy link
Copy Markdown
Contributor

No changes needing a change description found.

@msyyc
Copy link
Copy Markdown
Contributor Author

msyyc commented Apr 30, 2026

@timotheeguerin / @iscai-msft pls help review

@msyyc msyyc enabled auto-merge April 30, 2026 00:54
@msyyc msyyc disabled auto-merge May 6, 2026 04:59
@msyyc msyyc closed this May 6, 2026
@msyyc msyyc reopened this May 6, 2026
@microsoft-github-policy-service microsoft-github-policy-service Bot added the emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp label May 7, 2026
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 7, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@typespec/http-client-csharp@10564

commit: 14e9cf2

@msyyc msyyc enabled auto-merge May 7, 2026 03:58
@msyyc msyyc requested a review from timotheeguerin May 8, 2026 01:28
@msyyc msyyc added this pull request to the merge queue May 8, 2026
Merged via the queue into main with commit 0aa3dd2 May 8, 2026
53 checks passed
@msyyc msyyc deleted the emitter-ci-drop-node-20 branch May 8, 2026 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp eng

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants