Commit 110a62e
Add CI check for oversized blog cover images (#2786)
* Optimize cover image for multi-agent workflows blog post
Resize from 6016x4000 (33MB) to 1200x800 (1.7MB) to fix deployment issue.
Original 33MB file was 10x larger than other cover images and likely
causing webpack compilation or deployment problems.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Add CI check for oversized blog cover images
Add image size validation to blog post validation script:
- Fail CI if cover images exceed 5MB
- Provide optimization command in error message
- Optimize existing oversized images:
- american-worker-rebate-act.jpg: 11.3MB → 501KB
- uk_budget_box_hunt.jpg: 10.2MB → 597KB
- vance-ctc.jpg: 8.5MB → 437KB
- Shorten multi-agent post description to 140 chars (was 170)
Prevents deployment issues from oversized images like the 33MB file
that broke the multi-agent workflows blog post.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Format validation script with prettier
* Use full path in image optimization command
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 0f2d809 commit 110a62e
File tree
5 files changed
+11
-1
lines changed- scripts
- src
- images/posts
- posts
5 files changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
84 | 94 | | |
85 | 95 | | |
86 | 96 | | |
| |||
Loading
Loading
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1498 | 1498 | | |
1499 | 1499 | | |
1500 | 1500 | | |
1501 | | - | |
| 1501 | + | |
1502 | 1502 | | |
1503 | 1503 | | |
1504 | 1504 | | |
| |||
0 commit comments