Commit 07464ab
committed
test(cli): the secret-orphans driver contract declares the key its production-posture boot needs
The test sets NODE_ENV=production and boots a real kernel; LocalCryptoProvider
then needs a stable key, which this test never supplied. It was green only when
an earlier dev-mode boot in the same job had persisted one to the runner's
home directory (the ordering coupling serve-process.ts documents) — and with the
e2e tier no longer in the queue run, that sibling is gone. Set OS_SECRET_KEY to
a fresh random value in beforeAll, restored in afterAll beside NODE_ENV; nothing
is written to disk and nothing is depended on from a sibling. Ruled by the seat
for exactly this one file.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019RfFHiRCSs3JXLK4cwcfox1 parent 2fe914a commit 07464ab
1 file changed
Lines changed: 7 additions & 1 deletion
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
117 | 118 | | |
118 | 119 | | |
119 | 120 | | |
| 121 | + | |
120 | 122 | | |
121 | 123 | | |
122 | 124 | | |
123 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
124 | 130 | | |
125 | 131 | | |
126 | 132 | | |
| |||
154 | 160 | | |
155 | 161 | | |
156 | 162 | | |
157 | | - | |
| 163 | + | |
158 | 164 | | |
159 | 165 | | |
160 | 166 | | |
| |||
0 commit comments