8000 fix(sessions): reserve the node name minimald as a session name by gominimal-aw-bot[bot] · Pull Request #2049 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content

fix(sessions): reserve the node name minimald as a session name - #2049

Merged
norrietaylor merged 1 commit into
mainfrom
inbox-patch/fix/reserve-minimald-session-name-c86a657095e34ed8
Oct 7, 2026
Merged

norrietaylor merged 1 commit into
mainfrom
inbox-patch/fix/reserve-minimald-session-name-c86a657095e34ed8

Conversation

@gominimal-aw-bot
Copy link
Copy Markdown
Contributor

Routing-Key: inbox-route/I_kwDOSUhdos8AAAABVcZSaQ

A session named minimald renders to the box name minimald.min.internal, which is the node namespace's own row in the zone and is answered by the host answerer itself. Accepting it as a session name makes the name mean two different things depending on who answers it. Add minimald to RESERVED_SESSION_NAMES so it is refused under the same ASCII case folding as host, local, and localhost, and extend the two reserved-name tests.

Verification

cargo fmt --all --check --manifest-path target/Cargo.toml — clean
cargo clippy --workspace --all-targets --locked --manifest-path target/Cargo.toml -- -D warnings — 0 warnings
cargo test --locked --manifest-path target/Cargo.toml -p sessions — 621 passed; 0 failed

A session named minimald renders to the box name
minimald.min.internal, which is the node namespace's own row in the
zone and is answered by the host answerer itself. Accepting it as a
session name makes the name mean two different things depending on who
answers it. Add minimald to RESERVED_SESSION_NAMES so it is refused
under the same ASCII case folding as host, local, and localhost.
@gominimal-aw-bot
gominimal-aw-bot Bot requested a review from a team as a code owner October 7, 2026 04:44
@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 7, 2026
@coderabbitai
coderabbitai Bot commented Oct 7, 2026
Copy link
Copy Markdown
Contributor

Warning

Review limit reached

  • Run on-demand review

This review includes 1 billable file and costs up to $0.25.

Or wait 19 minutes for your next included review.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: 4a7e992b-e6c9-4513-88ce-92989ac21d88
📥 Commits

Reviewing files that changed from the base of the PR and between 5772bf4 and 20b4385.

📒 Files selected for processing (1)
  • crates/sessions/src/store.rs
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@gominimal-aw-bot gominimal-aw-bot Bot added the agent:resolve Consent gate: pr-conflict-resolver may rewrite this branch label Oct 7, 2026
@norrietaylor norrietaylor changed the title fix: Reserve the node name minimald as a session name fix(sessions): reserve the node name minimald as a session name Oct 7, 2026
@norrietaylor
Copy link
Copy Markdown
Member

/review

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

Approved: no findings at 20b438504906.

Nothing to do.

Clobber: none: git log on crates/sessions/src/store.rs shows the four prior commits each touch distinct concerns (case-insensitive resolution #2032, uuid/id-prefix #1986, DNS-label gate #1944, original reserved set #1893); nothing here reverts them.

@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 7, 2026
@norrietaylor
norrietaylor added this pull request to the merge queue Oct 7, 2026
Merged via the queue into main with commit 2830055 Oct 7, 2026
36 checks passed
@norrietaylor
norrietaylor deleted the inbox-patch/fix/reserve-minimald-session-name-c86a657095e34ed8 branch October 7, 2026 09:15
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.

2 participants

0