-
Notifications
You must be signed in to change notification settings - Fork 233
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
import-bundle tests hang under node <=v12.10, ok under >=v12.11 #837
Comments
I can reproduce this under v12.10.0 with two files:
running with |
Narrower: importing from // test.js
import ' ./install-ses.js';
import { rollup } from 'rollup'; (remember this is all under |
.. except that running this in a new directory doesn't hang. Maybe it's one of the transitive dependencies. |
In my original agoric-sdk tree, in the
whereupon it hangs. When I use SIGINT to interrupt it, I get an error from Node's In the same directory, if I omit the In a new directory, where I've installed mostly the same dependency versions, neither flavor hangs. |
Bisecting on the version of Node.js, it appears that 12.10.0 is the last version that hangs. The test works starting with the very next release, 12.11.0. This Node.js release upgrades the V8 engine from 7.6 to 7.7, and the V8 release notes mention the following changes to stack traces that might possibly be relevant:
The Node.js changelog also mentions the following items that I thought looked suspicious:
|
We acquired a dependency on at least 12.11 (see #837) that we don't understand enough to relax, and we're only testing CI on 13. So we're declaring that we require Node 13 or higher. This updates the top-level package.json's `engines:` property, so that `yarn` will complain immediately if you use an old Node. It also updates a SwingSet unit test to check for the new version, as a backup. closes #937 refs #837 (makes it obsolete) closes #35
We acquired a dependency on at least 12.11 (see #837) that we don't understand enough to relax, and we're only testing CI on 13. So we're declaring that we require Node 13 or higher. This updates the top-level package.json's `engines:` property, so that `yarn` will complain immediately if you use an old Node. It also updates a SwingSet unit test to check for the new version, as a backup. closes #937 refs #837 (makes it obsolete) closes #35
We acquired a dependency on at least 12.11 (see #837) that we don't understand enough to relax, and we're only testing CI on 12.16.1 (the current LTS). So we're declaring that we require Node 12.16.1 or higher. This updates the top-level package.json's `engines:` property, so that `yarn` will complain immediately if you use an old Node. It also updates a SwingSet unit test to check for the new version, as a backup. closes #937 refs #837 (makes it obsolete) closes #35
We acquired a dependency on at least 12.11 (see #837) that we don't understand enough to relax, and we're only testing CI on 12.16.1 (the current LTS). So we're declaring that we require Node 12.16.1 or higher. This updates the top-level package.json's `engines:` property, so that `yarn` will complain immediately if you use an old Node. It also updates a SwingSet unit test to check for the new version, as a backup. closes #937 refs #837 (makes it obsolete) closes #35
…938) We acquired a dependency on at least 12.11 (see #837) that we don't understand enough to relax, and we're only testing CI on 12.16.1 (the current LTS). So we're declaring that we require Node 12.16.1 or higher. This updates the top-level package.json's `engines:` property, so that `yarn` will complain immediately if you use an old Node. It also updates a SwingSet unit test to check for the new version, as a backup. closes #937 refs #837 (makes it obsolete) closes #35
closes #1925 closes #837 The agoric-sdk as a whole requires/advises v14. We're leaving the individual package.jsons alone until a specific updated requirement is found for each (e.g. SwingSet will soon bump to v14 because it will require WeakRef). We won't be testing v12 support anywhere, but it's possible that individual packages will still work with v12 until we believe otherwise. Co-authored-by: Mathieu Hofman <86499+mhofman@users.noreply.github.com>
closes #1925 closes #837 The agoric-sdk as a whole requires/advises v14. We're leaving the individual package.jsons alone until a specific updated requirement is found for each (e.g. SwingSet will soon bump to v14 because it will require WeakRef). We won't be testing v12 support anywhere, but it's possible that individual packages will still work with v12 until we believe otherwise. Co-authored-by: Mathieu Hofman <86499+mhofman@users.noreply.github.com>
BREAKING CHANGE: The agoric-sdk as a whole now requires/advises v14. We're leaving the individual package.jsons alone until a specific updated requirement is found for each (e.g. SwingSet will soon bump to v14 because it will require WeakRef). We won't be testing v12 support anywhere, but it's possible that individual packages will still work with v12 until we believe otherwise. closes #1925 closes #837 Co-authored-by: Mathieu Hofman <86499+mhofman@users.noreply.github.com>
BREAKING CHANGE: The agoric-sdk as a whole now requires/advises v14. We're leaving the individual package.jsons alone until a specific updated requirement is found for each (e.g. SwingSet will soon bump to v14 because it will require WeakRef). We won't be testing v12 support anywhere, but it's possible that individual packages will still work with v12 until we believe otherwise. closes #1925 closes #837 Co-authored-by: Mathieu Hofman <86499+mhofman@users.noreply.github.com>
BREAKING CHANGE: The agoric-sdk as a whole now requires/advises v14. We're leaving the individual package.jsons alone until a specific updated requirement is found for each (e.g. SwingSet will soon bump to v14 because it will require WeakRef). We won't be testing v12 support anywhere, but it's possible that individual packages will still work with v12 until we believe otherwise. closes #1925 closes #837 Co-authored-by: Mathieu Hofman <86499+mhofman@users.noreply.github.com>
@Chris-Hibbert discovered that the new
import-bundle
module (which is the first to use async functions undertap
) suffers from a hanging test when run under Node v12. It works fine under Node v13.I'll investigate.
The text was updated successfully, but these errors were encountered: