-
Couldn't load subscription status.
- Fork 1.2k
Awesome Endeavour: Circuit Relay #830
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: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.
| 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-circuitby default to make them dialable over circuit relayOutstanding work (this will be kept up to date with specific tasks as they come up):
js-ipfsandlibp2plibp2pjs-ipfsrelay.jslistener.jsOutstanding 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!