✨ 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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user