Skip to content

docs: document deployment.logsHistory durable log history#39

Merged
acoshift merged 1 commit into
mainfrom
deployment-logshistory
Jun 21, 2026
Merged

docs: document deployment.logsHistory durable log history#39
acoshift merged 1 commit into
mainfrom
deployment-logshistory

Conversation

@acoshift

Copy link
Copy Markdown
Member

Documents the new (already-merged) deployment.logsHistory API action — the durable retrieval sibling of the live, ephemeral deployment.logs.

Changes

content/deployments/monitoring.md — in Reading logs and status programmatically:

  • New deployment.logsHistory entry: durable 30-day history over a since / until window, pod filter, oldest-first (forward) by default or newest-first with reverse, opaque cursor pagination (nextCursor until the window is exhausted), byte-budget cap (cappedByBytes), best-effort lag behind live output by the capture flush interval, reuse of the deployment.logs permission, and log-bucket-only availability.
  • CLI examples mirroring the existing deploys deployment logs ... one:
    • deploys deployment logs-history --project acme --location gke.cluster-rcf2 --name web --since 24h
    • the same with --reverse.
  • Warning callout and Permissions subsection updated to make the live vs durable split explicit and note that deployment.logsHistory reuses the secret-bearing deployment.logs permission.

content/automation/mcp.md — surfaces deployment.logsHistory alongside deployment.logs in the diagnose-a-failing-deploy recipe.

Verification

  • hugo --renderToMemory builds clean (55 pages, no warnings/errors).
  • Docs-only; no API dependency, no build pipeline change.

🤖 Generated with Claude Code

Add deployment.logsHistory — the durable 30-day sibling of the live,
ephemeral deployment.logs — to the monitoring "Reading logs and status
programmatically" section: since/until window, pod filter, oldest-first
(forward) default or newest-first via reverse, opaque cursor pagination,
best-effort lag behind live output by the capture flush interval, reuse of
the deployment.logs permission, and log-bucket-only availability. Add CLI
examples mirroring the existing deployment logs one (logs-history --since 24h
and a --reverse variant) and make the live-vs-durable split explicit in the
warning callout and Permissions subsection.

Also surface deployment.logsHistory alongside deployment.logs in the MCP
diagnose-a-failing-deploy recipe.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011d4bVuGLnCbcJD9ZvastPH
@deploys-app deploys-app Bot temporarily deployed to pr-39 June 21, 2026 05:36 Destroyed
@deploys-app

deploys-app Bot commented Jun 21, 2026

Copy link
Copy Markdown

Preview deleted (PR closed).

@acoshift acoshift merged commit 91d7abe into main Jun 21, 2026
1 check passed
@acoshift acoshift deleted the deployment-logshistory branch June 21, 2026 08:49
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