-
Notifications
You must be signed in to change notification settings - Fork 87
test: use branch/alias deploys for e2e test suite to enable automatic deploy cleanup #2752
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
Conversation
c5dd3a1
to
42b9342
Compare
📊 Package size report No changes
Unchanged files
🤖 This report was automatically generated by pkg-size-action |
ef8593a
to
1700831
Compare
7bd56b5
to
41b9eb6
Compare
7d3a358
to
ac580e6
Compare
2d4bc38
to
f0e2da0
Compare
ed242e8
to
4dae38d
Compare
// on Node 18.20.6 on Windows, there seems to be an issue with OG image generation in this scenario | ||
// that is reproducible with `next start` even outside of Netlify context | ||
test.skipIf(platform === 'win32')<FixtureTestContext>( | ||
'should work in app route with node runtime', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unrelated to rest of PR, but to not create separate change throwing it here
Showing same kind of error we see in github action logs https://github.com/opennextjs/opennextjs-netlify/actions/runs/13055953386/job/36426974015?pr=2752#step:12:557
⨯ [Error: failed to pipe response] {
[cause]: TypeError: Invalid URL
at async Object.start (D:\a\opennextjs-netlify\opennextjs-netlify-dist07klBn\___netlify-server-handler\.next\server\app\og-node\route.js:2:25299) {
input: '.\\file:\\D:\\a\\opennextjs-netlify\\opennextjs-netlify-dist07klBn\\___netlify-server-handler\\node_modules\\next\\dist\\compiled\\@vercel\\og\\noto-sans-v27-latin-regular.ttf',
code: 'ERR_INVALID_URL'
}
}
This was not happening on 18.20.5, so I suspect nodejs/node@da2d177f91 being source of this problem, but this looks like something that should be fixed/addressed in Next.js as we don't do anything specific for OG images in the area where failure is happening (failing to load a font?)
Description
Deploy previews aren't currently subject to the same retention policy as regular deploys, as such we end up keeping our test runs around for longer than we intend. Switching to branch deploys (i.e. giving all test runs the
next-e2e-tests
alias) allows them to be picked up by the daily soft deletion worker.Before: Deploy Preview
After: Branch Deploy