Files
felhom.eu/documentation/audits/design-build-2026-10-06/E/red-failed-open.txt
T

20 lines
1.4 KiB
Plaintext

# R-717 red-proof: TestAfterSetupR717_AFailedOpenStaysClosedAndSaysSo
# mutation in controller/internal/stacks/after_setup.go:
# --- removed
# if cerr := m.applyNativeLock(name, true, "an opening that failed"); cerr != nil {
# +++ put instead
# if cerr := error(nil); cerr != nil { // RED-PROOF: no re-close after a failed open
$ cd controller && go test ./internal/stacks/ -run ^TestAfterSetupR717_AFailedOpenStaysClosedAndSaysSo$ -count=1 -v
=== RUN TestAfterSetupR717_AFailedOpenStaysClosedAndSaysSo
after_setup_r717_test.go:170: a failed open left the switch OPEN
[INFO] [stacks] gapp: setup gate CLOSED before the first start — only the household reaches [gapp.example.hu] until the first setup is done
[INFO] [stacks] gapp: setup gate OPENED by household — the app is reached as without a gate
[INFO] [stacks] gapp: the app's own sign-up switch CLOSED (the gate opened (household); env [], command true)
[ERROR] [stacks] gapp: the app's own sign-up switch could NOT be opened (the household's window): after_setup open_command did not report "SIGNUP-OPENED" (err exit 1) — closing it again; a new family member cannot sign up in the app itself
[INFO] [stacks] gapp: the household opened sign-up until 2026-10-06T13:27:46Z — the loop closes it again
--- FAIL: TestAfterSetupR717_AFailedOpenStaysClosedAndSaysSo (0.00s)
FAIL
FAIL gitea.dooplex.hu/admin/felhom-controller/internal/stacks 0.010s
FAIL
# exit code: 1