Skip to content

server: report serving revision in readiness for origin drift checks - #126

Merged
morajabi merged 1 commit into
mainfrom
claude/readyz-revision
Oct 17, 2026
Merged

morajabi merged 1 commit into
mainfrom
claude/readyz-revision

Conversation

@morajabi

Copy link
Copy Markdown
Contributor

/readyz now includes revision, the source commit of the serving build (GIT_COMMIT_SHA, already injected from SOURCE_COMMIT at build time). Fly and the Nuremberg fallback can then be compared directly. The origin observer can alert when they drift apart, and inline-ops nbg status can confirm a sync, without provider credentials.

Only the readiness HTTP response changes; liveness endpoints are untouched. Existing monitors (the API observer, the origin observer and the HQ infrastructure check) read the fields they need and tolerate the extra key. The Effect response schema and the effect-v1-openapi contract fixture are updated together (additionalProperties: false).

Validation: health, auxiliary host and ingress suites pass (45 tests). The OpenAPI and route manifests match; server typecheck and lint pass. The only typecheck errors are the existing packages/mcp/dist imports, which need the MCP package built.

@morajabi
morajabi merged commit b5a221a into main Oct 17, 2026
59 of 61 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant