You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* perf(docker): optimize API build — strip unused deps, remove duplicate prisma generate
- Strip root package.json of frontend deps before bun install (~650 fewer packages)
- Use --ignore-scripts to skip husky and other lifecycle scripts
- Remove duplicate prisma generate in production stage (builder already generates it)
- Combine sequential RUN commands into fewer layers
- Use COPY --chown instead of recursive chown -R (eliminates 311s step)
- Fix .dockerignore to exclude nested node_modules (**/ instead of */)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* perf(docker): enable ECR layer caching for CodeBuild
Pull previous image before building and use --cache-from so Docker
can reuse unchanged layers. Most builds will only rebuild from the
source COPY step onwards, skipping bun install entirely.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(docker): use denylist for root package.json stripping
Delete only dependencies/devDependencies/scripts instead of allowlisting
fields. Preserves overrides, resolutions, patchedDependencies, and any
other fields that affect dependency resolution.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(security): upgrade jspdf v3→v4, replace xlsx with exceljs
- jspdf 3.x → 4.2.0: fixes 21 vulnerabilities (PDF injection, DoS, XSS).
Zero code changes needed — API is fully compatible.
- xlsx → exceljs: fixes 7 vulnerabilities (ReDoS, prototype pollution).
xlsx is abandoned with no patched version. exceljs was already a
dependency. Migrated 3 files, updated callers to async.
- Added unit tests for PDF generation (training cert, policy renderer)
and Excel read/write (content extractor, export generator, vector store)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Mariano Fuentes <marfuen98@gmail.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments