8000 fix(minimal): say DNS, min.internal and box IPs plainly in finalize-install --show by gominimal-aw-bot[bot] · Pull Request #2166 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content

fix(minimal): say DNS, min.internal and box IPs plainly in finalize-install --show - #2166

Merged
norrietaylor merged 3 commits into
release/0.7.0from
inbox-patch/finalize-install-plain-dns-wording-22dc59698cb8802a
Oct 11, 2026
Merged

norrietaylor merged 3 commits into
release/0.7.0from
inbox-patch/finalize-install-plain-dns-wording-22dc59698cb8802a

Conversation

@gominimal-aw-bot
@gominimal-aw-bot gominimal-aw-bot Bot commented Oct 11, 2026 •
Copy link
Copy Markdown
Contributor

Routing-Key: inbox-route/I_kwDOSUhdos8AAAABWekcxQ

What was wrong. The names item of min finalize-install --show read in the project's internal vocabulary: "box names for every host program", "box-zone answerer", "reserved local range", "the command below" — terms a reader meeting the install for the first time has no referent for.

What changed. The item now says DNS: the label is "DNS names for boxes ((box).min.internal) in every program on this machine"; the missing pieces are short list lines in the summary ("N things to fix:" with one - fact each; --show --json keeps today as one line of facts, with no layout in it); the range is "the loopback IPs boxes use (127.0.64.0/24)"; and the step text names what it does plainly. Internal terms (unit labels, zone, answerer, stub resolver, hook, service manager) stay in --show --script and the diagnostic surfaces, which name real files and units. The label is one constant shared by both platforms, hence "this machine" rather than the issue's proposed "on this Mac"; the Linux step names systemd-resolved.

NamesVerdict::Missing.facts is now a Vec<String> of short lines; the "; "-joined prose note stays on the cfg(test) advisory path that renders it. ANSWERER_UNIT_LABEL, orphaned by the rewording, is removed. No docs quote the changed wording (docs/reference/cli-min.md and spec 18 checked), so no doc changes were needed.

Verification

  • cargo fmt --all --manifest-path target/Cargo.toml then cargo fmt --all --check — clean
  • cargo clippy --workspace --all-targets --locked --manifest-path target/Cargo.toml -- -D warnings — clean
  • just test-one "" -p minimal on Linux — 532 passed, 0 failed. The macOS arm of the step text is asserted by tests that only the CI lanes compile.

Informed by #546 and #487 (prior naming-rewording precedents).

Not covered

  • The macOS step text is verified by reading only. The step-text assertion branches on cfg!(target_os), and its macOS arm executes on no lane: the macOS lane tests only minvmd and sessions, and the cross build compiles this crate's tests for Linux. The macOS string was checked by hand against RESERVED_LOCAL_RANGE.

Summary by CodeRabbit

  • User-Facing Improvements
    • Clarified that setup configures DNS names for boxes across programs on the machine.
    • Updated setup guidance to explain how DNS lookups and box IPs are handled on macOS and other platforms.
    • Improved 8000 missing-configuration messages with clearer facts and step-specific guidance.

…nstall --show

Reword the names item of 'min finalize-install --show' into the
vocabulary a reader already has. The item now says DNS, names
<box>.min.internal as the box DNS namespace, names 127.0.64.0/24 as
the loopback IPs boxes use (macOS only), splits its missing pieces
into short list lines, and drops the internal terms (unit labels,
zone, answerer, stub resolver, hook, service manager) from the
reader-facing text; 'the command below' becomes 'this step'. Those
internal terms remain in '--show --script' and the diagnostic
surfaces, which name real files and units.

The missing facts become a Vec of short lines; the '; '-joined
prose note stays on the cfg(test) advisory path that renders it.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@gominimal-aw-bot
gominimal-aw-bot Bot requested a review from a team as a code owner October 11, 2026 18:23
@gominimal-aw-bot gominimal-aw-bot Bot added the agent:fix Agentic fix PR eligible for review iteration; min-aw's worker-iterate gates on it. label Oct 11, 2026
@coderabbitai
coderabbitai Bot commented Oct 11, 2026 •
Copy link
Copy Markdown
Contributor

Review in Change Stack →

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: 7eb3b4ec-4a02-4223-981b-4669cffb903a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: 50ea0227-37cb-4124-a2a8-2a129bd7740b







📥 Commits

Reviewing files that changed from the base of the PR and between 5cd498c and 5e522b2.








📒 Files selected for processing (5)
  • crates/minimal/src/cmd/finalize_install.rs
  • crates/minimal/src/resolver.rs
  • scripts/install_test.sh
  • scripts/session-e2e.sh
  • scripts/stage-release.sh







Included review availability: This review used your included allowance. 3 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 5 reviews per hour.









📝 Walkthrough
📝 Walkthrough
📝 Walkthrough
📝 Walkthrough
📝 Walkthrough
📝 Walkthrough
📝 Walkthrough

Walkthrough

