chore(uhhcraft): remove accidentally-committed server binary + refresh stale docs#48
Conversation
…h stale docs A 24 MB Mach-O arm64 binary (`platform/services/uhhcraft/deployment/server`) was committed — a local `go build ./cmd/server` artifact. It's useless (the container builds its own Linux binary), bloats the repo, and slipped past .gitignore (which only covered deployment/bin|dist|tmp/, not a bare `server`). - Remove the tracked binary. - Add an anchored ignore `platform/services/*/deployment/server` (won't match the internal/server/ source dir) so it can't recur. Doc refresh (these were written pre-implementation and went stale): - deployment/README.md "Outstanding integration items": Phases 3–8 are listed as pending but are all merged, and it says the healthcheck/river migrate-up subcommands "may not exist yet" — they're implemented in cmd/server/main.go. Rewrote to reflect Phases 1–9+11 merged and Phase 10 (validation) as the hardware-gated remainder, with the open decisions feeding it. - service CLAUDE.md: drop the "should expose"/"add if missing" hedges on the river migrate-up and healthcheck subcommands — both are implemented. Note: only removes the binary going forward; it remains in history (rewriting public main history isn't worth the disruption).
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI (base), Organization UI (inherited) Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughUpdated UhhCraft deployment infrastructure and documentation: ChangesUhhCraft Deployment Configuration and Documentation
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested labels
Poem
Important Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional. ❌ Failed checks (1 error)
✅ Passed checks (9 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
Merging despite the red Security Scan — deliberate, with evidence that the failure is external and not a finding:
Everything else is green (Go build/lint/test, Static Analysis, CodeQL, Analyze, 0 CodeRabbit findings). We'll re-check the trufflehog release in a few hours; once they ship assets, normal PRs go green again — no workflow change made on our side. |
Summary
Two real, hardware-free findings from auditing what remains for UhhCraft.
1. Remove a 24 MB committed binary
platform/services/uhhcraft/deployment/serveris a Mach-O arm64 binary — a localgo build ./cmd/serverartifact that got committed. It's useless (the container builds its own Linux binary from the Dockerfile), bloats the repo, and is the wrong architecture anyway. Root.gitignoreonly ignoreddeployment/{bin,dist,tmp}/, so a bareserverslipped through.platform/services/*/deployment/server— won't match theinternal/server/source dir, so it's safe and prevents recurrence.2. Refresh stale docs (written pre-implementation)
deployment/README.md"Outstanding integration items" listed Phases 3–8 as pending (all merged) and said./uhhcraft healthcheck/./uhhcraft river migrate-up"may not exist yet" — both are implemented (cmd/server/main.go:27–44). Rewrote it to: Phases 1–9 + 11 merged; Phase 10 (validation) is the hardware-gated remainder; listed the open decisions feeding it (Stripe mode, CSP, registry, GPU §1).CLAUDE.mddropped the "should expose" / "add if missing" hedges on those two subcommands.Validation
Docs + gitignore + a binary deletion; no code/behavior change. Secret/IP audit clean.
AI Layer:
platform/services/uhhcraft/CLAUDE.md: Removed hedge language about Rivermigrate-upand healthcheck subcommands (now confirmed implemented incmd/server/main.go); clarified that River migrations are invoked fromdeployment/post-deploy.shand healthcheck runs fromdeployment/compose.yml.Platform Layer:
.gitignore: Added anchored rule to ignoreplatform/services/*/deployment/serverbinary produced bygo build ./cmd/server, with comment clarifying it won't match the internalserver/source directory.platform/services/uhhcraft/deployment/README.md: Updated scope summary to reflect that Phases 1–9 and 11 of WEBSMITH-INTEGRATION-PLAN are merged; Phase 10 (validation) remains hardware-gated, with open decisions listed (Stripe test-vs-live mode, CSP for 3D canvas, container registry choice, GPU passthrough host decision).