Escrow re-auth answers in the box language; a stacks test no longer writes into its source folder
gates / gates (push) Successful in 47s

Both fixed without a row (size rule): login.msg.wrong_password for the escrow re-auth
(TestEscrowReauth_WrongPasswordInTheBoxLanguage, red-proved); cmdManager gets its own DataDir (the update
journal went into internal/stacks/, and the R-578 source walk tripped on it once).

Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
2026-10-17 10:18:53 +02:00
parent 88aa65d595
commit 68af0e97f2
5 changed files with 29 additions and 3 deletions
@@ -76,6 +76,9 @@ func wireCmdManager(m *Manager, f *fakeSwitch) *bytes.Buffer {
func cmdManager(t *testing.T, yml string) (*Manager, *fakeSwitch, *bytes.Buffer, string) {
t.Helper()
m := gateManager(t, yml)
// The update journal lives in DataDir; empty, it was written into this package's SOURCE folder
// (update-journal.json + .tmp), where the R-578 source walk running in parallel could trip on it.
m.cfg.Paths.DataDir = t.TempDir()
f := &fakeSwitch{}
buf := wireCmdManager(m, f)
dir := closedGate(t, m)