Skip to content

ci: pin Supabase CLI to 2.107.0 in db-types job - #19

Merged
hamchowderr merged 1 commit into
mainfrom
fix/ci-pin-supabase-cli
Jun 18, 2026
Merged

ci: pin Supabase CLI to 2.107.0 in db-types job#19
hamchowderr merged 1 commit into
mainfrom
fix/ci-pin-supabase-cli

Conversation

@hamchowderr

Copy link
Copy Markdown
Owner

Problem

The db types fresh job pins supabase/setup-cli@v1 to version: latest, which resolves the newest release via an unauthenticated GitHub API call. On shared runners that call is rate-limited, and it flaked on PR #18:

##[error]Failed to resolve latest Supabase CLI release: rate limit exceeded

The job died in ~9s — before doing any real work — with no actual type drift. A blind re-run cleared it, but it can recur any time.

Fix

Pin the CLI to a fixed version (2.107.0 — current stable, and exactly what the passing re-run installed). With an explicit version the action downloads the release asset directly, so there's no "resolve latest" API call to rate-limit. Deterministic and immune to the anonymous limit; bump deliberately when a migration needs a newer CLI.

Verification

This PR's own db types fresh run exercises the change end-to-end.

Refs foreman-fjl3.

🤖 Generated with Claude Code

The 'db types fresh' job used `version: latest` on supabase/setup-cli, which
resolves the newest release via an unauthenticated GitHub API call. That got
rate-limited on a shared runner ("Failed to resolve latest Supabase CLI
release: rate limit exceeded") and failed the job in ~9s with no real type
drift. Pinning downloads the release asset directly — deterministic and
immune to that anonymous rate limit. Bump deliberately when a migration needs
a newer CLI.

Closes foreman-fjl3.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
foreman Ready Ready Preview, Comment Jun 18, 2026 2:46am

@hamchowderr
hamchowderr merged commit 67f9a99 into main Jun 18, 2026
7 checks passed
@hamchowderr
hamchowderr deleted the fix/ci-pin-supabase-cli branch June 18, 2026 03:38
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