Skip to content

chore(bunfig): restore minimumReleaseAge supply-chain gate with scoped excludes - #5523

Merged
waleedlatif1 merged 1 commit into
stagingfrom
bunfig-restore-gate
Jul 12, 2026
Merged

chore(bunfig): restore minimumReleaseAge supply-chain gate with scoped excludes#5523
waleedlatif1 merged 1 commit into
stagingfrom
bunfig-restore-gate

Conversation

@waleedlatif1

@waleedlatif1waleedlatif1 commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • restores the minimumReleaseAge = 604800 (7-day) supply-chain gate in bunfig.toml that was temporarily set to 0 to unblock the TS7 upgrade (chore(typescript): upgrade to TypeScript 7 (native Go compiler) #5521)
  • adds minimumReleaseAgeExcludes for the three packages currently inside the gate so bun install --frozen-lockfile passes today instead of staying red until 2026-07-15:
    • @typescript/native-preview — permanent: it only publishes nightly dev builds, so every version is structurally younger than any age gate
    • typescript + @typescript/typescript6 — vetted in chore(typescript): upgrade to TypeScript 7 (native Go compiler) #5521; they age out on 2026-07-15 / 2026-07-13 and the entries can be dropped after that (noted in a comment in the file)

Type of Change

  • Chore

Testing

Verified locally in a clean worktree with the exact CI command:

  • bun install --frozen-lockfile with the excludes → succeeds (1854 packages)
  • same command with the excludes removed → fails with blocked by minimum-release-age: 604800, confirming the gate is actually enforcing

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

@waleedlatif1
waleedlatif1 requested a review from a team as a code ownerJuly 9, 2026 00:04
@vercel

vercelBot commented Jul 9, 2026

Copy link
Copy Markdown

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

ProjectDeploymentActionsUpdated (UTC)
docsReadyReadyPreview, CommentJul 12, 2026 7:55pm

Request Review

@cursor

cursorBot commented Jul 9, 2026

Copy link
Copy Markdown

PR Summary

Low Risk
Install-time dependency policy only; no runtime, auth, or application logic changes.

Overview
Re-enables Bun’s 7-dayminimumReleaseAge supply-chain gate in bunfig.toml (was temporarily 0 for the TS7 upgrade in #5521).

Adds minimumReleaseAgeExcludes so bun install --frozen-lockfile still works for vetted or structurally “too new” packages: permanent exclude for @typescript/native-preview (nightly-only), and temporary excludes for typescript and @typescript/typescript6 until those lockfile versions age past the gate (mid-July 2026), with comments documenting when to remove the latter two.

Reviewed by Cursor Bugbot for commit 643e651. Configure here.

@greptile-apps

greptile-appsBot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR restores Bun's package age gate with targeted TypeScript exclusions.

  • Restores minimumReleaseAge to 7 days in bunfig.toml.
  • Excludes the currently blocked TypeScript packages from the age gate.
  • Documents when the temporary TypeScript exclusions can be removed.

Confidence Score: 5/5

This looks safe to merge.

  • No blocking issues found in the changed code.

Important Files Changed

FilenameOverview
bunfig.tomlRestores the 7-day install age gate and adds scoped exclusions for the TypeScript packages that are still inside the gate window.

Reviews (2): Last reviewed commit: "chore(bunfig): restore minimumReleaseAge..." | Re-trigger Greptile

Comment threadbunfig.toml
@waleedlatif1waleedlatif1 changed the title chore(bunfig): restore minimumReleaseAge to 604800chore(bunfig): restore minimumReleaseAge supply-chain gate with scoped excludesJul 12, 2026
@waleedlatif1

Copy link
Copy Markdown
CollaboratorAuthor

@greptile

@waleedlatif1

Copy link
Copy Markdown
CollaboratorAuthor

@cursor review

@cursorcursorBot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 643e651. Configure here.

@waleedlatif1
waleedlatif1 merged commit 73f33db into stagingJul 12, 2026
19 checks passed
@waleedlatif1
waleedlatif1 deleted the bunfig-restore-gate branch July 12, 2026 19:57
Sign up for freeto 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

@waleedlatif1