1749e73e50
gates / gates (push) Successful in 27s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
10 lines
995 B
Plaintext
10 lines
995 B
Plaintext
# RP22 — Part 0 / C: never a block on an app this box did not gate
|
|
# mutation in internal/stacks/signup_block.go:
|
|
# - '\t\tif !st.Deployed || g == nil || g.State != SetupGateOpen || strings.TrimSpace(st.Meta.SignupBlock) == "" || g.signupWindowOpen(now) {\n\t\t\tcontinue\n\t\t}\n\t\twants[n] = want{hosts: append([]string(nil), g.Hosts...), fragment: st.Meta.SignupBlock}'
|
|
# + '\t\tif !st.Deployed || strings.TrimSpace(st.Meta.SignupBlock) == "" || g.signupWindowOpen(now) { // RED-PROOF RP22\n\t\t\tcontinue\n\t\t}\n\t\thosts := []string{"gapp.example.hu"}\n\t\tif g != nil {\n\t\t\thosts = g.Hosts\n\t\t}\n\t\twants[n] = want{hosts: hosts, fragment: st.Meta.SignupBlock}'
|
|
# go test -run ^TestSignupBlock_NeverOnAnAppThisBoxDidNotGate$ ./internal/stacks
|
|
# verdict: RED (assertion)
|
|
=== RUN TestSignupBlock_NeverOnAnAppThisBoxDidNotGate
|
|
signup_block_test.go:107: a sign-up block appeared on an app this box never gated
|
|
--- FAIL: TestSignupBlock_NeverOnAnAppThisBoxDidNotGate (0.00s)
|