Skip to content

Build: fix imagemin EPIPE errors and ensure successful asset generation and changed twitter logo#994

Open
Injora wants to merge 11 commits intoceph:mainfrom
Injora:feature
Open

Build: fix imagemin EPIPE errors and ensure successful asset generation and changed twitter logo#994
Injora wants to merge 11 commits intoceph:mainfrom
Injora:feature

Conversation

@Injora
Copy link

@Injora Injora commented Jan 11, 2026

@baum

Summary

This PR fixes intermittent image build failures caused by imagemin-mozjpeg (EPIPE errors) and stabilizes the asset pipeline.

The build now completes successfully on Node.js 18 and macOS, with all images optimized and written to dist/.
I have also changed the twitter icon to the new X icon. I will attach images of the new look, before and after.
Screenshot 2026-01-11 at 14 16 07
Screenshot 2026-01-11 at 14 16 20


What changed

  • Resolved image optimization failures during npm run build
  • Ensured image minification runs to completion (~1280 images processed)
  • Improved reliability of the assets build step
  • No changes to site output or runtime behavior

Why this is needed

The previous image optimization step could fail with write EPIPE errors, causing the entire build to exit early. This PR ensures consistent and reproducible builds, especially on modern Node.js versions.


How to test

npm install
npm run build
npx serve dist

@ceph-jenkins
Copy link

Can one of the admins verify this patch?

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.

2 participants