Upstream 0.5.1 LandPPT 0.5.1 fixes backend combined run failures and improves resource release during image service initialization and application shutdown. ## Fixes - Image providers use a monotonic clock for timing, fixing initialization failures that occurred after synchronous initialization or event loop shutdown. - In-memory SQLite uses compatible connection pool parameters; file-based SQLite and PostgreSQL retain the existing connection pool configuration. - Unify FastAPI lifecycle to clean up resources on startup failure, cancellation, or normal shutdown, and ensure the database connection pool is released even if cache cleanup fails. - Eliminate module and optional dependency contamination across tests, remove hard-coded paths and missing local fixtures; update assertions for old endpoints and add checks for read/write permissions in the admin environment configuration. ## Verification - Full backend combined run: **1,679 passed, 0 failed**, plus 8 sub-tests passed and 16 optional checks skipped. - PostgreSQL-specific suite: **51 passed**; Helm/deployment checks: **32 passed**. The PostgreSQL and Helm checks among the above skips have been independently re-verified; only 3 external API tests requiring real keys were not executed. - [Full frontend regression run this time](https://github.com/sligter/LandPPT/actions/runs/40197343851): **1,671 passed, zero failures, zero errors, zero skips**; 53 backend and deployment-specific pre-release checks passed. - [Dual-architecture version image pipeline](https://github.com/sligter/LandPPT/actions/runs/40197343933) succeeded; versions and commits for each architecture of both images have been verified, and `latest` matches `0.5.1`. - The release package includes the compiled frontend; the wheel, source package, and `SHA256SUMS` have been uploaded and downloaded for verification; local environment files, databases, and test artifacts are excluded. ## Upgrade - Application image: `ghcr.io/sligter/landppt:0.5.1`. - PPTX renderer image: `ghcr.io/sligter/landppt-pptx-renderer:0.5.1`. - Both images support `linux/amd64` and `linux/arm64`. Helm Chart version is **0.1.5**. - This patch does not add new database migrations; the original v0.5.0 release packages remain unchanged. [Full changes](https://github.com/sligter/LandPPT/compare/v0.5.0...v0.5.1)