-
Notifications
You must be signed in to change notification settings - Fork 89
test: print cli output when timing out #2959
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
📊 Package size report No changes
Unchanged files
🤖 This report was automatically generated by pkg-size-action |
02f8962
to
7a22d98
Compare
This reverts commit 7a22d98.
console.error(err) | ||
require('console').error(err) |
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.
not related to main change
this error was not being printed out before - there is some weird console patching going on - so adjusting this to be same as other logs in case those might hide some important detail for us that would help debugging
f68cb4b
to
30cc0f2
Compare
Description
To aid with debugging vercel/next tests that are just timing out without any meaningful output this captures the output and will print it out if
destroy()
is called before deploy finished to figure out if something is just slow or we are sometimes hanging on something.See example https://github.com/opennextjs/opennextjs-netlify/actions/runs/15591799921/job/43913715730#step:20:82 (from test run on tmp commit that was intentionally timing out)