Skip to content

Update dependency @types/bun to v1.3.6#146

Closed
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/bun-1.x
Closed

Update dependency @types/bun to v1.3.6#146
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/bun-1.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Jan 16, 2026

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@types/bun (source) 1.3.51.3.6 age adoption passing confidence

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented Jan 16, 2026

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: bun.lock
Command failed: bun install --ignore-scripts
Resolving dependencies
Resolved, downloaded and extracted [2]
error: No version matching "@types/bun" found for specifier "1.3.6" (blocked by minimum-release-age: 604800 seconds)
error: @types/bun@1.3.6 failed to resolve

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Jan 16, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
just-be-dev 54c9a65 Jan 17 2026, 01:49 AM

@just-be-dev
Copy link
Copy Markdown
Owner

@claude It looks like pnpm and renovate are disagreeing on the minimum release age. Could you investigate why renovate is saying it's met the release age when pnpm is not?

@claude
Copy link
Copy Markdown

claude Bot commented Jan 17, 2026

Claude finished @just-be-dev's task in 1m 38s —— View job


Investigation Results

I've identified the root cause of the discrepancy between Renovate and Bun's package manager.

Tasks:

  • Read package.json and understand the dependency
  • Check for Bun configuration files that might set minimum-release-age
  • Check Renovate configuration
  • Analyze the discrepancy and provide recommendations

Root Cause

Both Renovate and Bun are configured with the same 7-day minimum release age requirement, but they're checking it at different times:

Configuration (both tools):

  • renovate.json5:7: "minimumReleaseAge": "7 days"
  • bunfig.toml:3: minimumReleaseAge = 604800 (604800 seconds = 7 days)

The Timing Issue:

  1. Renovate's check (when creating the PR): Renovate evaluated the minimum release age when it created the PR and determined that @types/bun 1.3.6 met the 7-day requirement. This check likely passed around 2026-01-16 21:07 UTC.

  2. Bun's check (when installing): When the CI pipeline runs bun install, Bun independently verifies the minimum release age. The error message indicates that at the time of installation (also around 2026-01-16 21:07 UTC), the package had not yet been published for 7 days.

The Discrepancy Explained

This appears to be a timing precision issue or clock synchronization difference:

  • Renovate uses its own timing mechanisms (possibly checking against its database or cache)
  • Bun checks directly against the npm registry metadata
  • The two systems may be using slightly different publication timestamps or have different interpretations of when the 7-day period expires

It's also possible that:

  • Renovate checked earlier in the day when the package had just crossed the 7-day threshold
  • By the time the CI ran, there was a clock drift or timezone difference
  • The npm registry metadata that Bun reads shows a slightly different publication time than what Renovate uses

Recommendations

Option 1: Wait and retry (Simplest)
Wait a few more hours/days and then check the "rebase/retry" checkbox in the PR description. By then, the package will definitely have met the 7-day requirement for both tools.

Option 2: Adjust minimum release age (If this happens frequently)
If this timing issue is problematic, you could adjust one or both configurations to account for timing discrepancies:

  • Set Renovate to "minimumReleaseAge": "7 days 12 hours" (giving it extra buffer)
  • Or reduce Bun's requirement slightly: minimumReleaseAge = 518400 (6 days)

Option 3: Disable one requirement (Not recommended)
You could remove the minimum release age from either Renovate or Bun, though this reduces the security benefit of the aging policy.

Why This Matters

The minimum release age policy is a security best practice that helps protect against:

  • Compromised packages being immediately installed
  • Typosquatting attacks
  • Malicious package updates

Having both tools enforce it provides defense in depth, but they need to be synchronized to avoid these timing edge cases.

--- |

@just-be-dev
Copy link
Copy Markdown
Owner

@claude give renovate an extra buffer

@claude
Copy link
Copy Markdown

claude Bot commented Jan 17, 2026

Claude finished @just-be-dev's task in 53s —— View job


Configuration Updated Successfully

Tasks:

  • Read current Renovate configuration
  • Update minimumReleaseAge with 12-hour buffer
  • Commit and push changes

Summary

I've updated the Renovate configuration to add a 12-hour buffer to the minimum release age requirement. This change prevents timing synchronization issues between Renovate and Bun's package manager.

Change Made:

  • Updated renovate.json5:7: "minimumReleaseAge": "7 days""minimumReleaseAge": "7 days 12 hours"

Why This Helps:
The extra buffer ensures that when Renovate checks if a package meets the minimum release age and creates a PR, the package will definitely still meet the requirement when Bun's package manager performs its independent check during bun install. This prevents the timing edge case where both tools use slightly different timestamps or have clock synchronization differences.

Next Steps:
The configuration change is now live in this branch. Renovate will use the new setting for all future dependency updates. For this current PR (updating @types/bun to 1.3.6), you can either:

  1. Wait a bit longer and check the "rebase/retry" checkbox to let Renovate retry with the package being even older
  2. Close this PR and let Renovate create a new one when the package is sufficiently aged

| Branch

@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented Jan 17, 2026

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@just-be-dev
Copy link
Copy Markdown
Owner

@claude will you resolve the merge conflict?

@claude
Copy link
Copy Markdown

claude Bot commented Jan 17, 2026

Claude finished @just-be-dev's task in 1m 26s —— View job


Merge Conflict Resolved

Tasks:

  • Check git status and identify conflicted files
  • Resolve merge conflicts
  • Stage and commit the resolution
  • Push changes to remote branch

Summary

I've successfully resolved the merge conflict in renovate.json5. The conflict occurred because:

  • This branch had updated minimumReleaseAge to "7 days 12 hours" (to add a 12-hour buffer)
  • Main branch had added new packageRules for automerging @types/* packages

The resolution combines both changes:

  • ✅ Keeps the 12-hour buffer for minimumReleaseAge
  • ✅ Adds the automerge rules for @types/* packages

The changes have been committed and pushed to the renovate/bun-1.x branch.


| Branch

@just-be-dev just-be-dev force-pushed the renovate/bun-1.x branch 4 times, most recently from 8fae24e to 55342bb Compare January 17, 2026 01:39
@renovate renovate Bot force-pushed the renovate/bun-1.x branch from 55342bb to e326a99 Compare January 17, 2026 01:44
@renovate renovate Bot force-pushed the renovate/bun-1.x branch from e326a99 to 54c9a65 Compare January 17, 2026 01:49
@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented Jan 17, 2026

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (1.3.6). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate Bot deleted the renovate/bun-1.x branch January 17, 2026 01:50
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