Skip to content

Keep content refresh working after docs-only commits - #108

Merged
RaviTejaKNTS merged 1 commit into
mainfrom
fix/refresh-after-docs-commit
Nov 5, 2026
Merged

RaviTejaKNTS merged 1 commit into
mainfrom
fix/refresh-after-docs-commit

Conversation

@RaviTejaKNTS

Copy link
Copy Markdown
Collaborator

Problem

PR #106 changed one line in AGENTS.md. Docs-only commits don't release, so the live backend stayed on bfefafc5 while main moved to d44599f4. checkCurrentRelease then failed every frontend content refresh, about every 2.5 minutes since 2026-11-05 10:56 UTC, with The live backend SHA does not match current main.

Running the release by hand also failed, at Apply database migrations. setup-cli uses version: latest, and Supabase CLI 3.0.0 (released 2026-11-02) rejects [inbucket] in supabase/config.toml with DbConfigLoadError. Push releases skip that step when no migration changed, so nothing showed it until now.

Fix

  • checkCurrentRelease passes when the live SHA is behind main only by files in the release's paths-ignore, using the GitHub compare API. It fails closed on behind, diverged, an empty or possibly truncated file list, or a rename out of a release-ignored path. A test keeps the list equal to the workflow.
  • The Supabase CLI is pinned to 2.122.1, which passes config loading and reaches the database connection step (checked locally against a closed port).

What stays exact

  • The release's final dokploy-release.mjs health check.
  • checkLiveRelease, used by page publication. So publishing pages after a docs-only commit still needs a release first; the release skill now says so.

Not in this PR

Moving to CLI 3 needs [inbucket] renamed to [local_smtp] and its own test.

Merging this deploys main, which also clears the current failure. A Sol review found no blocking issue.

🤖 Generated with Claude Code

A commit touching only release-ignored paths doesn't deploy, so the live
backend stayed on the older SHA and every frontend refresh failed. Count the
backend as current when it's behind main only by those paths. The release's
final health check and page publication still need the exact SHA.

Pin the Supabase CLI to 2.122.1. Version 3 rejects [inbucket] in
supabase/config.toml, which broke manual releases at the migration step.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@RaviTejaKNTS
RaviTejaKNTS merged commit 03c468d into main Nov 5, 2026
4 checks passed

This branch was previously deployed

1 inactive deployment
production — eff2bc18 Deployed Nov 5, 2026 by RaviTejaKNTS via verify-production-build #102
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