Refactor: project structure cleanup #35

Closed
opened 2026-09-09 01:56:37 +00:00 by poslop · 1 comment
Owner

Zero behavior changes; full test suite passes unchanged; module path stays palette.

Final tree:

./cmd/palette/main.go
./internal/api/admin.go
./internal/api/admin_test.go
./internal/api/burn.go
./internal/api/burnreads_test.go
./internal/api/burn_test.go
./internal/api/cans.go
./internal/api/cans_test.go
./internal/api/customslug_test.go
./internal/api/guess.go
./internal/api/main_test.go
./internal/api/mine_test.go
./internal/api/pentest_cookie_test.go
./internal/api/pentest_helpers_test.go
./internal/api/pentest_rawct_test.go
./internal/api/ratelimit.go
./internal/api/ratelimit_test.go
./internal/api/server.go
./internal/api/slugrelease_test.go
./internal/api/sweep33_test.go
./internal/lang/guess.go
./internal/lang/guess_test.go
./internal/lang/highlight.go
./internal/store/burn.go
./internal/store/customslug.go
./internal/store/password.go
./internal/store/store.go
./internal/web/web.go

Verified live: rebuilt binary, restarted service, curl /history, /new, /static/app.css, and POST /api/pastes all work from the new embed paths.

Zero behavior changes; full test suite passes unchanged; module path stays `palette`. Final tree: ``` ./cmd/palette/main.go ./internal/api/admin.go ./internal/api/admin_test.go ./internal/api/burn.go ./internal/api/burnreads_test.go ./internal/api/burn_test.go ./internal/api/cans.go ./internal/api/cans_test.go ./internal/api/customslug_test.go ./internal/api/guess.go ./internal/api/main_test.go ./internal/api/mine_test.go ./internal/api/pentest_cookie_test.go ./internal/api/pentest_helpers_test.go ./internal/api/pentest_rawct_test.go ./internal/api/ratelimit.go ./internal/api/ratelimit_test.go ./internal/api/server.go ./internal/api/slugrelease_test.go ./internal/api/sweep33_test.go ./internal/lang/guess.go ./internal/lang/guess_test.go ./internal/lang/highlight.go ./internal/store/burn.go ./internal/store/customslug.go ./internal/store/password.go ./internal/store/store.go ./internal/web/web.go ``` Verified live: rebuilt binary, restarted service, curl /history, /new, /static/app.css, and POST /api/pastes all work from the new embed paths.
poslop added spent time 3 minutes 2026-09-09 06:34:48 +00:00
Author
Owner

k3s deployment complete (palette namespace on goyplex-vm): Deployment v0.2.0 image, PVC 5Gi, Service, IngressRoute palette.archfox.org (letsencrypt-dns). Pull secret palette-regcred. Verified: pod Running, in-cluster 200, public-IP route with Host header 200. ONLY REMAINING STEP: add DNS A record palette.archfox.org -> 38.148.173.25 in Cloudflare (needs user dashboard access). DNS record is the single blocker for https://palette.archfox.org

k3s deployment complete (palette namespace on goyplex-vm): Deployment v0.2.0 image, PVC 5Gi, Service, IngressRoute palette.archfox.org (letsencrypt-dns). Pull secret palette-regcred. Verified: pod Running, in-cluster 200, public-IP route with Host header 200. ONLY REMAINING STEP: add DNS A record palette.archfox.org -> 38.148.173.25 in Cloudflare (needs user dashboard access). DNS record is the single blocker for https://palette.archfox.org
Sign in to join this conversation.
1 Participants
Notifications
Total Time Spent: 3 minutes
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: poslop/palette#35