Skip to content
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

feat: helia-lan-discovery example #136

Merged
merged 7 commits into from
Jan 17, 2024
Merged

Conversation

SgtPooki
Copy link
Contributor

@SgtPooki SgtPooki commented Aug 28, 2023

user reached out on slack about peer discovery not working quite right with Helia, so i decided to throw together some code and try it out

This example is now working and has some very basic tests

@achingbrain
Copy link
Contributor

Related: libp2p/js-libp2p#2012

@achingbrain
Copy link
Contributor

Also related: libp2p/js-libp2p#2013

@SgtPooki SgtPooki self-assigned this Dec 13, 2023
@SgtPooki SgtPooki changed the title tmp: helia-lan-server-discovery testing feat: helia-lan-discovery example Dec 13, 2023
@SgtPooki SgtPooki marked this pull request as ready for review December 14, 2023 00:04
Copy link
Contributor Author

@SgtPooki SgtPooki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

self review

.gitignore Outdated Show resolved Hide resolved
@SgtPooki SgtPooki merged commit a65512b into main Jan 17, 2024
18 of 19 checks passed
@SgtPooki SgtPooki deleted the example/helia-lan-server-discovery branch January 17, 2024 17:32
@SgtPooki
Copy link
Contributor Author

Merged this even though test-monorepo is failing

@achingbrain
Copy link
Contributor

Merged this even though test-monorepo is failing

😞

@achingbrain
Copy link
Contributor

This was missing a repo to copy the examples to so it further broke the build.

I've updated the instructions for adding new examples which were a little out of date, I think it's all present & correct now - https://github.com/ipfs-examples/helia-examples#how-to-add-a-new-example

@achingbrain
Copy link
Contributor

achingbrain commented Jan 19, 2024

That said the tests are pretty unreliable, the lan example ones seem to run forever sometimes. There was a timeout cli command before the tests, presumably that just kills them if they take too long, which should probably be fixed instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants