FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

build: add --write-snapshot-as-array-literals to configure.py by joyeecheung · Pull Request #49312 · nodejs/node · GitHub

/ node Public

build: add --write-snapshot-as-array-literals to configure.py - #49312

Closed
joyeecheung wants to merge 1 commit into
nodejs:mainfrom
joyeecheung:config-array-literals
Closed

build: add --write-snapshot-as-array-literals to configure.py#49312
joyeecheung wants to merge 1 commit into
nodejs:mainfrom
joyeecheung:config-array-literals

Conversation

joyeecheung commented Aug 24, 2023
edited
Loading

Copy link
Copy Markdown
Member

This makes it easier to locate indeterminism in the snapshot, with the following command:

$ ./configure --write-snapshot-as-array-literals
$ make V=
$ mv out/Release/obj/gen/node_snapshot.cc ./node_snapshot.cc
$ make V=
$ diff out/Release/obj/gen/node_snapshot.cc ./node_snapshot.cc

Refs: nodejs/build#3043

This makes it easier to locate indeterminism in the snapshot, with
the following command:

$ ./configure --write-snapshot-as-array-literals
$ make V=
$ mv out/Release/obj/gen/node_snapshot.cc ./node_snapshot.cc
$ make V=
$ diff out/Release/obj/gen/node_snapshot.cc ./node_snapshot.cc
joyeecheung marked this pull request as ready for review August 24, 2023 16:37

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/gyp
  • @nodejs/startup

nodejs-github-bot added lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. labels Aug 24, 2023
joyeecheung added the request-ci Add this label to start a Jenkins CI on a PR. label Aug 31, 2023
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Aug 31, 2023

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

joyeecheung added the commit-queue Add this label to land a pull request using GitHub Actions. label Sep 2, 2023
nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Sep 2, 2023

Copy link
Copy Markdown
Collaborator
Commit Queue failed
- Loading data for nodejs/node/pull/49312
✔  Done loading data for nodejs/node/pull/49312
----------------------------------- PR info ------------------------------------
Title      build: add --write-snapshot-as-array-literals to configure.py (#49312)
Author     Joyee Cheung  (@joyeecheung)
Branch     joyeecheung:config-array-literals -> nodejs:main
Labels     lib / src, needs-ci
Commits    1
 - build: add --write-snapshot-as-array-literals to configure.py
Committers 1
 - Joyee Cheung 
PR-URL: https://github.com/nodejs/node/pull/49312
Refs: https://github.com/nodejs/build/issues/3043
Reviewed-By: Ben Noordhuis 
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/49312
Refs: https://github.com/nodejs/build/issues/3043
Reviewed-By: Ben Noordhuis 
--------------------------------------------------------------------------------
   ℹ  This PR was created on Thu, 24 Aug 2023 16:37:26 GMT
   ✔  Approvals: 1
   ✔  - Ben Noordhuis (@bnoordhuis) (TSC): https://github.com/nodejs/node/pull/49312#pullrequestreview-1595533008
   ✘  Last GitHub CI failed
   ℹ  Last Full PR CI on 2023-09-01T19:44:30Z: https://ci.nodejs.org/job/node-test-pull-request/53681/
- Querying data for job/node-test-pull-request/53681/
   ✔  Last Jenkins CI successful
--------------------------------------------------------------------------------
   ✔  Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/6060350802

nodejs-github-bot added the commit-queue-failed An error occurred while landing this pull request using GitHub Actions. label Sep 2, 2023

Copy link
Copy Markdown
Member Author

Somehow the GitHub UI says "All checks have passed" and node-core-utils still complains about it...perhaps something is wrong the the GitHub API result, landing it manually.

joyeecheung added a commit that referenced this pull request Sep 4, 2023
This makes it easier to locate indeterminism in the snapshot, with
the following command:

$ ./configure --write-snapshot-as-array-literals
$ make V=
$ mv out/Release/obj/gen/node_snapshot.cc ./node_snapshot.cc
$ make V=
$ diff out/Release/obj/gen/node_snapshot.cc ./node_snapshot.cc

PR-URL: #49312
Refs: nodejs/build#3043
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>

Copy link
Copy Markdown
Member Author

Landed in 0028fd1

joyeecheung closed this Sep 4, 2023
ruyadorno pushed a commit that referenced this pull request Sep 28, 2023
This makes it easier to locate indeterminism in the snapshot, with
the following command:

$ ./configure --write-snapshot-as-array-literals
$ make V=
$ mv out/Release/obj/gen/node_snapshot.cc ./node_snapshot.cc
$ make V=
$ diff out/Release/obj/gen/node_snapshot.cc ./node_snapshot.cc

PR-URL: #49312
Refs: nodejs/build#3043
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This was referenced Sep 28, 2023
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 free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commit-queue-failed An error occurred while landing this pull request using GitHub Actions. lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL