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

dev: Update workflow which creates PRs for nextstrain.org to account for Auspice move there #1661

Merged
merged 1 commit into from
Apr 7, 2023

Conversation

tsibley
Copy link
Member

@tsibley tsibley commented Apr 6, 2023

Related-to: nextstrain/nextstrain.org#673

Testing

@tsibley tsibley marked this pull request as ready for review April 6, 2023 23:41
@nextstrain-bot nextstrain-bot temporarily deployed to auspice-trs-nextstrain--le4s3o April 6, 2023 23:41 Inactive
tsibley added a commit to nextstrain/nextstrain.org that referenced this pull request Apr 6, 2023
…tions

Avoids bringing in all of Auspice's deps into the server code.  This is
generally useful, but it was also specifically useful in recent
prototyping to allow use of React 18 server components (as Auspice
requires React 16).  In any case, I think organizationally this makes
more sense anyway.

Related-to: <nextstrain/auspice#1661>
tsibley added a commit to nextstrain/nextstrain.org that referenced this pull request Apr 6, 2023
…tions

Avoids bringing in all of Auspice's deps into the server code.  This is
generally useful, but it was also specifically useful in recent
prototyping to allow use of React 18 server components (as Auspice
requires React 16).  In any case, I think organizationally this makes
more sense anyway.

Related-to: <nextstrain/auspice#1661>
tsibley added a commit to nextstrain/nextstrain.org that referenced this pull request Apr 7, 2023
…tions

Avoids bringing in all of Auspice's deps into the server code.  This is
generally useful, but it was also specifically useful in recent
prototyping to allow use of React 18 server components (as Auspice
requires React 16).  In any case, I think organizationally this makes
more sense anyway.

Related-to: <nextstrain/auspice#1661>
tsibley added a commit to nextstrain/nextstrain.org that referenced this pull request Apr 7, 2023
…tions

Avoids bringing in all of Auspice's deps into the server code.  This is
generally useful, but it was also specifically useful in recent
prototyping to allow use of React 18 server components (as Auspice
requires React 16).  In any case, I think organizationally this makes
more sense anyway.

Related-to: <nextstrain/auspice#1661>
@tsibley
Copy link
Member Author

tsibley commented Apr 7, 2023

I started a test run for this PR and it worked (producing nextstrain/nextstrain.org#674), but took 15 minutes to npm install nextstrain/auspice#$sha. I can repro this locally with any install of Auspice from git (instead of the NPM registry). npm pegs more than one CPU and chews thru memory. Was this always the case?

@tsibley
Copy link
Member Author

tsibley commented Apr 7, 2023

Looks like it:

image

Jeez. I guess it's fine though.

@tsibley tsibley merged commit e41315e into master Apr 7, 2023
@tsibley tsibley deleted the trs/nextstrain.org-auspice-move branch April 7, 2023 21:42
@victorlin
Copy link
Member

victorlin commented Apr 7, 2023

@tsibley yeah, I noticed this a while back. I did some digging and this GitHub issue was the most informative: npm/cli#4896

Looks like we're still using Node.js 14 / NPM 6 in the workflow. I'll make a PR to update it, since both downstream repos are using later versions now, and that should improve speed here based on the comments in the linked issue.

@tsibley
Copy link
Member Author

tsibley commented Apr 7, 2023

@victorlin Ah, excellent! I did notice that the CI logs warn about using NPM 6 when Auspice declares compat with, at minimum, NPM 7. But it still proceeded and worked, so…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

3 participants