Files
felhom.eu/documentation/audits/gate-rollout-2026-09-29/redproofs/RP23.txt
T

10 lines
800 B
Plaintext

# RP23 — Part 0: a catalog setup_gate never closes an installed app
# mutation in internal/stacks/setup_gate.go:
# - '\t\tif !st.Deployed || st.AppConfig == nil || !st.AppConfig.SetupGate.Closed() {\n\t\t\tcontinue\n\t\t}\n\t\trec := *st.AppConfig.SetupGate'
# + '\t\tif !st.Deployed || st.AppConfig == nil || !(st.AppConfig.SetupGate.Closed() || st.Meta.SetupGate) { // RED-PROOF RP23\n\t\t\tcontinue\n\t\t}\n\t\trec := SetupGateRecord{Hosts: []string{"gapp.example.hu"}}'
# go test -run ^TestSignupBlock_NeverOnAnAppThisBoxDidNotGate$ ./internal/stacks
# verdict: RED (assertion)
=== RUN TestSignupBlock_NeverOnAnAppThisBoxDidNotGate
signup_block_test.go:110: a catalog setup_gate closed an app that was already installed
--- FAIL: TestSignupBlock_NeverOnAnAppThisBoxDidNotGate (0.00s)