Uh oh!
There was an error while loading. Please reload this page.
bootstrap: check more metadata when loading the snapshot - #44132
Merged
Conversation
nodejs-github-bot
commented
Aug 4, 2022
Collaborator
Review requested:
|
nodejs-github-bot
commented
Aug 4, 2022
Collaborator
addaleax
approved these changes
Aug 4, 2022
joyeecheung
commented
Aug 4, 2022
MemberAuthor
Oops, forgot to commit the tests. |
nodejs-github-bot
commented
Aug 4, 2022
Collaborator
17 tasks
legendecas
approved these changes
Aug 5, 2022
joyeecheung
commented
Aug 5, 2022
MemberAuthor
There was a problem hiding this comment.
Fixed a bug for cross-compiled binaries.
nodejs-github-bot
commented
Aug 5, 2022
Collaborator
This was referenced Aug 6, 2022
nodejs-github-bot
commented
Aug 8, 2022
Collaborator
This patch stores the metadata about the Node.js binary into the SnapshotData and adds fields denoting how the snapshot was generated, on what platform it was generated as well as the V8 cached data version flag. Instead of simply crashing when the metadata doesn't match, Node.js now prints an error message and exit with 1 for the customized snapshot, or ignore the snapshot and start from scratch if it's the default one.
joyeecheungforce-pushed
the
snapshot-metadata
branch
from
August 8, 2022 18:47
f7fb91e to
76ec477Comparejoyeecheung
commented
Aug 8, 2022
MemberAuthor
Rebased to resolve conflict with #44121 |
nodejs-github-bot
commented
Aug 8, 2022
Collaborator
8 tasks
nodejs-github-bot
commented
Aug 9, 2022
Collaborator
addaleax
approved these changes
Aug 9, 2022
nodejs-github-bot
commented
Aug 9, 2022
Collaborator
Landed in 5291096 |
7 tasks
This was referenced Aug 11, 2022
danielleadams pushed a commit
that referenced
this pull request
Aug 16, 2022
This patch stores the metadata about the Node.js binary into the SnapshotData and adds fields denoting how the snapshot was generated, on what platform it was generated as well as the V8 cached data version flag. Instead of simply crashing when the metadata doesn't match, Node.js now prints an error message and exit with 1 for the customized snapshot, or ignore the snapshot and start from scratch if it's the default one. PR-URL: #44132 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
ruyadorno
commented
Aug 22, 2022
Member
hi @joyeecheung, unfortunately 5291096 is not landing cleanly in the updated This PR will need to be backported in order to land in a v18.x release 😊 |
joyeecheung added a commit
to joyeecheung/node
that referenced
this pull request
Aug 25, 2022
This patch stores the metadata about the Node.js binary into the SnapshotData and adds fields denoting how the snapshot was generated, on what platform it was generated as well as the V8 cached data version flag. Instead of simply crashing when the metadata doesn't match, Node.js now prints an error message and exit with 1 for the customized snapshot, or ignore the snapshot and start from scratch if it's the default one. PR-URL: nodejs#44132 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
joyeecheung
commented
Aug 25, 2022
MemberAuthor
juanarbol
commented
Oct 2, 2022
Member
Same thing for the v16.x branch |
joyeecheung added a commit
to joyeecheung/node
that referenced
this pull request
Oct 14, 2022
This patch stores the metadata about the Node.js binary into the SnapshotData and adds fields denoting how the snapshot was generated, on what platform it was generated as well as the V8 cached data version flag. Instead of simply crashing when the metadata doesn't match, Node.js now prints an error message and exit with 1 for the customized snapshot, or ignore the snapshot and start from scratch if it's the default one. PR-URL: nodejs#44132 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
joyeecheung added a commit
that referenced
this pull request
Nov 1, 2022
This patch stores the metadata about the Node.js binary into the SnapshotData and adds fields denoting how the snapshot was generated, on what platform it was generated as well as the V8 cached data version flag. Instead of simply crashing when the metadata doesn't match, Node.js now prints an error message and exit with 1 for the customized snapshot, or ignore the snapshot and start from scratch if it's the default one. PR-URL: #44132 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
juanarbol pushed a commit
that referenced
this pull request
Nov 4, 2022
This patch stores the metadata about the Node.js binary into the SnapshotData and adds fields denoting how the snapshot was generated, on what platform it was generated as well as the V8 cached data version flag. Instead of simply crashing when the metadata doesn't match, Node.js now prints an error message and exit with 1 for the customized snapshot, or ignore the snapshot and start from scratch if it's the default one. PR-URL: #44132 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
danielleadams pushed a commit
that referenced
this pull request
Jan 3, 2023
This patch stores the metadata about the Node.js binary into the SnapshotData and adds fields denoting how the snapshot was generated, on what platform it was generated as well as the V8 cached data version flag. Instead of simply crashing when the metadata doesn't match, Node.js now prints an error message and exit with 1 for the customized snapshot, or ignore the snapshot and start from scratch if it's the default one. PR-URL: #44132 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This patch stores the metadata about the Node.js binary
into the SnapshotData and adds fields denoting how the
snapshot was generated, on what platform it was
generated as well as the V8 cached data version flag.
Instead of simply crashing when the metadata doesn't
match, Node.js now prints an error message and exit with
1 for the customized snapshot, or ignore the snapshot
and start from scratch if it's the default one.