-
Notifications
You must be signed in to change notification settings - Fork 451
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
stats: exposed and documented #169
Conversation
test/stats.js
Outdated
|
||
describe('libp2p', (done) => { | ||
it('has stats', () => { | ||
createNode('/ip4/0.0.0.0/tcp/0', { |
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.
Probably want to set address to 127.0.0.1
instead, no reason to bind to public interface :)
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.
@victorbjelkholm good call, thanks! Fixed by 10bd08b.
@pgte just updated the version of |
Any updates here? |
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.
CI is all failing.
The tests seem to be failing on some (not directly) related code to stats: js-libp2p/test/peer-routing.node.js Lines 52 to 60 in 7eb1166
/cc @pgte |
@dryajov did something change on circuit-relay? |
Ping @pgte |
@hacdias my build runs locally, but I'm trying to figure out what's happening on CI.. |
@pgte suggestion: try to rebase master onto this branch, it might solve your issue. |
@pgte @diasdavid just rebased into master and the issue persists. I'm using the last commit from here on ipfs/js-ipfs#1230 and it seems to be working well. |
This one is stale for a while, what's blocking from getting CI green? |
Working on this now. |
Related: libp2p/js-libp2p-switch#246 |
I cannot reproduce this locally, but the error traces suggest that this PR for libp2p-switch should ameliorate this. |
restarted CI now that libp2p-switch fix has been merged and released as a patch version. |
@diasdavid thanks! That fixed some issues, but now I have node v6-only failings I'm going to dive into.. |
Update: for some reason, in node.js v6, in some instances, |
I think I found the problem, and it's in libp2p-circuit: libp2p/js-libp2p-circuit#23 If ok, needs updating libp2p-circuit and downstream libp2p-switch and libp2p. |
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.
Let's see if it runs now :)
@pgte a new consistent error as arise: https://travis-ci.org/libp2p/js-libp2p/builds/353334562#L4862 |
One last edge case fixed in the switch observer: libp2p/js-libp2p-switch#248 It should all be ok after this switch fix: |
Bumps [@multiformats/multiaddr](https://github.com/multiformats/js-multiaddr) from 11.6.1 to 12.0.0. - [Release notes](https://github.com/multiformats/js-multiaddr/releases) - [Changelog](https://github.com/multiformats/js-multiaddr/blob/master/CHANGELOG.md) - [Commits](multiformats/js-multiaddr@v11.6.1...v12.0.0) --- updated-dependencies: - dependency-name: "@multiformats/multiaddr" dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
## [6.0.2](libp2p/js-libp2p-bootstrap@v6.0.1...v6.0.2) (2023-03-17) ### Dependencies * bump @multiformats/multiaddr from 11.6.1 to 12.0.0 ([libp2p#169](libp2p/js-libp2p-bootstrap#169)) ([3532982](libp2p/js-libp2p-bootstrap@3532982))
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
## [2.0.9](libp2p/js-libp2p-webrtc@v2.0.8...v2.0.9) (2023-06-12) ### Dependencies * **dev:** bump delay from 5.0.0 to 6.0.0 ([libp2p#169](libp2p/js-libp2p-webrtc#169)) ([104cbf0](libp2p/js-libp2p-webrtc@104cbf0))
## [3.0.3](libp2p/js-libp2p-floodsub@v3.0.2...v3.0.3) (2022-08-03) ### Dependencies * update project deps to support no-copy operations ([#169](libp2p/js-libp2p-floodsub#169)) ([6a129b7](libp2p/js-libp2p-floodsub@6a129b7))
Fixes #168