Fixed missing image dimensions in meta tags with non-local storage#28773
Fixed missing image dimensions in meta tags with non-local storage#28773allouis wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
Walkthrough
🚥 Pre-merge checks | ✅ 3 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
| Command | Status | Duration | Result |
|---|---|---|---|
nx run ghost:test:ci:integration:no-coverage |
✅ Succeeded | 2m 27s | View ↗ |
nx run ghost:test:ci:integration |
✅ Succeeded | 2m 6s | View ↗ |
nx run ghost:test:ci:e2e |
✅ Succeeded | 7m 38s | View ↗ |
nx run ghost:test:ci:e2e:no-coverage |
✅ Succeeded | 7m 21s | View ↗ |
nx run ghost:test:ci:legacy |
✅ Succeeded | 2m 49s | View ↗ |
nx build @tryghost/sodo-search |
✅ Succeeded | <1s | View ↗ |
nx build @tryghost/activitypub |
✅ Succeeded | 2s | View ↗ |
nx build @tryghost/comments-ui |
✅ Succeeded | <1s | View ↗ |
Additional runs (10) |
✅ Succeeded | ... | View ↗ |
💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗
☁️ Nx Cloud last updated this comment at 2026-06-22 07:00:17 UTC
a4adeda to
464881e
Compare
0fbef80 to
bf8d576
Compare
fixes https://linear.app/tryghost/issue/INC-300 - read() was left unimplemented when the adapter was added (9f0c353), as files and media flows never needed it - image dimension lookups (ghost_head social meta) do call storage.read() for local-style /content/images/ URLs; with S3 configured as the images adapter this threw a critical IncorrectUsageError, flooding logs on every page render and dropping image dimensions - implemented read() as a native S3 GetObject so the existing image-size flow works unchanged; results are already cached by CachedImageSizeFromUrl, so it's one fetch per image, not per render - resizing (handle-image-sizes) still doesn't need read under S3: those requests terminate at the CDN and never reach Ghost Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
bf8d576 to
b842e8c
Compare

ref https://linear.app/tryghost/issue/HKG-1865