-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Conversation
acb7174
to
420117f
Compare
Here are the action items discussed last week:
|
d603202
to
4ae47e6
Compare
A quick update on whats outstanding:
EDIT: I'll be adding the missing tests shortly. The reason they are not added yet, is because currently spawning nodes in browser runs is extremely cumbersome. Some of this has been captured in this issue - #1030. |
As an update to everyone following this PR, check @dryajov demoing it on the IPFS All Hands! => https://youtu.be/chAXj_vsR2s?t=25m01s |
6c9c23f
to
1c3f0db
Compare
50fcfcc
to
9aef6b7
Compare
.aegir.js
Outdated
(cb) => spawnGoNode([ | ||
`/ip4/127.0.0.1/tcp/10032`, | ||
`/ip4/127.0.0.1/tcp/20032/ws` | ||
], true, 33032, 44032, cb) |
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.
This is spawning a ton of go nodes for the interop tests, but interop tests never run this script because they use mocha directly
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.
True, but interop tests now rely nodes spawned within the tests them self, do we want to rework it in this PR?
package.json
Outdated
"test:unit:node:http": "aegir test --target node -f test/http-api/index.js", | ||
"test:unit:node:gateway": "aegir test --target node -f test/gateway/index.js", | ||
"test:unit:node:cli": "aegir test --target node -f test/cli/index.js", | ||
"test:unit:browser": "aegir test --target browser --no-cors", | ||
"test:interop": "npm run test:interop:node", | ||
"test:interop:node": "mocha -t 60000 test/interop/node.js", | ||
"test:interop:browser": "mocha -t 60000 test/interop/browser.js", |
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.
This needs to start using aegir due to https://github.com/ipfs/js-ipfs/pull/830/files#r149579164
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.
I'll get those in.
.aegir.js
Outdated
}, | ||
hooks: { | ||
pre: pre, | ||
post: stop | ||
} | ||
} |
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.
@dignifiedquire is there a way to select custom .aegir.js for different runs? Goal here is to have one for interop and another for unit
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.
AFAIK, we can have browser.hooks
, but not sure if we can have custom tags
.
@dryajov please go ahead and create a PR enabling Circuit Relay interop tests |
The work continues on #1063 |
We're getting close to completing the JS circuit implementation, this issue is to track further progress. Main work is being done here -
libp2p/js-libp2p-circuit#9libp2p/js-libp2p-circuit#14.Assumptions (needs validation)
p2p-circuit
by default to make them dialable over circuit relayOutstanding work (this will be kept up to date with specific tasks as they come up):
js-ipfs
andlibp2p
libp2p
js-ipfs
relay.js
listener.js
Outstanding PRs:
@diasdavid @lgierth @whyrusleeping @dignifiedquire
NOTE: I'm currently bringing this issue up to date with all the latest developments - this is still in WIP.EDIT: This issue is up to date!