GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||
GeezerVison is showing github.com — lib: make event static properties non writable and configurable by BenzeneAlcohol · Pull Request #50425 · nodejs/node Conversation
Contributor
The idl definition for Event makes the properties constants, this means that they shouldn't be configurable. However, they were, and this commit fixes that. Fixes: #50417
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
H4ad
approved these changes
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
BenzeneAlcohol
force-pushed
the
event_target_bug
branch
from
da98db5 to
e90fbb1
Compare
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
|
There was an error while loading. Please reload this page.
|
You can squash everything, or you can rebase, but you need to change the commit message, both should work. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
e90fbb1 to
53502c7
Compare
|
Squashed into one commit. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Ok, I have a very noob question. But I do some small changes, and every time do I have to make the detailed commit message? Because sometimes the change I do is like removing a few lines (like I removed a few console lines) but then the commit message should contain details about the actual change in case it gets merged. So do I just wait for approval, then rebase all changes to 1 commit message? And have normal commit messages, 1 liners till that one final rebased single commit. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
From what I know, only the first message will be used to create the commit description, so it's fine you keep the first commit with the message and then create other commits for minor fixes. About all commits, I will later add a flag to squash everything, so all the commits will be released as just one commit. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
I believe only the first commit must be detailed, because they typically get squashed automatically when merged. Personally, I use |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Got it, thanks! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Alrighty! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Does that failed pipeline for 4 checks indicate any changes I have to do or are they some flaky tests? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Its not because of your changes. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
1923af3 to
b8cb3cc
Compare
Done |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Is this semver-major or do we consider it a bug fix? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I think it is a bug fix since people are not supposed to change/modify these properties. But if we want to be cautious, a semver-minor can be applied. Maybe run CITMG too? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
definitely a bug fix, I wouldn't consider it a major change. If someone relied on changing these properties, they were relying on a bug. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Agreed. Does it need semver-minor? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Does this need anything else before merging? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@KhafraDev and @H4ad any blockers stopping this from merge? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Landed in b4850f2 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
IMO No. It's already landed |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
The idl definition for Event makes the properties constant this means that they shouldn't be configurable and writable. However, they were, and this commit fixes that. Fixes: #50417 PR-URL: #50425 Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]> Reviewed-By: Matthew Aitken <[email protected]>
The idl definition for Event makes the properties constant this means that they shouldn't be configurable and writable. However, they were, and this commit fixes that. Fixes: #50417 PR-URL: #50425 Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]> Reviewed-By: Matthew Aitken <[email protected]>
The idl definition for Event makes the properties constant this means that they shouldn't be configurable and writable. However, they were, and this commit fixes that. Fixes: #50417 PR-URL: #50425 Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]> Reviewed-By: Matthew Aitken <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
events: static properties are configurable & writable
There was an error while loading. Please reload this page.