Commit graph

11 commits

Author SHA1 Message Date
5da43e2937
ncro: migrate CLI to cobra/viper
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I4707bb1927224624f811ce4d3f2f8a3b6a6a6964
2026-04-05 22:48:15 +03:00
a35b3216ec
config: add server.cache_priority for configurable /nix-cache-info Priority
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ibe9c357ea2c56a967c75be04c2099f536a6a6964
2026-04-05 22:48:11 +03:00
d599ef02a7
prober: persist health across restarts via callback; seed from DB on startup
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ica467d6db76c495a6ccadbad89276b536a6a6964
2026-04-05 22:48:07 +03:00
118eda08a1
server: route NAR requests via route cache; extract tryNARUpstream helper
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Icd57a268015d58faa7ffc2b8c711283b6a6a6964
2026-04-05 22:48:05 +03:00
b0ea022dc2
cache: add negative cache; router: skip race for cached 404s
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ibeb44b313850395898bb20f2d947b0b76a6a6964
2026-04-05 22:48:01 +03:00
41b18dd1f8
router: add singleflight deduplication for concurrent narinfo races
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ib682889f34ad4ad4fb331ee2924dc9916a6a6964
2026-04-05 22:47:59 +03:00
f4804d2150
ncro: wire narinfo signing, mesh peer keys, and RouteEntries gauge
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Iee018615044ec5c860877224238ff8ce6a6a6964
2026-03-15 11:01:47 +03:00
d290bcf4ad
mesh: implement UDP gossip transport; wire mesh comms into main
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Iea0b2f250b01df78b1c7be73d69d28c06a6a6964
2026-03-15 11:01:42 +03:00
02e7065171
ncro: call Validate() in main; wire metrics, priority, and mesh stub
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I428e17606daf1833d5aea20a22461abe6a6a6964
2026-03-15 11:01:40 +03:00
ee6c2d6368
ncro: wire all components; handle shutdown more gracefully
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I81fab7fa2cfa5a109b8b317fa53f10d86a6a6964
2026-03-15 11:01:30 +03:00
356aa999af
initial commit
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Iec17afe27e51e55d53e09479fcdfd4456a6a6964
2026-03-15 11:01:11 +03:00