Skip to content

fix: recover from damaged preview thumbnails - #2442

Merged
markdumay merged 1 commit into
mainfrom
fix/damaged-preview-thumbnails
Dec 1, 2026
Merged

markdumay merged 1 commit into
mainfrom
fix/damaged-preview-thumbnails

Conversation

@markdumay

Copy link
Copy Markdown
Collaborator

Summary

  • Handle processing failures for resolved local front-matter thumbnails in SEO.
  • In permissive builds, warn and use the configured compatible raster or omit the affected image metadata.
  • In strict builds, fail with a diagnostic that names the page and thumbnail.
  • Keep URL publication on its existing path so the percent and EXIF cases retain their current behavior.

Verification

  • All 59 policy checks pass on Hugo 0.170.1 and extended 0.158.0, including one cold and three warm builds for every damaged fixture.
  • The full suite, strict-image regressions and example warning gate pass.
  • The production mod-docs example serves the configured PNG in permissive mode and fails with the diagnostic in strict mode on both versions.
  • Independent item and integration reviews rechecked the behavior and deliberately reintroduced failures.

Refs #2342

@netlify

netlify Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for gethinode-demo ready!

Name Link
🔨 Latest commit cca8fd8
🔍 Latest deploy log https://app.netlify.com/projects/gethinode-demo/deploys/6b0ea78abb82d19b6abe4dda
😎 Deploy Preview https://deploy-preview-2442--gethinode-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@markdumay
markdumay merged commit 5ad31ec into main Dec 1, 2026
17 checks passed
@markdumay

Copy link
Copy Markdown
Collaborator Author

🎉 This PR is included in version 3.54.20 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant