fix: drop OBSERVABILITY_DB_PATH from .env.example to unbreak host installs - #12
Merged
Merged
Conversation
…talls
.env.example shipped OBSERVABILITY_DB_PATH=/app/data/observability.sqlite3,
which is the path used inside the Docker container (where ./data is
bind-mounted to /app/data). On macOS/Linux non-Docker hosts, /app is
read-only or absent. A fresh `cp .env.example .env` install therefore
boots cleanly until startup_event runs, at which point
observability_recorder.start() raises:
OSError: [Errno 30] Read-only file system: '/app'
and the proxy never binds to :8083.
Removing the line lets the resolution fall through to the existing
defaults that already handle both cases:
- Non-Docker: src/core/config.py defaults to "observability.sqlite3"
in CWD (host-writable, no /app involvement).
- Docker: docker-compose.yml line 10 self-overrides to
/app/data/observability.sqlite3 via
${OBSERVABILITY_DB_PATH:-/app/data/...} alongside the
./data:/app/data bind mount. The compose `environment:`
block takes precedence over `env_file:`, so this is
unaffected by anything in .env.
A multi-line comment in place of the removed value documents the
decision so a future contributor doesn't reintroduce it.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
KiranChilledOut
added a commit
that referenced
this pull request
Apr 30, 2026
fix: differentiate model-not-found from auth/rate errors in /test-connection
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
.env.example shipped OBSERVABILITY_DB_PATH=/app/data/observability.sqlite3,
which is the path used inside the Docker container (where ./data is
bind-mounted to /app/data). On macOS/Linux non-Docker hosts, /app is
read-only or absent. A fresh
cp .env.example .envinstall thereforeboots cleanly until startup_event runs, at which point
observability_recorder.start() raises:
OSError: [Errno 30] Read-only file system: '/app'
and the proxy never binds to :8083.
Removing the line lets the resolution fall through to the existing
defaults that already handle both cases:
in CWD (host-writable, no /app involvement).
/app/data/observability.sqlite3 via
${OBSERVABILITY_DB_PATH:-/app/data/...} alongside the
./data:/app/data bind mount. The compose
environment:block takes precedence over
env_file:, so this isunaffected by anything in .env.
A multi-line comment in place of the removed value documents the
decision so a future contributor doesn't reintroduce it.