Skip to content

fix/tests: Replace deprecated net/http2 with standard net/http - #587

Merged
hoffmaen merged 1 commit into
developfrom
fix-test-failures
Sep 14, 2026
Merged

hoffmaen merged 1 commit into
developfrom
fix-test-failures

Conversation

@hoffmaen

@hoffmaen hoffmaen commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Replacing deprecated net/http2 library usage with standard net/http.

  • staticcheck currently fails with net/http2 usage in both the optional github PR test actions, and the concourse unit test pipeline

The verify_staticcheck failure was introduced by commit 4b29308 (bumping golang.org/x/net v0.58.0 → v0.59.0), which deprecated http2.Transport/.TLSClientConfig (SA1019) in favor of the Go 1.24 net/http Protocols API. This PR migrates the affected tests to net/http.

Backward Compatibility

Breaking Change? No

Only affects tests.

@hoffmaen
hoffmaen requested a review from a team as a code owner September 14, 2026 13:26
@hoffmaen hoffmaen changed the title tests: Replace deprecated net/http2 with standard net/http fix/tests: Replace deprecated net/http2 with standard net/http Sep 14, 2026
@github-project-automation github-project-automation Bot moved this from Inbox to Pending Merge | Prioritized in Application Runtime Platform Working Group Sep 14, 2026
@hoffmaen
hoffmaen merged commit cec804a into develop Sep 14, 2026
5 of 8 checks passed
@hoffmaen
hoffmaen deleted the fix-test-failures branch September 14, 2026 14:27
@github-project-automation github-project-automation Bot moved this from Pending Merge | Prioritized to Done in Application Runtime Platform Working Group Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

2 participants