Skip to content

Conversation

@blackgirlbytes
Copy link
Contributor

@blackgirlbytes blackgirlbytes commented Jan 5, 2026

Summary

The agentic-guardrails-and-controls blog post had large images (~10.6MB total) that caused the GitHub Pages deployment to fail with:

System.IO.IOException: No space left on device

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

Changes

  • Convert large PNGs to compressed JPEGs (80% quality)
  • Resize images wider than 1200px to 1200px width
  • Update markdown to reference new .jpg files

Image Size Reductions

Image Before After Reduction
agentic_guardrails_header 2.6 MB 380 KB 85%
image2 4.9 MB 284 KB 94%
image4 2.1 MB 224 KB 89%
image5 872 KB 232 KB 73%
Total ~10.6 MB ~1.3 MB 88%

Testing

  • Verified images render correctly on local docusaurus dev server
  • Build succeeds locally with npm run build

AI did assist me on this PR

The agentic-guardrails-and-controls blog post had large images (~10.6MB total)
that caused the GitHub Pages deployment to fail with 'No space left on device'.

Changes:
- Convert large PNGs to compressed JPEGs (80% quality)
- Resize images wider than 1200px
- Update markdown to reference new .jpg files

Image size reductions:
- agentic_guardrails_header: 2.6MB → 380KB (85% reduction)
- image2: 4.9MB → 284KB (94% reduction)
- image4: 2.1MB → 224KB (89% reduction)
- image5: 872KB → 232KB (73% reduction)

Total: ~10.6MB → ~1.3MB
@blackgirlbytes blackgirlbytes requested a review from a team as a code owner January 5, 2026 19:35
Copilot AI review requested due to automatic review settings January 5, 2026 19:35
Copy link
Contributor

@shellz-n-stuff shellz-n-stuff left a comment

Choose a reason for hiding this comment

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

LGTM

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 addresses a GitHub Pages deployment failure caused by large image files (~10.6MB total) by converting the largest PNGs to compressed JPEGs and updating all markdown references accordingly.

Key changes:

  • Converted 4 large PNG images to compressed JPEG format (80% quality), achieving 88% size reduction
  • Updated markdown image references to use .jpg extensions for compressed files
  • Retained smaller images (image1.png, image3.png) as PNG since they didn't contribute to the deployment issue

Reviewed changes

Copilot reviewed 1 out of 10 changed files in this pull request and generated no comments.

Show a summary per file
File Description
index.md Updated 4 image references from .png to .jpg extensions for compressed images (agentic_guardrails_header, image2, image4, image5)
agentic_guardrails_header.png Removed - replaced with compressed JPG version
image2.png Removed - replaced with compressed JPG version
image4.png Removed - replaced with compressed JPG version
image5.png Removed - replaced with compressed JPG version
image3.png Added in diff but unchanged - small file kept as PNG

The changes are clean and consistent. All markdown references have been properly updated to match the new file extensions, and the compression strategy focuses only on the problematic large images while preserving smaller files in their original format.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 5, 2026

PR Preview Action v1.6.3
Preview removed because the pull request was closed.
2026-01-05 19:47 UTC

@blackgirlbytes blackgirlbytes merged commit 71ae0f8 into main Jan 5, 2026
27 checks passed
@blackgirlbytes blackgirlbytes deleted the fix/compress-blog-images-guardrails branch January 5, 2026 19:47
zanesq added a commit that referenced this pull request Jan 5, 2026
* 'main' of github.com:block/goose:
  docs(blog): compress images to fix GitHub Pages deployment (#6339)
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.

4 participants