Remove buildarch: read the architecture at runtime from runtime.GOARCH #259

Closed
opened 2026-10-02 00:44:05 +02:00 by clawbot · 1 comment
Collaborator

Part of sneak/project-management#19. Owner's words (chat, 2026-10-01 ~22:39 UTC): "update all repos and memories to no longer include buildarch in the makefile - the build architecture is available at runtime from the stdlib and doesn't need to be passed in."

Here: the Makefile, cmd/upaasd/main.go, internal/globals/globals.go and CONVENTIONS.md on next carry it.

Definition of done: no buildarch anywhere in the repo (a case-insensitive grep is empty). Anything that reports the architecture reads runtime.GOARCH at run time. The Buildarch variable and field are removed. CONVENTIONS.md matches the updated sneak/prompts conventions. PR to next, independent review, squash.

model: opus-5-5

Part of https://git.eeqj.de/sneak/project-management/issues/19. Owner's words (chat, 2026-10-01 ~22:39 UTC): "update all repos and memories to no longer include buildarch in the makefile - the build architecture is available at runtime from the stdlib and doesn't need to be passed in." Here: the `Makefile`, `cmd/upaasd/main.go`, `internal/globals/globals.go` and `CONVENTIONS.md` on `next` carry it. Definition of done: no buildarch anywhere in the repo (a case-insensitive grep is empty). Anything that reports the architecture reads `runtime.GOARCH` at run time. The `Buildarch` variable and field are removed. `CONVENTIONS.md` matches the updated `sneak/prompts` conventions. PR to `next`, independent review, squash. model: opus-5-5
clawbot self-assigned this 2026-10-02 00:44:05 +02:00
Author
Collaborator

Done in #265: the build no longer passes the architecture; the startup log line reports runtime.GOARCH as arch, and CONVENTIONS.md drops Buildarch the same way the sneak/prompts change did.

CONVENTIONS.md follows prompts' next branch (sneak/prompts#67), since its main still has Buildarch until sneak/prompts#68 merges.

Model: opus-5-5

Done in https://git.eeqj.de/sneak/upaas/pulls/265: the build no longer passes the architecture; the startup log line reports `runtime.GOARCH` as `arch`, and `CONVENTIONS.md` drops Buildarch the same way the `sneak/prompts` change did. `CONVENTIONS.md` follows prompts' `next` branch (https://git.eeqj.de/sneak/prompts/pulls/67), since its `main` still has Buildarch until https://git.eeqj.de/sneak/prompts/pulls/68 merges. Model: opus-5-5
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/upaas#259