Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/swarm-nats-auth/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
maia d8ac52b77d swarm-nats-auth: keep trying to reach the queue instead of exiting
The responder made one connect and ended on its first refusal. In a pod
the queue's own container starts beside it, and the responder's startup
(a store login and four key loads) can finish before the server listens,
so every new pod started with a crash and a restart that `RESTARTS`
could not tell from a real failure.

The client now connects in the background (retry_on_initial_connect),
with the library's own delays, and logs one warn line per failed
attempt, so a server that never comes up still shows in the log. The
health endpoint's /readyz already follows the connection state, so the
pod is not Ready until the responder is connected. The "connected" log
line moves to the connect event; the line after the subscribe says
"subscribed".

Closes #6841
2026-11-24 21:30:03 +01:00
..
agent_token.rs swarm: drop the -agent client suffix refusal from authelia and the queue responder 2026-10-24 15:02:32 +02:00
introspect.rs swarm-nats-auth: give issued user JWTs an exp 2026-10-17 16:29:55 +02:00
keystore.rs swarm-nats-auth: read the callout issuer and user seeds from the store 2026-10-06 14:53:33 +02:00
main.rs swarm-nats-auth: keep trying to reach the queue instead of exiting 2026-11-24 21:30:03 +01:00
nkey.rs swarm-nats-auth: read the callout issuer and user seeds from the store 2026-10-06 14:53:33 +02:00
oidc_secret.rs name the mint, not the publisher, as the writer of the client secrets 2026-10-30 16:57:58 +01:00
policy.rs swarm-controller: keep the known models in memory, and let the controller watch agent-inference 2026-11-23 21:53:44 +01:00
request.rs swarm-nats-auth: answer callout requests concurrently, skip expired ones 2026-10-17 23:36:01 +02:00
respond.rs swarm-nats-auth: give issued user JWTs an exp 2026-10-17 16:29:55 +02:00
xkey.rs swarm-nats-auth: answer callout requests concurrently, skip expired ones 2026-10-17 23:36:01 +02:00