feat(server): add go_version to /api/info response

Adds a "go_version" field to InfoResponse, populated via runtime.Version().
Useful for ops debugging (which Go version is running in production?).
BDD scenario @critical asserts the field is non-empty. Doc + ADR-0026
updated.
This commit is contained in:
2026-05-05 10:17:22 +02:00
parent 42d165624b
commit 86831a3ce4
4 changed files with 16 additions and 2 deletions

View File

@@ -36,3 +36,10 @@ Feature: Info Endpoint
Then the response header "X-Cache" should be "MISS"
When I request the info endpoint again
Then the response header "X-Cache" should be "HIT"
@go_version @critical
Scenario: go_version field is non-empty
Given the server is running
When I request the info endpoint
Then the status code should be 200
And the response should contain "go_version"