Skip to content

chore(deps): align pnpm minimumReleaseAge with dependency firewall#5919

Merged
avallete merged 2 commits into
developfrom
claude/debug-ci-failures-ejx4mu
Jul 21, 2026
Merged

chore(deps): align pnpm minimumReleaseAge with dependency firewall#5919
avallete merged 2 commits into
developfrom
claude/debug-ci-failures-ejx4mu

Conversation

@avallete

@avallete avallete commented Jul 21, 2026

Copy link
Copy Markdown
Member

Summary

The release pipeline's pnpm install --frozen-lockfile was failing with ERR_PNPM_FETCH_451. The Dependency Firewall (firewall.depthfirst.com) quarantines newly published package versions for 7 days and returns HTTP 451 "Unavailable For Legal Reasons" for them.

With minimumReleaseAge: 0, pnpm applied no cooldown of its own, so Dependabot bumps pinned the lockfile to versions younger than the firewall's window (e.g. knip@6.27.0, lucide-react@1.25.0, @swc-node/register@1.12.0, @posthog/core@1.43.1), which the firewall then refused to serve — breaking the install.

This sets minimumReleaseAge to 10200 minutes (7 days + a 2-hour buffer; the setting is in minutes) so pnpm only ever resolves versions old enough for the firewall to serve, keeping pnpm's floor in lockstep with the firewall. The lockfile is re-resolved onto firewall-approved versions (knip@6.26.0, lucide-react@1.24.0, @swc-node/register@1.11.1, @posthog/core@1.40.2, …).

The buffer was kept at exactly 2 hours rather than a larger margin on purpose: a value stricter than the firewall would reject exact-pinned bleeding-edge previews (e.g. next@16.3.0-preview.6 in apps/docs) that the firewall itself would still serve.

Linked issue

Closes #

  • The linked issue is open and carries the open-for-contribution label (or I'm a Supabase maintainer).

Checklist

  • The PR title follows Conventional Commits (e.g. fix(cli): …).
  • Tests added or updated for the change.
  • pnpm check:all and pnpm test pass for the workspace(s) I touched.

https://claude.ai/code/session_019Qp5ihFoD67CTcAAEr5js7

The release pipeline's `pnpm install --frozen-lockfile` was failing with
ERR_PNPM_FETCH_451 because the Dependency Firewall (firewall.depthfirst.com)
quarantines newly published package versions for 7 days and returns HTTP 451
for them. With `minimumReleaseAge: 0`, pnpm applied no cooldown of its own, so
Dependabot bumps pinned the lockfile to versions younger than the firewall's
window (e.g. knip 6.27.0, lucide-react 1.25.0, @swc-node/register 1.12.0,
@posthog/core 1.43.1), which the firewall then refused to serve.

Set `minimumReleaseAge` to 10200 minutes (7 days + a 2-hour buffer) so pnpm
only ever resolves versions old enough for the firewall to serve, and
re-resolve the lockfile onto firewall-approved versions.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019Qp5ihFoD67CTcAAEr5js7
@avallete avallete changed the title chore: increase minimumReleaseAge to 10200 seconds chore(deps): align pnpm minimumReleaseAge with dependency firewall Jul 21, 2026
@avallete
avallete enabled auto-merge July 21, 2026 14:38
@avallete
avallete added this pull request to the merge queue Jul 21, 2026
Merged via the queue into develop with commit 07edb51 Jul 21, 2026
17 checks passed
@avallete
avallete deleted the claude/debug-ci-failures-ejx4mu branch July 21, 2026 15:15
@github-actions

Copy link
Copy Markdown
Contributor

Supabase CLI preview

npx --yes https://pkg.pr.new/supabase/cli/supabase@569b225a32acf908c33a3d08eb7824e413f8e676

Preview package for commit 569b225.

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.

3 participants