Skip to content

feat(v2): document /ready readiness gates in OpenAPI spec#7286

Open
jstirnaman wants to merge 2 commits into
masterfrom
feat-v2-health-ready-spec
Open

feat(v2): document /ready readiness gates in OpenAPI spec#7286
jstirnaman wants to merge 2 commits into
masterfrom
feat-v2-health-ready-spec

Conversation

@jstirnaman

Copy link
Copy Markdown
Contributor

What

Updates the InfluxDB OSS v2 OpenAPI spec to document the new /ready readiness-gate behavior introduced in influxdata/influxdb#27370:

  • /ready: add a 503 response (instance still starting) → Ready schema.
  • Ready schema: add starting to the status enum and a failing-only checks array (reuses HealthCheck).
  • /health + HealthCheck: unchanged — already complete.

Why

The published v2 API reference generates /ready from this spec, and the spec currently documents only a 200/"ready" response with no 503, no checks, and no gate model. #27370 changes that behavior.

⚠️ Do not merge until released

release:pending — #27370 is merged to main-2.x but unreleased (v2 docs track 2.9.1). Merging this before the 2.x release that ships #27370 would document behavior users don't have yet.

Upstream follow-up

The canonical source is influxdata/openapi. This same change should land there, or it will be overwritten on the next getswagger.sh regen.

Validation

  • YAML parses; @redocly/cli lint identical to baseline (2 errors, 2469 warnings — all pre-existing, zero introduced).

Related

Add a 503 response to /ready and extend the Ready schema with the
`starting` status value and a failing-only `checks` array (reusing
HealthCheck), reflecting the readiness-gate behavior introduced in
influxdata/influxdb#27370.

Do not merge until the 2.x release that ships #27370. The same change
should also land upstream in influxdata/openapi or it will be
overwritten on the next getswagger.sh regen.
@jstirnaman jstirnaman requested a review from a team as a code owner June 1, 2026 20:12
@jstirnaman jstirnaman requested review from sanderson and removed request for a team June 1, 2026 20:12
@jstirnaman jstirnaman added the release:pending Waiting for product release before merging label Jun 1, 2026
@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

📦 PR Preview — Preview Bot

Status Details
Result ⏳ NEEDS INPUT
Checked 2026-06-26 21:35:22 UTC

Preview pages needed

This PR changes layout/asset files but doesn't specify which pages to preview.

To generate a preview, add documentation URLs to your PR description, for example:

Please review:
- https://docs.influxdata.com/influxdb3/core/get-started/
- /telegraf/v1/plugins/

Then re-run the workflow or push a new commit.

@jstirnaman jstirnaman added the hold off Should not be merged or address yet label Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hold off Should not be merged or address yet release:pending Waiting for product release before merging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant