Repository navigation
chore: drop unused image ports and duplicate health server setup - #7
Merged
Merged
Conversation
- Remove EXPOSE 25565 from the three images: no tunnel process listens on it, and the operator builds container ports from the template plus 8091. - Build the port 8091 health server in one place (newRelayHealthServer) instead of two identical literals. - Drop a check that can never be false around the config file cleanup: renderConfig returns a fixed non-empty path whenever it succeeds. - specs.md and README.md: correct the layout note, the tsnet version, the PLAYIT_TUNNEL_NAME and GAMESERVER_NAME descriptions and the list of routes served on 8091. No behaviour change. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
- Drop serveTailnet, a wrapper only tests called; the tests call serveTailnetObserved(..., nil, nil), which is what it forwarded to. - Drop the Config parameter isUnrecoverable ignored, and superviseRelay's cfg, which it only passed on to isUnrecoverable. Test edits signed off by the maintainer; no assertion changed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
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.
Summary
Cleanup pass with no behaviour change.
EXPOSE 25565/tcp 25565/udpDockerfile.frp,Dockerfile.playit,Dockerfile.tailscalenewRelayHealthServerfor the port 8091 serverrelay_health.go,tailscale.gohttp.Serverliterals; listen calls and their error messages stay where they weremain.gorenderConfigreturns a fixed non-empty path whenever it succeeds, and the error case returns earlierserveTailnettailscale.go,tailscale_test.goserveTailnetObserved(..., nil, nil); tests now call that directlyConfigparameter ofisUnrecoverableandsuperviseRelay's pass-throughcfgmain.go,relay_health.go,main_test.go,relay_health_test.gospecs.md,README.mdgo.mod),PLAYIT_TUNNEL_NAMEandGAMESERVER_NAMEdescriptions, routes served on 8091Test edits were signed off by the maintainer and checked by a separate reviewer: no assertion was deleted or loosened.
Verification
go build ./...andgo vet ./...pass. CI is green.No user-visible change, so no changelog entry is needed with the pointer bump.
🤖 Generated with Claude Code