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

tools: Upgrade #459

Merged
merged 3 commits into from
Dec 22, 2024
Merged

tools: Upgrade #459

merged 3 commits into from
Dec 22, 2024

Conversation

juliaogris
Copy link
Member

@juliaogris juliaogris commented Dec 20, 2024

Upgrade hermitised and node tools according to docs. It all went smoothly apart
from Playwright which required a bunch of snapshot updates again and is still
not working properly.

docs: https://github.com/evylang/evy/blob/5b196cbe154c60d68b2c2deffa41e118985ffba9/docs/development/upgrade.md

Upgrade hermitised tools with

	hermit upgrade

Manually check that there are no other major version upgrades of tools.
Upgrade node tooling with

	npx --prefix .hermit/node -y npm-check-updates --packageFile .hermit/node/package.json -u
	npm --prefix .hermit/node install
	npm --prefix .hermit/node audit fix

Running the audit fix command was suggested by Node. Re-running the
first two commands afterwards made no difference.
Upgrade Playwright used in end-to-end png snapshot comparison tests from
1.48.2 to 1.49.1. Unfortunately local runs on Linux are still broken
and it seems almost all snapshots got updated again around fonts.

Commands run:

	npx --prefix e2e -y npm-check-updates --packageFile e2e/package.json -u
	npm --prefix e2e install
	npx --prefix e2e playwright install

Then a manual update to the docker image version in the playwright to:

	PLAYWRIGHT_OCI_IMAGE = mcr.microsoft.com/playwright:v1.46.0-jammy

And finally a snapshot update with

	make snaps USE_DOCKER=1
Copy link
Member

@camh- camh- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥦

@juliaogris juliaogris merged commit 1acce60 into main Dec 22, 2024
4 checks passed
@juliaogris juliaogris deleted the upgrade branch December 22, 2024 07:48
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.

2 participants