Skip to content

build,win: minify pgo training build - #67214

Open
StefanStojanovic wants to merge 1 commit into
nodejs:mainfrom
JaneaSystems:mefi-pgo-gen-mini
Open

StefanStojanovic wants to merge 1 commit into
nodejs:mainfrom
JaneaSystems:mefi-pgo-gen-mini

Conversation

@StefanStojanovic

Copy link
Copy Markdown
Contributor

As discussed with @aduh95 and @sxa in slack, release builds on Windows take additional 20 minutes, because the first, PGO isntrumented build, is signed, packed, generates MSI, etc. All of these things are unnecessary and can be omitted. This PR does it by clearing certain flags when release PGO instrumented build is detected. Once this lands it should be backported to v24 and v26 LTS branches too.

I will test building this in the Release CI before landing (no issues expected).

Signed-off-by: StefanStojanovic <stefan.stojanovic@janeasystems.com>
@StefanStojanovic StefanStojanovic added windows Issues and PRs related to the Windows platform. build Issues and PRs related to Node.js builds or CI infrastructure. release Issues and PRs related to Node.js releases. labels Nov 3, 2026
@nodejs-github-bot nodejs-github-bot added the needs-ci PRs that need a full CI run. label Nov 3, 2026
@aduh95 aduh95 added fast-track PRs proposed for a shorter-than-standard waiting period before landing. author ready PRs with CI started, the required approvals, and no outstanding review comments. request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. labels Nov 3, 2026
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Fast-track has been requested by @aduh95. Please 👍 to approve.

@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Nov 3, 2026
@nodejs-github-bot

nodejs-github-bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. build Issues and PRs related to Node.js builds or CI infrastructure. fast-track PRs proposed for a shorter-than-standard waiting period before landing. needs-ci PRs that need a full CI run. release Issues and PRs related to Node.js releases. windows Issues and PRs related to the Windows platform.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants