Repository navigation
No single point of failure for status, node board or bootstrap - #59
Merged
Merged
Conversation
c0mpute.com/status, /nodes, the home count and new-node bootstrap all hung off one unsupervised aggregator process in the dev2 web container and one seed on dev2, with no compiled-in seeds. - A second seed + status aggregator now runs on vienna (netcup, p2p 46339, read-only status on :8091). - The site reads every aggregator in STATUS_AGGREGATOR_URLS in parallel and uses the one that sees the most workers; the in-container aggregator is restarted when it exits (backoff 2 s..60 s). - Both seeds are compiled in (bootstrap::DEFAULT_SEEDS) for the worker and the aggregator, and /bootstrap.json serves them when its env var is empty. - The worker treats a user-level infernet.service as managing the daemon (infernet v0.1.62 installs one), so the two never start rival daemons. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ThreatCrush Security Scan9 finding(s) MEDIUM: 9
Snippets are redacted; ThreatCrush never prints matched credential material. |
…eckout too bbs ran a bun daemon from ~/.infernet/source for a week next to infernet.service; the reaper only matched the npm path. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Everything on c0mpute.com that shows or finds nodes depended on dev2 alone:
bootstrap.jsonserved by that same hostWhat
c0mpute-seed.service, peer12D3KooWN99F7k4Fj6SdUqZ2VG4ZBLuw1e1ftwdPDBx3GsiDXzqv,/ip4/152.53.47.37/tcp/46339, read-only status on:8091).lib/aggregators.ts:/status,/nodesand the home count query every URL inSTATUS_AGGREGATOR_URLSand use the one that sees the most workers.bootstrap::DEFAULT_SEEDScompiles both seeds into the worker and the aggregator;/bootstrap.jsonfalls back to them.infernet_systemd_managed()also checkssystemctl --user(infernet v0.1.62 installs a user unit).Companion: InfernetProtocol/infernet-protocol#51 (self-restarting nodes, Infernet aggregators, provider details).
Checks
tsc --noEmitis clean. Rust is checked in CI (this box has no C linker).🤖 Generated with Claude Code