-
Notifications
You must be signed in to change notification settings - Fork 59
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
Coverage in aegir + node hangs on CI and Local Dev #1206
Comments
Issue was created in bcoe/c8#454 There is a nodejs related issue discussed in bcoe/c8#432, which leads to nodejs/node#45013 and nodejs/node#45055. Naively, I tried to run the test on many different version, hoping I would find a clear "v18 is broken" or something. |
According to this comment (bcoe/c8#432 (comment)), folks are able to fix the issue by moving to node v20. |
I've updated the PR that re-enables coverage to only run coverage on node 20 but it still hangs so I think that comment is a red herring. Edit: Actually looking at that issue they're reporting a segfault which is not the problem we are seeing. The problem we see is detailed above - the process hangs after the test run finishes, it doesn't crash. |
Possibly related: nodejs/node#49344 |
Watch for test output that looks like the end of a successful test run - if collecting coverage takes too long, kill the process but do not cause the test run to fail. Temporary workaround for #1206
Watch for test output that looks like the end of a successful test run - if collecting coverage takes too long, kill the process but do not cause the test run to fail. Temporary workaround for #1206
Watch for test output that looks like the end of a successful test run - if collecting coverage takes too long, kill the process but do not cause the test run to fail. Temporary workaround for #1206
Describe the bug
We had to disable code coverage in node 18, which pushed the burden of checking code coverage onto maintainers and PR reviewers.
@achingbrain has prepared a PR to enable it back, but it's still blocking:
#1195
Examples:
https://github.com/ipfs/aegir/actions/runs/4225847659/jobs/7338650113
@BigLep shared details on why we need to solve this in https://filecoinproject.slack.com/archives/C03KLC57LKB/p1678122004165499
Options:
The text was updated successfully, but these errors were encountered: