Skip to content

docs(k8s-proxy): document unified rollout recording status contract, API v1, and MCP tool - #1020

Draft
slayerjain wants to merge 4 commits into
mainfrom
docs/rollout-recording-status
Draft

slayerjain wants to merge 4 commits into
mainfrom
docs/rollout-recording-status

Conversation

@slayerjain

Copy link
Copy Markdown
Member

Summary

Documents the unified rollout recording-status contract shared across Keploy Console, k8s-proxy (/record/active, /record/status, /deployments), recording runs (/k8s-proxy/recording-runs), Public API v1 (GET /client/v1/apps/{appId}/recording-status), MCP (get_recording_status), and CLI (keploy k8s status and keploy k8s record status).

Companion PRs:

  • keploy/api-server#2685 — shared recording-status contract model/formatter, Public API v1 GET /client/v1/apps/{appId}/recording-status, and MCP get_recording_status
  • keploy/k8s-proxy#1349 — Argo Rollout handover, live rollout progress fields on /record/active & /record/status, and bounded persistence
  • keploy/enterprise-ui#2128 — persistent live rollout progress banner and rollout timeline

Changes

  • Added versioned_docs/version-4.0.0/running-keploy/rollout-recording-status.md:
    • Complete recording_state reference (recording, ended_by_rollout, waiting_for_rollout, restarting_after_rollout, rollout_wait_timeout, handover_failed, plus idle and stopped for Public API v1 / MCP).
    • Complete top-level (ended_run_id, ended_run_test_count, next_run_id, message, next_action) and rollout object reference (kind, phase, stable_revision, new_revision, stable_image_tag, new_image_tag, current_step, total_steps, updated_ready, desired, paused_reason, aborted, started_at, status_changed_at).
    • Public API v1 GET /client/v1/apps/{appId}/recording-status reference with curl and complete enveloped JSON examples for waiting_for_rollout (paused), restarting_after_rollout, rollout_wait_timeout, and handover_failed.
    • MCP get_recording_status tool reference with enveloped response example and AI-agent interpretation rules.
    • CLI rendering examples (keploy k8s status and keploy k8s record status === KEPLOY NEXT === output).
  • Added "running-keploy/rollout-recording-status" to versioned_sidebars/version-4.0.0-sidebars.json under K8s Proxy.
  • Added cross-links in versioned_docs/version-4.0.0/running-keploy/public-api.md and versioned_docs/version-4.0.0/running-keploy/k8s-proxy-api.md.

Verification

  • yarn install --frozen-lockfile: rc=0
  • npm run build (onBrokenLinks: "throw", onBrokenAnchors: "throw"): rc=0 (267 documents processed)
  • npm run verify-schema: rc=0 (587 pages scanned, 1219 JSON-LD blocks, 0 errors)
  • npx prettier@2.8.8 --check: rc=0 on all 4 files
  • Asset budget checks (X1, X3, D3): rc=0 (0 failures)

Signed-off-by: slayerjain <shubhamkjain@outlook.com>
…ver_failed

Signed-off-by: slayerjain <shubhamkjain@outlook.com>
@slayerjain
slayerjain force-pushed the docs/rollout-recording-status branch from 73ee369 to 732f7c8 Compare November 28, 2026 21:24
Signed-off-by: slayerjain <shubhamkjain@outlook.com>
Signed-off-by: slayerjain <shubhamkjain@outlook.com>

This branch has not been deployed

No deployments
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