github doobidoo/mcp-memory-service v10.40.2
v10.40.2 — fix(docker): correct invalid Python one-liner in ONNX pre-download

2 hours ago

Special Thanks

A sincere thank you to @netizen1119 for the bug report, root-cause analysis, and verified fix. This release would not have happened without that contribution.


What's Changed

Fixed

  • [#756] Docker: ONNX model pre-download now actually executes at build time: The python -c "..." one-liner in tools/docker/Dockerfile.slim used try/except compound statements with backslash continuations — a construct Python rejects with SyntaxError. The shell || echo fallback was silently swallowing the error, so the model cache was never populated. Replaced with a simple expression chain (import; call; print) and let the shell || fallback handle genuine download failures as originally intended. (PR #757)

Impact:

  • Dockerfile.slim: cold-start time drops from ~30s to ~3s; prevents Fly.io 40s health-check grace-period timeouts
  • Dockerfile (non-slim): onnxruntime availability check now runs correctly (was previously silently skipped)

Deployment Notes

  • PyPI package published automatically via "Publish and Test (Tags)" GitHub Actions workflow
  • No API or behavior changes — pure Docker build-time fix
  • 1,675 Python tests passing

Full Changelog: https://github.com/doobidoo/mcp-memory-service/blob/main/CHANGELOG.md#10402---2026-04-23

Don't miss a new mcp-memory-service release

NewReleases is sending notifications on new releases.