Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

breaking(baremetal): Throw an error if there is not enough available space #11638

Merged
merged 2 commits into from
Dec 12, 2024

Conversation

Tobbe
Copy link
Member

@Tobbe Tobbe commented Sep 25, 2024

Takes what used to only be a warning (introduced in #11469) and makes it an error.

The idea/plan here is that existing projects have enough time to first configure their baremetal deployments with a free disk space limit they're comfortable with when they upgrade to the v8 minor that includes #11469. And then when this PR is included in the next major release of RW they don't need to make any further changes, only thing different will be that they get an error when their servers eventually (if ever) run low on disk space. Just like it will work for any new projects that deploy to baremetal.

So, kind of like first getting a deprecation warning, and then finally having to make the switch. Only here we go from first only getting a free disk space warning, and then later having the deploy fail (with a clear and helpful error message)

@Tobbe Tobbe added the release:breaking This PR is a breaking change label Sep 25, 2024
@Tobbe Tobbe added this to the next-release-major milestone Sep 25, 2024
@Tobbe Tobbe requested a review from cannikin September 25, 2024 14:26
@Tobbe Tobbe merged commit a507e36 into redwoodjs:main Dec 12, 2024
50 checks passed
@Tobbe Tobbe deleted the tobbe-baremetal-df-throw branch December 12, 2024 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:breaking This PR is a breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants