Repository navigation
feat: add pack-sentinel and impossibleG service clients - #1
Merged
Merged
Conversation
This was referenced Oct 21, 2026
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.
Requested by mau
Before:
relay-dashonly drew an empty frame and could not talk to anything.After: Relay Dash can read pack-sentinel (health, collector state, open and acknowledged incidents, recent signals) and any impossibleG service (live and ready checks, loaded models, queue depth, active requests).
relay-dash --jsonpolls every source once, prints the results, and exits 1 if anything is down or not ready, so it already works as a script check.Sources come from
relay-dash.jsonin the working directory,--config, or--sentinel/--service name=url/--no-sentinel/--intervalflags. The pack-sentinel token is read only fromRELAY_DASH_SENTINEL_TOKEN(or the variable named bysentinel.tokenEnv); a token written in the config file is rejected.How: small clients under
src/sources/. The service client tries/health/*first and falls back to/healthzand/readyz(MCP server, ReAct agent), reads every/v1/modelsshape the services use (OpenAI-style, embeddings, OCR), and parses Prometheus text forimpossible_queue_depthand*_active_requests. Tests use a fake fetch with recorded response shapes, plus one CLI test against a local HTTP server.