v0.282.0: after_setup (the app's own sign-up switch), close sign-up now (decision 49), probes read lists + done_status (R-715)
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
This commit is contained in:
2026-09-29 16:19:12 +02:00
parent 6fc3059167
commit 4110da50e9
25 changed files with 1864 additions and 36 deletions
@@ -162,14 +162,12 @@ func TestSetupGate_TheProbeOpensItOnlyWhenTheAppSaysSetUp(t *testing.T) {
dir := closedGate(t, m)
answer := `{"data":{"initialized":false}}`
var probeErr error
old := setupGateProbeGet
setupGateProbeGet = func(url string) ([]byte, error) {
t.Cleanup(SetSetupGateProbeGetForTest(func(url string) ([]byte, error) {
if url != "http://gapp:80/api/status" {
t.Errorf("probed %q", url)
}
return []byte(answer), probeErr
}
t.Cleanup(func() { setupGateProbeGet = old })
}))
m.SetupGateTick()
if c := LoadAppConfig(dir); !c.SetupGate.Closed() {