docs(blog): compress images to fix GitHub Pages deployment - #6339
Merged
Conversation
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
Contributor
There was a problem hiding this comment.
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
.jpgextensions 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.
Contributor
|
emma-squared
approved these changes
Jan 5, 2026
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)
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
The agentic-guardrails-and-controls blog post had large images (~10.6MB total) that caused the GitHub Pages deployment to fail with:
See failed run: https://github.com/block/goose/actions/runs/20724822334
Changes
Image Size Reductions
Testing
npm run buildAI did assist me on this PR