fix(ci): temporarily skip gh-pages checkout to fix disk space issue#6643
Closed
blackgirlbytes wants to merge 1 commit intomainfrom
Closed
fix(ci): temporarily skip gh-pages checkout to fix disk space issue#6643blackgirlbytes wants to merge 1 commit intomainfrom
blackgirlbytes wants to merge 1 commit intomainfrom
Conversation
The gh-pages branch has grown to ~7.4GB (large images duplicated across PR previews), causing 'No space left on device' errors during deploy. This temporarily disables the pr-preview preservation steps to unblock documentation deployments. PR previews will be lost but can be regenerated. TODO: Clean up gh-pages branch and re-enable these steps.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR temporarily disables the gh-pages branch checkout and PR preview preservation steps in the documentation deployment workflow to resolve a disk space issue. The gh-pages branch has grown to ~7.4GB due to accumulated PR previews with large images, causing deployment failures.
Changes:
- Comments out the "Checkout gh-pages branch" step to avoid downloading the large branch
- Comments out the "Preserve pr-preview directory" step that depends on the checkout
- Adds TODO comments indicating this is temporary pending cleanup
| ref: gh-pages | ||
| path: gh-pages-current | ||
| # TODO: Re-enable after cleaning up gh-pages branch (currently ~7.4GB causing disk space issues) | ||
| # See: https://github.com/block/goose/issues/XXXX |
There was a problem hiding this comment.
The TODO references a placeholder issue URL "XXXX" instead of an actual issue number. Either create a tracking issue and reference it here, or remove the "See:" line since the problem is already described in the comment.
Suggested change
| # See: https://github.com/block/goose/issues/XXXX |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Temporarily disables the gh-pages checkout steps to unblock documentation deployments.
Problem
The gh-pages branch has grown to ~7.4GB (large images duplicated across PR previews), causing
No space left on deviceerrors during the deploy step:See failed run: https://github.com/block/goose/actions/runs/21258828347
Fix
Comments out the
Checkout gh-pages branchandPreserve pr-preview directorysteps temporarily.Trade-off: Existing PR previews will be lost on next deploy, but they can be regenerated by re-running PR preview workflows.
Follow-up needed
Related