The resolver now reports missing DNS setup with revised service and box-IP facts. The finalize-install item presents these facts as a counted list and describes setup steps for macOS and other platforms. Related test fixtures, assertions, and a release comment use the updated terminology.

Changes

DNS Names Setup

Layer / File(s) Summary
Resolver advisory facts and rendering
crates/minimal/src/resolver.rs
Missing-name facts are now stored as a vector and joined when rendering notes. Advisory wording describes the DNS service, missing loopback IPs, boot setup, and service availability. Tests check the updated facts and wording.
Finalize-install DNS names item
crates/minimal/src/cmd/finalize_install.rs, scripts/install_test.sh, scripts/session-e2e.sh, scripts/stage-release.sh
The item describes DNS names for boxes and formats missing facts as a count with bullets. Its setup description differs by platform. Fixtures, script checks, and a release comment use the revised terminology.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~12 minutes

Change: Bug fix

Suggested reviewers: norrietaylor























Merge Risk: ⚪ Minimal · up to 5e522

This change revises DNS setup wording and presentation. The reported legacy test failure is said to occur on clean main, and no PR-specific user impact is established.

Pre-merge checks | Passed 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage Passed Docstring coverage is 90.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 20 functions across 4 files. (1 skipped: 1 …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Title check Passed The title clearly describes the main change: plain DNS, min.internal, and box IP wording in finalize-install --show.
Description check Passed The description provides a detailed summary, explains the motivation, lists verification commands and results, and documents known test coverage limits. It does not use the template's exact Summary, T…



✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR








🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR













  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

A rabbit checks the DNS trail,
Then hops where box names gently sail.
Loopback IPs line up in rows,
A counted list explains what’s close.
The burrow hums; the names resolve.

Comment @coderabbitai help to get the list of available commands.

@norrietaylor norrietaylor changed the title fix: fix(minimal): say DNS, min.internal and box IPs plainly in finalize-install --show fix(minimal): say DNS, min.internal and box IPs plainly in finalize-install --show Oct 11, 2026
@norrietaylor
Copy link
Copy Markdown
Member

/review

@minimal-foundry
minimal-foundry Bot commented Oct 11, 2026 •
Copy link
Copy Markdown
Contributor

Approved: no findings at 73a8191d70d8.

Nothing to do.

Clobber: none: git log shows the two commits in the diff are the PR's own (the base is the merge point on main); the removed ANSWERER_UNIT_LABEL has no remaining references.

@minimal-foundry minimal-foundry Bot left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minimal-review — approved

Verdict APPROVE — No findings.

@minimal-foundry minimal-foundry Bot added the review:approved minimal-review approved the current head label Oct 11, 2026
…ll --show --json

The names item's today field is one line of facts again; the count heading,
bullets and indentation are the summary's alone. The heading reads
"N things to fix", the Linux step joins the service clause with "and",
the range facts drop "one per box", and the refused-source fact no longer
names the advisory. Tests pin both platform arms of the step text, the
two-fact list and the JSON.
@gominimal-aw-bot gominimal-aw-bot Bot added the agent:resolve Consent gate: pr-conflict-resolver may rewrite this branch label Oct 11, 2026
@norrietaylor
Copy link
Copy Markdown
Member

/review

@minimal-foundry minimal-foundry Bot left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minimal-review — approved

Verdict APPROVE — No findings.

@norrietaylor
norrietaylor changed the base branch from main to release/0.7.0 October 11, 2026 19:52
@norrietaylor
norrietaylor merged commit 4ac474e into release/0.7.0 Oct 11, 2026
39 checks passed
@norrietaylor
norrietaylor deleted the inbox-patch/finalize-install-plain-dns-wording-22dc59698cb8802a branch October 11, 2026 19:53
norrietaylor added a commit that referenced this pull request Oct 12, 2026
…nstall --show (#2166) (#2174)

(cherry picked from commit 4ac474e)

Co-authored-by: gominimal-aw-bot[bot] <281738952+gominimal-aw-bot[bot]@users.noreply.github.com>
gominimal-aw-bot Bot added a commit that referenced this pull request Oct 12, 2026
…nstall --show (#2166) (#2174)

(cherry picked from commit 4ac474e)

Co-authored-by: gominimal-aw-bot[bot] <281738952+gominimal-aw-bot[bot]@users.noreply.github.com>
gominimal-aw-bot Bot added a commit that referenced this pull request Oct 12, 2026
gominimal-aw-bot Bot added a commit that referenced this pull request Oct 12, 2026
…nstall --show (#2166) (#2174)

(cherry picked from commit 4ac474e)

Co-authored-by: gominimal-aw-bot[bot] <281738952+gominimal-aw-bot[bot]@users.noreply.github.com>
norrietaylor pushed a commit that referenced this pull request Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent:fix Agentic fix PR eligible for review iteration; min-aw's worker-iterate gates on it. agent:resolve Consent gate: pr-conflict-resolver may rewrite this branch review:approved minimal-review approved the current head

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0