Repository navigation
fix: install production dependencies and smoke test Docker images - #44
Conversation
- Add production container smoke tests to CI - Update Bun and sharp versions
|
Caution Review failedThe pull request is closed. WalkthroughThe Docker image now uses Bun 1.4.4 and installs production dependencies from the frozen lockfile. A container smoke test checks the service information endpoint and image processing. CI runs the smoke test, and package configurations update Bun and ChangesContainer image build and validation
Priority: Estimated code review effort: 2 (Simple) | ~12 minutes Change: Bug fix Sequence Diagram(s)sequenceDiagram
participant CI as CI runner
participant SmokeScript as container-smoke.sh
participant Docker as Docker container
participant SmokeTest as container-smoke.ts
participant Service as m4k service
CI->>SmokeScript: Run container smoke test
SmokeScript->>Docker: Build and start image with fixtures mounted
SmokeScript->>SmokeTest: Execute test through Bun
SmokeTest->>Service: Poll /info
Service-->>SmokeTest: Return service information
SmokeTest->>Service: POST JPEG conversion request
Service-->>SmokeTest: Return WebP response and progress
Merge Risk:
|
Summary
/infoand JPEG-to-WebP conversion.Testing
/infoand JPEG-to-WebP conversion.Summary by CodeRabbit