GeezerVison is showing github.com — fix(id): split world_ssh.rs client code into world_ssh/client.rs (refs #13057) by dezren39 · Pull Request #14042 · developing-today/code
Conversation
dezren39
commented
Nov 24, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Closes #13057
Summary
world_ssh.rs was the last file over the 2500 production-line limit on main (2665 lines) after #13783 landed the other four files in #13057. This PR moves the SSH client block — SshTarget, HostKeyCheck, HostKeyTrust, SshConnection, connect_frames (199 lines) — into the new world_ssh/client.rs submodule, following the existing form_io / form_prompt / kitty split pattern. The moved items are re-exported from world_ssh.rs, so id_worlds::world_ssh::{SshTarget, HostKeyCheck, connect_frames} keep working unchanged. Pure move; no behaviour change.
Evidence
bash .github/scripts/check-production-line-limit.sh on this branch: production-line-guard: OK (1009 .rs + 274 .ts files). Before: OVER LIMIT pkgs/id/crates/id-worlds/src/world_ssh.rs: 2665 production lines.
rustfmt --edition 2024 --check on both touched files: clean.
check-rust-module-reach.sh: client.rs is reached; the 16 unreached files it lists are pre-existing and unrelated.
- Remote verification:
cargo test -p id-worlds world_ssh && cargo check -p id-worlds -p id-cli && bash .github/scripts/check-production-line-limit.sh via the fleet-command workflow. First run (https://github.com/developing-today/fleet/actions/runs/45316196172) failed on a runner defect, not the code: permission denied when opening file .../.fleet/cache/cargo/registry/src/.../fnv-1.0.7/lib.rs (a root-owned cargo registry cache unreadable by the vscode user). Retry with a fresh CARGO_HOME=/tmp/cargo-home dispatched as https://github.com/developing-today/fleet/actions/runs/45318041109; PR CI is the compile/test check for this head.
Merge Danger
Low. Pure code move within one crate; public paths preserved via re-export. If the retry run or PR CI flags a compile error, the fix is in the moved module's imports.
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-24T03:14:19Z",
"session_id": null,
"lane": null,
"host": "htch-runtime",
"worktree": "/home/hatch/workspace/github-work/code-13057-world-ssh",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/hatch/workspace/github-work/code-13057-world-ssh",
"repo": "developing-today/code",
"branch": "xaltha/13057-world-ssh-split",
"sha": "3affec8949fbd865710f819ab25ae7ad877659fb"
},
"auth_subject": "xaltha",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…#13057)
Move the SSH client block (SshTarget, HostKeyCheck, HostKeyTrust,
SshConnection, connect_frames) out of world_ssh.rs into the new
world_ssh/client.rs submodule, re-exported so
id_worlds::world_ssh::{SshTarget, HostKeyCheck, connect_frames} keep
working. Pure move; no behaviour change.
world_ssh.rs drops from 2665 to ~2468 production lines, so the
production-line-guard passes; it was the last over-limit file on main
after #13783.
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 11 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:
86e807c5-8997-439e-92bf-7896f807e193
Commits
-
Reviewing files that changed from the base of the PR and between 5708d46 and 3affec8.
Files selected for processing: 2
-
pkgs/id/crates/id-worlds/src/world_ssh.rs
pkgs/id/crates/id-worlds/src/world_ssh/client.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
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Verification update: retry run https://github.com/developing-today/fleet/actions/runs/45318041109 also failed, but NOT on this change — it hits a pre-existing compile error on current main in an untouched crate: error[E0599]: no method named compactfound for structSharedEventStoreatcrates/id-events/src/local_events.rs:355 (LocalEvents::compactcallsself.store.compact(policy), but SharedEventStoreincrates/id-store/src/store_traits.rshas nocompactforwarding method;EventStore::compactexists atcrates/id-events/src/event_store/compaction.rs:225). Introduced by merged PR #13480, which made LocalEventshold the store throughSharedEventStore`. The guard script still passes on this head and the move itself is untouched by that error; the id-events fix belongs in a follow-up slice.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
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.
|