oficina / home Public

The placeholder binary serves the front page with its sky too (review)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev f3d2a59ef83e708c67f770ac08d4fa9bdaba9f3e parent 268960b
1 file changed, +1 −1
  • internal/home/placeholder.go +1 −1

CI passed — run details

CI log
amadan: .amadan/timeout: this job's budget is 15m0s (this runner allows up to 30m0s)
=== vet ===
CGO_ENABLED=0 go vet ./...
cd handoff && CGO_ENABLED=0 go vet ./...
cd roster && CGO_ENABLED=0 go vet ./...
cd connect && CGO_ENABLED=0 go vet ./...
=== fmt ===
=== build ===
CGO_ENABLED=0 go build ./...
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build ./cmd/home ./cmd/oficina ./internal/operatorlaunch
cd handoff && CGO_ENABLED=0 go build ./...
cd roster && CGO_ENABLED=0 go build ./...
cd connect && CGO_ENABLED=0 go build ./...
=== go-test ===
CGO_ENABLED=0 go test -count=1 ./...
?   	amadan.net/oficina/home/cmd/home	[no test files]
ok  	amadan.net/oficina/home/cmd/home-placeholder	0.654s
?   	amadan.net/oficina/home/cmd/oficina	[no test files]
ok  	amadan.net/oficina/home/internal/guardstest	0.029s
ok  	amadan.net/oficina/home/internal/home	9.981s
ok  	amadan.net/oficina/home/internal/home/directorydata	1.013s
ok  	amadan.net/oficina/home/internal/home/logtest	0.003s
ok  	amadan.net/oficina/home/internal/home/seal	0.003s
ok  	amadan.net/oficina/home/internal/home/sealtest	0.003s
ok  	amadan.net/oficina/home/internal/operator	5.156s
ok  	amadan.net/oficina/home/internal/operatorlaunch	4.112s
ok  	amadan.net/oficina/home/internal/provisioner	46.058s
cd handoff && CGO_ENABLED=0 go test -count=1 ./...
ok  	amadan.net/oficina/home/handoff	0.340s
ok  	amadan.net/oficina/home/handoff/seal	0.002s
cd roster && CGO_ENABLED=0 go test -count=1 ./...
ok  	amadan.net/oficina/home/roster	5.082s
cd connect && CGO_ENABLED=0 go test -count=1 ./...
ok  	amadan.net/oficina/home/connect	0.060s
ok  	amadan.net/oficina/home/connect/linkstore	0.185s
=== race ===
go test -race -count=1 ./internal/home/ ./internal/operator/ ./internal/operatorlaunch/ ./internal/provisioner/ ./internal/home/directorydata/
ok  	amadan.net/oficina/home/internal/home	107.121s
ok  	amadan.net/oficina/home/internal/operator	66.566s
ok  	amadan.net/oficina/home/internal/operatorlaunch	22.630s
ok  	amadan.net/oficina/home/internal/provisioner	311.030s
ok  	amadan.net/oficina/home/internal/home/directorydata	19.114s
cd handoff && CGO_ENABLED=1 go test -race -count=1 ./...
ok  	amadan.net/oficina/home/handoff	9.688s
ok  	amadan.net/oficina/home/handoff/seal	1.026s
cd roster && CGO_ENABLED=1 go test -race -count=1 ./...
ok  	amadan.net/oficina/home/roster	6.592s
cd connect && CGO_ENABLED=1 go test -race -count=1 ./...
ok  	amadan.net/oficina/home/connect	1.798s
ok  	amadan.net/oficina/home/connect/linkstore	3.972s
diff --git a/internal/home/placeholder.go b/internal/home/placeholder.go
index e388bd4..1eafcfb 100644
--- a/internal/home/placeholder.go
+++ b/internal/home/placeholder.go
@@ -13,7 +13,7 @@ func PlaceholderHandler() http.Handler {
mountBrand(r)
r.Get("/", func(w http.ResponseWriter, _ *http.Request) {
w.Header().Set("Content-Type", "text/html; charset=utf-8")
- _, _ = w.Write([]byte(indexPage))
+ _, _ = w.Write(withSky(indexPage))
})
return r
}