Skip to content

Conversation

@castastrophe
Copy link
Contributor

@castastrophe castastrophe commented Sep 17, 2025

Description

Added minimumReleaseAge configuration to Renovate settings to prevent automatic updates to npm packages that are less than 1 month old. This configuration is applied specifically to npm datasource packages through the packageRules array in .github/renovate.json.

Motivation and context

This change is required to maintain stability in our dependency ecosystem by preventing the automatic adoption of newly released packages that may contain bugs or breaking changes. By waiting 1 month before allowing updates to new packages, we give the community and maintainers time to identify and report issues, reducing the risk of introducing unstable dependencies into the project.

  • Configuration added to prevent adoption of potentially unstable newly released packages
  • Reduces risk of breaking changes from packages with insufficient testing time

Related issue(s)

  • SWC-1244

Author's checklist

Reviewer's checklist

  • Includes a Github Issue with appropriate flag or Jira ticket number without a link

Manual review test cases

  • [TBD] Verify Renovate continues to propose updates for packages older than 1 month

    1. Go to Renovate dashboard
    2. Check that existing packages older than 1 month still receive updates
    3. Expect normal update behavior for mature packages
  • [TBD] Confirm newly released packages (< 1 month old) are not automatically updated

    1. Check Renovate logs for recent package releases
    2. Verify that packages released within the last month are not updated
    3. Expect these packages to be skipped until they reach 1 month age

@castastrophe castastrophe self-assigned this Sep 17, 2025
@castastrophe castastrophe added dependencies Pull requests that update a dependency file size-1 XS ~1-6hrs; nearly trivial, a few hours, could do more than one in a single day. skip_vrt Add to a PR to skip running VRT (but still pass the action) ready-for-review labels Sep 17, 2025
@changeset-bot
Copy link

changeset-bot bot commented Sep 17, 2025

⚠️ No Changeset found

Latest commit: 8e830c0

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions
Copy link
Contributor

📚 Branch preview

PR #4232 has been deployed to Azure Blob Storage: https://spectrumcss.z13.web.core.windows.net/pr-4232/index.html.

@github-actions
Copy link
Contributor

File metrics

Summary

Total size: 2.25 MB*

🎉 No changes detected in any packages

* Size is the sum of all main files for packages in the library.
* An ASCII character in UTF-8 is 8 bits or 1 byte.

@castastrophe castastrophe merged commit 9bf6b59 into main Sep 18, 2025
16 of 24 checks passed
@castastrophe castastrophe deleted the castastrophe/chore-minreleaseage-renovate-swc-1244 branch September 18, 2025 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ready-for-review size-1 XS ~1-6hrs; nearly trivial, a few hours, could do more than one in a single day. skip_vrt Add to a PR to skip running VRT (but still pass the action)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants