fix(images): ship Linux codecs and preserve original-image fallback

Vendor the locked sharp Linux runtime and verify it during Docker builds. Add complete image response lengths and persistent frontend fallbacks, with real-codec HTTP and isolated release regression tests. Refresh tested API, admin and customer release artifacts.

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
mahmood
2026-11-26 18:12:21 +03:30
co-authored by Claude Code
parent a085c279f8
commit 3e9f532c6c
346 changed files with 33359 additions and 240 deletions
+3 -1
View File
@@ -5,6 +5,8 @@
const path = require('path');
module.exports = {
// Keep output stable whether invoked from the workspace or API directory.
absWorkingDir: __dirname,
entryPoints: [path.join(__dirname, 'dist/main.js')],
outfile: path.join(__dirname, 'release/app.js'),
bundle: true,
@@ -16,7 +18,7 @@ module.exports = {
external: [
'@prisma/client',
'.prisma/client',
// Native image library, loaded lazily by ImageVariantService; absent = no resizing.
// Native image library; bundle-release.cjs ships its locked Linux runtime in vendor/.
'sharp',
'@nestjs/microservices',
'@nestjs/microservices/*',