fix: add debug image saving gated on LOG_LEVEL=debug (refs #113)
All checks were successful
Deploy to Staging / Build Images (pull_request) Successful in 36s
Deploy to Staging / Deploy to Staging (pull_request) Successful in 21s
Deploy to Staging / Verify Staging (pull_request) Successful in 8s
Deploy to Staging / Notify Staging Ready (pull_request) Successful in 7s
Deploy to Staging / Notify Staging Failure (pull_request) Has been skipped

Save original, adaptive, and Otsu preprocessed images to
/tmp/vin-debug/{timestamp}/ when LOG_LEVEL is set to debug.
No images saved at info level. Volume mount added for access.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Eric Gullickson
2026-02-06 20:26:06 -06:00
parent 488a267fc7
commit ff3858f750
2 changed files with 41 additions and 0 deletions

View File

@@ -191,6 +191,8 @@ services:
REDIS_HOST: mvp-redis
REDIS_PORT: 6379
REDIS_DB: 1
volumes:
- vin-debug:/tmp/vin-debug
networks:
- backend
- database
@@ -396,3 +398,5 @@ volumes:
name: mvp_loki_data
mvp_grafana_data:
name: mvp_grafana_data
vin-debug:
name: mvp_vin_debug