Skip to content

fix: preserve snapshot http failures and resolve digest binding - #483

Merged
Pigbibi merged 5 commits into
mainfrom
fix/console-heartbeat-20261101
Nov 1, 2026
Merged

Pigbibi merged 5 commits into
mainfrom
fix/console-heartbeat-20261101

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

AI assistance

OpenAI Codex (GPT-6) prepared this change and its offline regression checks.

What changed

Preserve the exact allowlisted Cloud Run HTTP failure from snapshot completion evidence instead of collapsing HTTP 503 into a combined authentication/provider error. A failed request cannot be erased by a separate success, and unknown outcomes are never retried. Snapshot gcloud calls now name the existing workflow account explicitly.

Heartbeat and completed-window projection also gain an in-memory fallback for missing single-target digest identity/slot settings. It reads only the sole 100% serving revision after matching the configured runtime identity; conflicts, missing values and split/changing traffic fail closed. It does not dereference Secret Manager references or invent identities.

The historical 503's internal application cause is still unproven. The separate alerting secret-access denial needs a written, secret-scoped IAM request outside this PR. No permission, secret, variable, binding, scheduler or deployment change is included.

How verified

  • 30 focused offline tests passed for binding resolution and snapshot completion, including HTTP 401/403/429/500/502/503/504, mixed success/failure evidence, explicit account selection and no-retry behavior.
  • Ruff, actionlint on the changed workflow, git diff checks and repository documentation checks passed. Documentation checks retained one existing README advisory.
  • No workflow dispatch, provider/session renewal, real notification, storage/history write or deployment was performed. Full runtime recovery and WIF-principal metadata access remain unverified.

Co-Authored-By: Codex <noreply@openai.com>
@coderabbitai

coderabbitai Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 912caee8-d60c-4e83-80d3-b7ce9bc773bc
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Co-Authored-By: Codex <noreply@openai.com>
@Pigbibi Pigbibi added the owner-approved Owner approval for high-risk PRs. AI agents must never apply this label. label Oct 31, 2026
Pigbibi and others added 3 commits November 1, 2026 22:07
Preserve heartbeat identity and publication-before-read documentation.
Retain governance and runtime changes from main without rewriting history.

Co-Authored-By: Codex <noreply@openai.com>
@Pigbibi
Pigbibi merged commit 24283f6 into main Nov 1, 2026
8 checks passed
@Pigbibi
Pigbibi deleted the fix/console-heartbeat-20261101 branch November 1, 2026 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

owner-approved Owner approval for high-risk PRs. AI agents must never apply this label.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant