Repository navigation
Commit 40790f5
committed
fix(busbar-150): mount at the DEFAULT paths and pre-supply the signing key - it boots
Root cause of three failed boots: launch.env's '-e' args did not reach the
container. busbar was reading the IMAGE'S BUILT-IN /etc/busbar/config.yaml the
whole time, which is why it complained about a provider named 'anthropic' and an
ANTHROPIC_KEY that appear nowhere in this manifest. BUSBAR_CONFIG never took
effect, so pointing the mounts at /work pointed them at nothing busbar read.
Verified locally against the real image, with the exact mount layout the box
uses:
* config and providers mount at /etc/busbar/{config,providers}.yaml, the
defaults, which provably work
* auth.signing_key is a documented secret reference to a mounted file, so
1.5.0 never needs to write to read-only /etc/busbar. The key was generated
by this very image; with chain: [] it signs nothing the benchmark uses, so
it is a throwaway dev artefact rather than a credential
* BUSBAR_ADMIN_TOKEN and BUSBAR_STATE_FILE go in the env FILE, the path that
demonstrably reaches the container (it is how BENCH_MOCK_KEY resolves).
Empty BUSBAR_STATE_FILE stops a per-tick state-snapshot retry against a
read-only path - noise inside a measurement window
Local result: boots, listens on 8000 and 8081, zero state-snapshot failures.
Also read the docs properly this time - /docs/migration-1-5/ and
/docs/deploy/docker/ exist and I had been reverse-engineering from boot errors
instead of reading them.1 parent 28090da commit 40790f5
4 files changed
Lines changed: 16 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | 35 | | |
50 | 36 | | |
51 | 37 | | |
52 | 38 | | |
53 | | - | |
| 39 | + | |
54 | 40 | | |
55 | 41 | | |
56 | 42 | | |
57 | | - | |
| 43 | + | |
58 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
59 | 49 | | |
60 | 50 | | |
61 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
0 commit comments