GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — src: fix node_version.h by joyeecheung · Pull Request #50375 · nodejs/node

Conversation

@joyeecheung

@joyeecheung joyeecheung commented Oct 24, 2023 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member
  • Fix the version for main branch as 22.0.0
  • Fix the NODE_VERSION_IS_RELEASE flag for the main branch

This would allow test/parallel/test-release-changelog.js
to pass again on the main branch.

Fixes: #50373

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@nodejs-github-bot nodejs-github-bot added the needs-ci PRs that need a full CI run. label Oct 24, 2023
@joyeecheung joyeecheung added the fast-track PRs proposed for a shorter-than-standard waiting period before landing. label Oct 24, 2023
@github-actions

github-actions Bot commented Oct 24, 2023

Copy link
Copy Markdown
Contributor

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

bricss reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

targos
targos suggested changes Oct 24, 2023
View reviewed changes

@targos targos left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't the version actually be 22.0.0?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

richardlau reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@richardlau

richardlau commented Oct 24, 2023

Copy link
Copy Markdown
Member

Shouldn't the version actually be 22.0.0?

Yes, I think we're missing a step for semver major releases in the release process to bump the major version on main.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@targos

targos commented Oct 24, 2023

Copy link
Copy Markdown
Member

Yeah, there are two bugs introduced in the file during the release of v21.0.0:

  • major should be set to 22
  • is_release should be set to 0

image

richardlau reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@joyeecheung

joyeecheung commented Oct 24, 2023

Copy link
Copy Markdown
Member Author

Something is wrong with the test, if I change it to 22.0.0:

❯ out/Release/node test/parallel/test-release-changelog.js
node:fs:453
    return binding.readFileUtf8(path, stringToFlags(options.flag));
                   ^

Error: ENOENT: no such file or directory, open '/Users/joyee/projects/node/doc/changelogs/CHANGELOG_V22.md'
    at Object.readFileSync (node:fs:453:20)
    at Object.<anonymous> (/Users/joyee/projects/node/test/parallel/test-release-changelog.js:42:24)
    at Module._compile (node:internal/modules/cjs/loader:1376:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
    at Module.load (node:internal/modules/cjs/loader:1207:32)
    at Module._load (node:internal/modules/cjs/loader:1023:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
    at node:internal/main/run_main_module:28:49 {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/Users/joyee/projects/node/doc/changelogs/CHANGELOG_V22.md'
}

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@targos

targos commented Oct 24, 2023

Copy link
Copy Markdown
Member

@joyeecheung you probably need to fix the IS_RELEASE macro at the same time. I think the bug slipped through because both mistakes happened.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@joyeecheung

joyeecheung commented Oct 24, 2023

Copy link
Copy Markdown
Member Author

Maybe we should just skip the test when it's not run on a release?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@joyeecheung

joyeecheung commented Oct 24, 2023

Copy link
Copy Markdown
Member Author

Oh, I see, it was supposed to skip, but NODE_VERSION_IS_RELEASE wasn't updated either.

richardlau and aduh95 reacted with thumbs up emoji
All reactions
  • 👍 2 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@joyeecheung
src: fix node_version.h
c770105
- Fix the version for main branch as 22.0.0
- Fix the NODE_VERSION_IS_RELEASE flag for the main branch

This would allow test/parallel/test-release-changelog.js
to pass again on the main branch.
@richardlau richardlau mentioned this pull request Oct 24, 2023
test/parallel/test-release-changelog.js is failing on the main branch #50373
Closed
@joyeecheung
joyeecheung force-pushed the fix-version branch from 06fd739 to c770105 Compare October 24, 2023 18:14
aduh95
aduh95 approved these changes Oct 24, 2023
View reviewed changes
targos
targos approved these changes Oct 24, 2023
View reviewed changes
@joyeecheung joyeecheung removed the fast-track PRs proposed for a shorter-than-standard waiting period before landing. label Oct 24, 2023
aduh95
aduh95 approved these changes Oct 24, 2023
View reviewed changes
@joyeecheung joyeecheung added the fast-track PRs proposed for a shorter-than-standard waiting period before landing. label Oct 24, 2023
@github-actions

github-actions Bot commented Oct 24, 2023

Copy link
Copy Markdown
Contributor

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

aduh95, richardlau, lpinca, bricss, H4ad, and rluvaton reacted with thumbs up emoji
All reactions
  • 👍 6 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@joyeecheung joyeecheung added the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Oct 24, 2023
@richardlau richardlau changed the title src: fix NODE_MINOR_VERSION for v21.1.0 src: fix node_version.h Oct 24, 2023
richardlau
richardlau approved these changes Oct 24, 2023
View reviewed changes
@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 Oct 24, 2023
@nodejs-github-bot

nodejs-github-bot commented Oct 24, 2023

Copy link
Copy Markdown
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/55203/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

lpinca
lpinca approved these changes Oct 24, 2023
View reviewed changes
This was referenced Oct 24, 2023
fs: improve error performance for writeSync #50354
Closed
test: v8: Add test-linux-perf-logger test suite #50352
Merged
@nodejs-github-bot

nodejs-github-bot commented Oct 24, 2023

Copy link
Copy Markdown
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/55207/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@richardlau richardlau mentioned this pull request Oct 24, 2023
src: revert IS_RELEASE to 0 #50378
Closed
@aduh95 aduh95 added the author ready PRs with CI started, the required approvals, and no outstanding review comments. label Oct 24, 2023
@aduh95 aduh95 added the commit-queue PRs queued for automated landing through the Commit Queue. label Oct 24, 2023
@nodejs-github-bot nodejs-github-bot removed the commit-queue PRs queued for automated landing through the Commit Queue. label Oct 24, 2023
@nodejs-github-bot
nodejs-github-bot merged commit 89a26b4 into nodejs:main Oct 24, 2023
@nodejs-github-bot

nodejs-github-bot commented Oct 24, 2023

Copy link
Copy Markdown
Collaborator

Landed in 89a26b4

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@RafaelGSS

RafaelGSS commented Oct 25, 2023

Copy link
Copy Markdown
Member

Sorry about that. As I've mentioned in the release slack channel, something might be missing in our major release guide. I've followed these strictly and something went wrong. I'll triple-check next time :)

image

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot mentioned this pull request Oct 28, 2023
CI Reliability 2023-10-28 nodejs/reliability#700
Open
22 tasks
@targos targos added dont-land-on-v18.x labels Nov 11, 2023
@RafaelGSS RafaelGSS mentioned this pull request Apr 15, 2024
2024-04-24, Version 22.0.0 (Current) #52505
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@lpinca lpinca lpinca approved these changes
@richardlau richardlau richardlau approved these changes
@aduh95 aduh95 aduh95 approved these changes
+1 more reviewer
@targos targos targos approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. fast-track PRs proposed for a shorter-than-standard waiting period before landing. needs-ci PRs that need a full CI run.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

test/parallel/test-release-changelog.js is failing on the main branch

Uh oh!

There was an error while loading. Please reload this page.

7 participants

@joyeecheung @richardlau @targos @nodejs-github-bot @RafaelGSS @lpinca @aduh95
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.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.