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

Implement saner smoke test for connectivity #1023

Open
gmega opened this issue Dec 5, 2024 · 0 comments
Open

Implement saner smoke test for connectivity #1023

gmega opened this issue Dec 5, 2024 · 0 comments
Labels
API Client See https://miro.com/app/board/uXjVNZ03E-c=/ for details enhancement New feature or request

Comments

@gmega
Copy link
Member

gmega commented Dec 5, 2024

Both Codex app and the CLI tool @hackyguru is working on are displaying DHT routing peers as a check that you're connected to the network, showing those as "connected peers". This is inaccurate as the DHT provides very weak guarantees in that sense - peers might be stale or dead. We should think of a slightly better way of doing this. Some low-cost options:

  1. show libp2p peers. Would be great, but when you bootstrap you have $0$ of those so may not be that helpful;
  2. show DHT peers for which we have recent liveness checks. Guarantees that at least you were able to exchange a ping with the peer in recent times, meaning you can reach a Codex peer and it can reply.
@gmega gmega added API Client See https://miro.com/app/board/uXjVNZ03E-c=/ for details enhancement New feature or request labels Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Client See https://miro.com/app/board/uXjVNZ03E-c=/ for details enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant