Repository navigation
Machine generated/update go dependencies - #3857
Merged
xiaokangwang merged 2 commits intoOct 20, 2026
Merged
xiaokangwang merged 2 commits into
xiaokangwang merged 2 commits into
Conversation
added 2 commits
October 20, 2026 17:52
Upgrade the Go toolchain and module dependencies used by the binary. Adapt WebRTC to Pion transport v5 and preserve the public STUN v3 API with an ICE attribute compatibility adapter. Validation: Linux test suites passed on Go 1.26.10 and 1.27.3 with seven public-DNS tests excluded locally; all 31 release cross-builds passed. The native release binary was rebuilt successfully before committing. Machine-Generated: true Generated-By: OpenAI Codex
Update the release container's metadata source to the verified Go 1.27.3 linux/amd64 image, retaining the immutable digest pin. Validation: container build, version command, and configuration validation passed with the updated image. Machine-Generated: true Generated-By: OpenAI Codex
There was a problem hiding this comment.
🔵 Needs a closer look
Broad toolchain and networking dependency upgrades require human review and build and integration validation.
No open issues 🎉
What changed in this PR
Updates V2Ray’s Go dependencies and toolchain, with compatibility changes for the upgraded Pion networking libraries.
Changes:
- Updates Go requirements, dependency versions, checksums, and the container image digest.
- Migrates WebRTC networking imports to Pion transport v5.
- Adds an adapter for ICE’s STUN v4 attributes while preserving STUN v3 interfaces.
| File | Description |
|---|---|
| release/container/Containerfile | Updates the image digest and Go version comment. |
| go.sum | Refreshes dependency checksums. |
| go.mod | Updates toolchain requirements and dependencies. |
| common/natTraversal/stun/natTypeTest.go | Wraps ICE attributes with the compatibility adapter. |
| common/natTraversal/stun/iceAttribute.go | Adds the STUN attribute adapter. |
| app/webrtc/connect_via_net.go | Migrates transport imports to v5. |
| app/webrtc/active_listener_net.go | Migrates transport imports to v5. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.