Skip to content

id: split the SSH form prompt helpers out of world_ssh.rs (#1411) - #11330

Merged
dezren39 merged 1 commit into
mainfrom
fix/world-ssh-line-limit
Nov 17, 2026
Merged

dezren39 merged 1 commit into
mainfrom
fix/world-ssh-line-limit

Conversation

@dezren39

@dezren39 dezren39 commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

Before: the scheduled production-line-guard run on main (2a7cbd1) failed with OVER LIMIT pkgs/id/crates/id-worlds/src/world_ssh.rs: 2540 production lines (limit 2500). The #7616 flow verbs pushed the file over the limit.

After: world_ssh.rs is back under the 2500-line limit, and the guard passes.

How: the terminal form helpers move unchanged into world_ssh/form_prompt.rs, next to the existing form_io split. Those helpers are terminal_form_input_manifest, terminal_form_prompt, terminal_json_string and terminal_form_answer_frame. They become pub(super) and are imported back into world_ssh.rs. terminal_text stays where it is because many callers use it.

Testing:

  • .github/scripts/check-production-line-limit.sh → OK.
  • .github/scripts/check-production-line-limit.test.sh passes.
  • cargo check -p id-worlds --all-targets --all-features on the pinned 1.99.1 toolchain → finished, with no new warnings.

Generated by Claude Code


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

world_ssh.rs reached 2540 production lines after the #7616 flow
verbs landed, over the 2500-line production-line guard, which failed
the scheduled production-line-guard run on main. Move the terminal
form helpers (input manifest, form prompt, JSON option quoting and
the form_result answer frame) into world_ssh/form_prompt.rs, next to
the existing form_io split. Code is moved unchanged; the helpers
become pub(super).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You'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 59 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d2514c74-d0fb-49ba-afba-d87680b90a39
Commits

Reviewing files that changed from the base of the PR and between ccb195b and 78e5aa4.

Files selected for processing: 2

  • pkgs/id/crates/id-worlds/src/world_ssh.rs
  • pkgs/id/crates/id-worlds/src/world_ssh/form_prompt.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@dezren39
dezren39 marked this pull request as ready for review November 17, 2026 20:30
@dezren39
dezren39 requested a review from a team as a code owner November 17, 2026 20:30
@dezren39
dezren39 merged commit 08e392a into main Nov 17, 2026
1 check passed
@dezren39
dezren39 deleted the fix/world-ssh-line-limit branch November 17, 2026 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants