Skip to content

Conversation

@aduh95
Copy link
Contributor

@aduh95 aduh95 commented Nov 16, 2025

This reverts commit 4fbb1ab.

@aduh95 aduh95 added the fast-track PRs that do not need to wait for 48 hours to land. label Nov 16, 2025
@github-actions
Copy link
Contributor

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

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. v25.x Issues that can be reproduced on v25.x or PRs targeting the v25.x-staging branch. labels Nov 16, 2025
@nodejs-github-bot
Copy link
Collaborator

@aduh95 aduh95 changed the title Revert "lib: throw from localStorage getter on missing storage path" [v25.x] Revert "lib: throw from localStorage getter on missing storage path" Nov 16, 2025
@aduh95 aduh95 added dont-land-on-v20.x PRs that should not land on the v20.x-staging branch and should not be released in v20.x. dont-land-on-v22.x PRs that should not land on the v22.x-staging branch and should not be released in v22.x. dont-land-on-v24.x PRs that should not land on the v24.x-staging branch and should not be released in v24.x. labels Nov 16, 2025
Copy link
Member

@targos targos left a comment

Choose a reason for hiding this comment

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

Why not on main? If we want to change the implementation it will have to happen there as well

@aduh95
Copy link
Contributor Author

aduh95 commented Nov 16, 2025

Why not on main? If we want to change the implementation it will have to happen there as well

I'm not sure we want, I think we established the current behavior is spec compliant, the issue is that it's too breaking for a semver-minor update

@nodejs-github-bot
Copy link
Collaborator

@aduh95 aduh95 merged commit a4dee61 into nodejs:v25.x-staging Nov 16, 2025
83 checks passed
@aduh95
Copy link
Contributor Author

aduh95 commented Nov 16, 2025

Landed in a4dee61

@aduh95 aduh95 deleted the revert-bc branch November 16, 2025 19:47
fannheyward added a commit to neoclide/coc.nvim that referenced this pull request Nov 17, 2025
@slorber
Copy link

slorber commented Nov 17, 2025

I'm not sure we want, I think we established the current behavior is spec compliant, the issue is that it's too breaking for a semver-minor update

For v25.x, that's a good move to revert 👍

However, it remains important, even for the upcoming LTS, to roll out this change properly to the Node ecosystem. My intuition is that rolling this change as-is in Node 26 is likely to trigger the same kind of pushback as we have today, on a larger scale.

It would be helpful to gather all the community-reported breakages and to provide a clear migration path for all the identified packages and patterns.

I haven't studied the problem in depth, but I'm still unsure how to migrate this pattern, for example: vm.createContext({...global}), to get the same outcome with code that should IMHO remain relatively simple (or someone would create a clone-global-safe npm package maybe 😅 )

Since this is going to break in the next v26, it looks like a good time to help the community upgrade to the upcoming behavior ahead of time. This might also help design codemods.

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

Labels

dont-land-on-v20.x PRs that should not land on the v20.x-staging branch and should not be released in v20.x. dont-land-on-v22.x PRs that should not land on the v22.x-staging branch and should not be released in v22.x. dont-land-on-v24.x PRs that should not land on the v24.x-staging branch and should not be released in v24.x. fast-track PRs that do not need to wait for 48 hours to land. needs-ci PRs that need a full CI run. v25.x Issues that can be reproduced on v25.x or PRs targeting the v25.x-staging branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Regression 25.2.0 - Cannot initialize local storage without a --localstorage-file path

7 participants