Skip to content

fix(egress): add the missing tunnel transport#7

Merged
bodaay merged 1 commit into
mainfrom
fix/egress-tunnel-transport
Jun 1, 2026
Merged

fix(egress): add the missing tunnel transport#7
bodaay merged 1 commit into
mainfrom
fix/egress-tunnel-transport

Conversation

@bodaay

@bodaay bodaay commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #6. That PR committed only egress.go; the transport file (ClientSession, AcceptAndServe, RunRelay) was accidentally left untracked, so beacon egress — which calls egress.RunRelay — does not compile on main. This adds tunnel.go + tunnel_test.go (inverted-direction yamux + multiplexing test). main builds and tests pass again.

🤖 Generated with Claude Code

The egress PR (#6) committed only egress.go — the transport file (ClientSession,
AcceptAndServe, RunRelay) was left untracked, so `beacon egress`, which calls
egress.RunRelay, failed to compile on main. Add tunnel.go + tunnel_test.go
(inverted-direction yamux: coxswain opens substreams, the relay accepts and
dials the node), with the multiplexing round-trip test. main builds again.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@bodaay bodaay merged commit a33768a into main Jun 1, 2026
@bodaay bodaay deleted the fix/egress-tunnel-transport branch June 1, 2026 22:34
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