Skip to content

transport/tnet: update tnet dependency - #236

Merged
WineChord merged 1 commit into
trpc-group:mainfrom
Rememorio:update_tnet_restart
Jun 18, 2026
Merged

transport/tnet: update tnet dependency#236
WineChord merged 1 commit into
trpc-group:mainfrom
Rememorio:update_tnet_restart

Conversation

@Rememorio

Copy link
Copy Markdown
Collaborator

What

  • Update trpc.group/trpc-go/tnet to v1.1.0.
  • Pick up the public tnet restart-related release and its required public dependencies.
  • Update the tnet multiplex test fake to satisfy the current tnet.Conn interface.

Compatibility

This keeps trpc-go's existing server-level graceful restart flow unchanged. The new tnet release exposes restart support as an optional interface, but trpc-go still needs to coordinate restart at the whole server process level so mixed transports and multi-service processes keep their current behavior.

Tests

  • go test ./... -count=1
  • go test ./transport/tnet/multiplex -count=1
  • go test ./transport/tnet -count=1
  • go test ./transport ./server ./http -count=1

@WineChord WineChord left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@WineChord
WineChord merged commit b443a95 into trpc-group:main Jun 18, 2026
6 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants