Skip to content

[TASK-448] Observe committed HTTP responses and accepted writes - #12

Merged
zaytcevcom merged 2 commits into
mainfrom
fix/http-response-observation-20261023
Oct 23, 2026
Merged

zaytcevcom merged 2 commits into
mainfrom
fix/http-response-observation-20261023

Conversation

@zaytcevcom

@zaytcevcom zaytcevcom commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

HTTP observations could report a later attempted 500 after a 200 was already committed, and handled-failure snippets could include bytes the writer rejected. Observe the first final status, accepted write prefixes, streaming/flush/hijack operations, and panic recovery without replacing an already committed response.

Preserve direct optional writer interfaces through httpsnoop 1.1.0. SDK observes outside response-writer middleware; external Unwrap-only capability chains remain unsupported. Backend adoption and privacy changes are tracked separately in TASK-439.

The required security scan found five existing x/net HTTP/2 advisories, including GO-2026-6617. Upgrade x/net to 0.60.0 with its required companion versions. This requires Go 1.26; raise the minimum to patched Go 1.26.10, document the consumer migration and test 1.26.10/1.27.3 with automatic toolchain switching disabled in CI. Release as v0.5.0 to expose the compatibility change.

Validation: gofmt clean; full go vet and go test -race passed on Go 1.26.10; pinned govulncheck on that minimum reports no vulnerabilities. Regression coverage includes short/error writes, bounded capture, informational/final statuses, real HTTP 103→201, optional interfaces, inner Unwrap/controller operations, and panic before/after commit or hijack. Astra reviewed all nine final file hashes. Fresh complete CI is required for this head.

TASK-448

@zaytcevcom
zaytcevcom merged commit a5c025a into main Oct 23, 2026
5 checks passed
@zaytcevcom
zaytcevcom deleted the fix/http-response-observation-20261023 branch October 23, 2026 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant