webhooker/internal
clawbot a51e863017
All checks were successful
check / check (push) Successful in 1m0s
Remove globals.Buildarch from codebase (#31)
Remove the `Buildarch` field from the globals package and all references throughout the codebase.

**Changes:**
- Removed `Buildarch` package-level var and struct field from `internal/globals/globals.go`
- Removed `Buildarch` from the `New()` constructor
- Removed `globals.Buildarch = runtime.GOARCH` and unused `runtime` import from `cmd/webhooker/main.go`
- Removed `buildarch` from logger startup output in `internal/logger/logger.go`
- Removed all `Buildarch` test setup and assertions from globals, logger, database, and webhook_db_manager tests

All tests pass, `make check` passes, `docker build .` succeeds.

closes [issue #30](#30)

<!-- session: agent:sdlc-manager:subagent:5cae6803-6bdf-467d-9a56-43f135521e5f -->

Co-authored-by: clawbot <clawbot@noreply.git.eeqj.de>
Reviewed-on: #31
Co-authored-by: clawbot <clawbot@noreply.example.org>
Co-committed-by: clawbot <clawbot@noreply.example.org>
2026-03-04 12:07:58 +01:00
..
config remove unnecessary data migration and dead DevelopmentMode config 2026-03-03 09:16:03 -08:00
database Remove globals.Buildarch from codebase (#31) 2026-03-04 12:07:58 +01:00
delivery test: add tests for delivery, middleware, and session packages (#32) 2026-03-04 12:07:23 +01:00
globals Remove globals.Buildarch from codebase (#31) 2026-03-04 12:07:58 +01:00
handlers refactor: merge retry target type into http (max_retries=0 = fire-and-forget) 2026-03-01 23:51:55 -08:00
healthcheck feat: bring repo up to REPO_POLICIES standards (#6) 2026-03-01 19:01:44 +01:00
logger Remove globals.Buildarch from codebase (#31) 2026-03-04 12:07:58 +01:00
middleware test: add tests for delivery, middleware, and session packages (#32) 2026-03-04 12:07:23 +01:00
server chore: consolidate DBURL into DATA_DIR, codebase audit for 1.0.0 2026-03-01 23:33:20 -08:00
session test: add tests for delivery, middleware, and session packages (#32) 2026-03-04 12:07:23 +01:00