Commit 227b87a
committed
fix: set M87_BOOTSTRAP_KEY in CI .env to match API key
docker-compose.yml sets M87_BOOTSTRAP_KEY=${M87_BOOTSTRAP_KEY:-m87-dev-key-change-me}
which always populates the env var in the container (even with the default).
The Python fallback `os.getenv("M87_BOOTSTRAP_KEY", os.getenv("M87_API_KEY", ...))`
never reaches M87_API_KEY because docker-compose already set BOOTSTRAP_KEY.
Result: Redis gets seeded with "m87-dev-key-change-me" while proof-test.sh
sends "m87-ci-test-key" via X-M87-Key header → "Invalid API key".
Fix: explicitly set M87_BOOTSTRAP_KEY=m87-ci-test-key in CI .env so the
seeded key matches what proof-test.sh sends.
https://claude.ai/code/session_01DAuwxwQQoyHFHbmumedqob1 parent c21da40 commit 227b87a
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| |||
0 commit comments