chore(release): v0.16.0 - #199
Merged
Merged
Conversation
install.sh resolves releases/latest, so the twelve commits merged since
v0.15.0 have been unreachable to anyone running `moshcode update` —
including the reason `curl <name>` still did not work after enabling DNS.
The headline is that routing stopped being a list. `dns install` wrote
every claimed ending onto one `Domains=` line; systemd-resolved caps how
many search domains it accepts, took 1090 of 4586 alphabetically,
rejected the rest one journal line at a time with "Argument list too
long", and reported success. Names past the cut were configured on disk
and absent from the resolver, so `moshcode dns resolve` answered while
`curl` could not — with nothing in between to say why, and every new
ending making the cut deeper.
`Domains=~.` is one entry that never grows. The bridge now forwards
anything that is not a claimed ending upstream, byte for byte, and fails
open in every direction: an unknown ending set means "not ours", silent
upstreams are SERVFAIL rather than NXDOMAIN, and loopback nameservers are
dropped so it cannot forward to itself.
Also in this release:
- a name can be served at an IPv6 address end to end — the bridge
answers AAAA, and an A query for a v6-only name is NODATA rather
than NXDOMAIN, which was denying the name for the whole page load
- `moshcode template` scaffolds a Moshpit-hosted service, with
bun-caddy-sqlite and caddy-static bundled
- names and endings are letters and digits only; a dash was the
cheapest way to mint a look-alike of an ending someone else holds
- an ending has its own page at /n/<ending>, with its pointers and
relatives rather than a dead end
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
vu1nz Security Review0 finding(s) in PR #? No security issues found. |
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.
install.shresolvesreleases/latest, so the twelve commits merged since v0.15.0 are unreachable to anyone runningmoshcode update— including the reasoncurl <name>still fails afterdns enable.This must not merge before #198.
mainis currently red — #198 is the lockfile bump that clears it, and its CI is green. Ideally #197 (thedns statustruncation check) lands too, since it's the diagnostic for the exact failure this release fixes.maingreenThe headline: routing stopped being a list
dns installwrote every claimed ending onto oneDomains=line. systemd-resolved caps how many search domains it accepts:Taken alphabetically, so
~hackerfell past the cut. Names in that range were configured on disk and absent from the resolver —moshcode dns resolveanswered,curldid not, and nothing in between said why. Every new ending made the cut deeper.Domains=~.is one entry that never grows. The bridge now forwards anything that isn't a claimed ending upstream, byte for byte, and fails open in every direction:Also in this release
AAAA, and anAquery for a v6-only name is NODATA rather than NXDOMAIN, which had been denying the name for the whole page load. The/n/gateway brackets v6 hosts, which it previously built as invalid URLs.moshcode template— scaffolds a Moshpit-hosted service;bun-caddy-sqliteandcaddy-staticbundled. Nothing in a template executes on install./n/<ending>, showing its pointers and relatives instead of a dead end.After merge
No tag-triggered workflow here, so the GitHub Release is the last manual step:
gh release create v0.16.0 --repo moshcoder/moshcode --title "v0.16.0 — routing stopped being a list" --generate-notesUntil that exists,
install.shkeeps serving v0.15.0.🤖 Generated with Claude Code