Repository navigation
feat(echo): the status route - #27
Merged
Merged
Conversation
Ports fastapi-guard guard/status.py add_status_route onto the echo adapter (the nethttp sibling's seam): NewStatusHandler serves the engine's initialization status JSON (cloud_providers table with ready / last_refreshed / entries rows, the geo handler's get_status snapshot or null, and the redis component with a live PTTL probe), and AddStatusRoute registers it on the echo instance at DefaultStatusPath or a custom path. GET only; a nil engine or app is rejected.
rennf93
added a commit
that referenced
this pull request
Oct 9, 2026
… lifecycle surface - floor guard-core-go v4.3.2 (#30) The family 1.4.0 wave on Echo: GuardWebSocket plus WebSocketHTTPStatus (#26), AddStatusRoute (#27), the adapter lifecycle surface (MarkInitialized, GetInitializationStatus, Reset, AgentStats, RefreshCloudIPRanges, #28). Raises the engine floor to v4.3.2, pins golang.org/x/net v0.60.0 for the five 2026 http2 GO advisories reachable through the cloud-refresh lifecycle, and carries the post-transfer Guard-Core metadata sweep. Co-authored-by: Renn F <rennf93@users.noreply.github.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.
What
Ports fastapi-guard guard/status.py
add_status_routeonto the echo adapter - the echo-column MISSING row (FEATURE_MATRIX_GO section 2, GAP 16; nethttp has had the pattern since 1.3.x).How
NewStatusHandler(engine)serves the engine's initialization status JSON: the cloud-provider table (ready / last_refreshed / entries per provider, mirroring cloud_handler.get_status), the geo handler's get_status snapshot or null (the reference getattr fallback dance), and the redis component (enabled + a live PTTL probe: disabled reports ok=true, a probe failure reports ok=false with the redacted error).AddStatusRoute(app, engine, path)registers it atDefaultStatusPath(/_guard/status) or a custom path; GET only; nil engine/app rejected.Gates