Repository navigation
List a game's declared hostname first, then names, then IP literals - #229
Merged
Merged
Conversation
sharpmush-community led its page, API and structured data with 82.197.66.125 4201 above telnet.sharpmush.com 4201. The IP is a real, measured endpoint: Intermud-3 seeded it (the router records the address a mud connects from), the crawl probed it, and IdentityMatcher attached it to the game because telnet.sharpmush.com resolves to it. Endpoints were sorted by host, so a digit came first. EndpointOrder now ranks the MSSP HOSTNAME winner first, other names next, IP literals last, then host and port. The game page kept a ThenBy(Port) after IsCurrent that would have undone it; it now keeps the catalogue's order within each group. Nothing is hidden or deleted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Rqqt7TscThm4HRMFznnYuk
HarryCordewener
marked this pull request as ready for review
December 2, 2026 09:58
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.
Requested by Grave · project thread
Why
/g/sharpmush-communitylists82.197.66.125 4201abovetelnet.sharpmush.com 4201. The IP is a real endpoint: Intermud-3 seeded the address (the router records where a mud connects from, not a name), the crawl probed it, andIdentityMatcher.ResolvesToKnownEndpointAsyncattached it to the game becausetelnet.sharpmush.comresolves to it. The change feed shows it recorded on 2026-12-01 02:47 UTC.NpgsqlEndpointStoresorts byhost, port, so the digit came first, and the page, the API,PlainText, the preview card and thetelnet://in the structured data all read that order.What
EndpointOrder.Sort: the winningHOSTNAMEfield first, other names next, IP literals last, then host and port. Applied once inNpgsqlGameQueries.PageAsync, so every surface built fromGamePagegets it.Game.razorsorted byIsCurrentand then by port, which would have put the 443 WebSocket ahead and undone the ranking. It now keeps the catalogue's order within the current and former groups.Not changed:
I3Cyclestill seeds the IP. Its remarks rule out resolving names there, and the IP did answer as this game, so the row is a measurement. Deduplicating it would be a separate decision.Tests
EndpointOrderTests(11 cases). Catalog and Web suites pass locally; the Postgres-backed tests skipped here and run in CI.Generated by Claude Code
Summary by CodeRabbit