Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade v8-compile-cache #2785

Merged
merged 1 commit into from
Sep 26, 2023
Merged

Upgrade v8-compile-cache #2785

merged 1 commit into from
Sep 26, 2023

Conversation

danieljurek
Copy link
Member

@danieljurek danieljurek commented Sep 25, 2023

Partial #2625

This PR fixes the build break which appears in the nodejs projects. The version of v8-compile-cache used in package-lock.json is not compatible with variations in architecture on the same machine. The later version does support.

This was tested with Azure-Samples/todo-nodejs-* templates and works properly.

The scenario in question:

  1. Install azd on an Apple Silicon Mac in x86_64 mode and init a template
  2. Run azd package (or some superset command) on the template
  3. Upgrade azd to a later version using ARM64 binary instead of x86_64 binary
  4. Run azd package (or some superset command) on the template from step 2

In the past this failed with a segfault during the npm run lint step in the api.

@azure-sdk
Copy link
Collaborator

Repoman Generation Results

Repoman pushed changes to remotes for the following projects:

Project: todo-nodejs-mongo-aca

Remote: azure-samples-staging

Branch: pr/2785

You can initialize this project with:

azd init -t Azure-Samples/todo-nodejs-mongo-aca -b pr/2785

View Changes | Compare Changes


Project: todo-nodejs-mongo-aks

Remote: azure-samples-staging

Branch: pr/2785

You can initialize this project with:

azd init -t Azure-Samples/todo-nodejs-mongo-aks -b pr/2785

View Changes | Compare Changes


Project: todo-nodejs-mongo-swa-func

Remote: azure-samples-staging

Branch: pr/2785

You can initialize this project with:

azd init -t Azure-Samples/todo-nodejs-mongo-swa-func -b pr/2785

View Changes | Compare Changes


Project: todo-nodejs-mongo

Remote: azure-samples-staging

Branch: pr/2785

You can initialize this project with:

azd init -t Azure-Samples/todo-nodejs-mongo -b pr/2785

View Changes | Compare Changes


Project: todo-nodejs-mongo-terraform

Remote: azure-samples-staging

Branch: pr/2785

You can initialize this project with:

azd init -t Azure-Samples/todo-nodejs-mongo-terraform -b pr/2785

View Changes | Compare Changes


@danieljurek danieljurek merged commit 8707434 into main Sep 26, 2023
13 checks passed
@danieljurek danieljurek mentioned this pull request Sep 28, 2023
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants