Skip to content

Conversation

@blackgirlbytes
Copy link
Contributor

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 device errors during the deploy step:

System.IO.IOException: No space left on device

See failed run: https://github.com/block/goose/actions/runs/21258828347

Fix

Comments out the Checkout gh-pages branch and Preserve pr-preview directory steps 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

  • Clean up gh-pages branch (remove old PR previews, optimize large images)
  • Re-enable the preservation steps

Related

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.
Copilot AI review requested due to automatic review settings January 22, 2026 18:54
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

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
Copy link

Copilot AI Jan 22, 2026

Choose a reason for hiding this comment

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

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

Copilot uses AI. Check for mistakes.
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.

2 participants