Skip to content

fix: make database storage part of readiness#41

Merged
Minorli merged 1 commit into
mainfrom
fix/0.1.67-database-readiness
Jul 18, 2026
Merged

fix: make database storage part of readiness#41
Minorli merged 1 commit into
mainfrom
fix/0.1.67-database-readiness

Conversation

@Minorli

@Minorli Minorli commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • make /api/ready validate output storage and the SQLite filesystem with durable temporary write probes
  • verify the PicGen database with a short-timeout integrity/schema check and return HTTP 503 when dependencies are not ready
  • move Docker health checks to /api/ready and release the synchronized 0.1.67 version

Safety

  • keep /api/health as process-only liveness
  • cache probes and isolate readiness concurrency from the shared AnyIO worker pool
  • preserve all existing database contents and migrations; no runtime dependency changes

Verification

  • ./scripts/check.sh: Ruff, Mypy, 457 passed
  • node --check for app.js and both mjs modules
  • uv lock --check
  • uvx pip-audit: no known vulnerabilities
  • independent final review: no blocking HIGH/MEDIUM findings

@Minorli
Minorli merged commit 034f27e into main Jul 18, 2026
1 check passed
@Minorli
Minorli deleted the fix/0.1.67-database-readiness branch July 18, 2026 08:30
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.

1 participant