Repository navigation
Conversation
Quest-Claim: b1d53fa1fb00c090
…--listen-public Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
kixelated
marked this pull request as ready for review
November 15, 2026 14:35
Contributor
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 27 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Contributor
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
Reviewed the removal of --listen-public from moq auth serve. The secret alone now decides whether a non-loopback listener is allowed.
- Listener guard:
Serve::listenerrefuses a non-loopback TCP address only when--listen-secretis unset. The unix-socket rule that refuses a secret is unchanged. - Flag and config removal:
listen_publicis gone fromServe,ServeSettings, andrestart_only.deny_unknown_fieldsonServerejects old configs that still set the key, which matches the PR's Impact note. Nolisten[-_]publicreferences remain in the repo. - Docs and tests:
doc/bin/relay/auth.mdand the listener and config-file tests now follow the new rule. The completed quest file is deleted.
claude-opus-5-5 | 𝕏
This branch has not been deployed
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.

Finishes
quest/m2/auth-listen-public.md(deleted here).Summary
moq auth serveaccepts a non-loopback--listenaddress whenever--listen-secretis set and refuses it otherwise.--listen-publicand itslisten_publicconfig key are gone. #8756 had already merged, so the mesh guard no longer needed the flag. The docs indoc/bin/relay/auth.mdand the error message match.Impact
Public API: removes
moq auth serve --listen-publicand thelisten_publicconfig key. A config that still sets the key is refused as an unknown field. Wire: none.Migration: delete
--listen-publicandlisten_public. A non-loopback--listennow needs only--listen-secret FILE.Decisions
just check(the migrate check) rejects a branch that editsMIGRATE.md, so the release cut writes it. This differs from the quest's Plan, which asked for aMIGRATE.mdnote.--listen-secretand why it is needed. The old "--listen-publicneeds--listen-secret" error is gone.!) becausereleaseships the flag.Validation
quest gate cargo test -p moq-cli authpasses, with the listener test rewritten for the new rule.moq auth serve --listen 0.0.0.0:0is refused naming--listen-secret.--listen-publicis an unexpected argument.--listen 0.0.0.0:0 --listen-secret FILEstarts listening.just checkpasses on the committed head.Follow-ups
None.
Models
Size: XS
Implementer: Claude, claude-sonnet-5-5, unknown effort (arm A)
Review
Rewritten by
quest reviewafter each round.Head: 53b87e1
Base: origin/main at ca88fc1
Risk: medium,
the base has no RISK.md to name what is always high or customer-facing, so every change is mediumClassified: medium by default
Reviewer: Codex, gpt-6.1-sol, medium effort
Session:
01a1df9d-ca1e-75d0-8492-b9e454757c33, round 1Score: 9/10,
Source review found no actionable defects and confirmed secret enforcement remains intact before binding non-loopback listeners; builds and tests were not run as instructed.Rounds: 1; first round 0; findings 0: fixed 0, refuted 0, open 0
Findings: none