Repository navigation
pkgs/id crate split step 5c: extract id-worlds remainder — world_dev, world_doctor, world_ssh, world_replication_net (#4408) - #8772
Conversation
… world_doctor, world_ssh, world_replication_net (#4408)
|
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 41 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. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Nix: |
Step 5c of the pkgs/id crate split (#4408; 5a = #8762, 5b = #8768): move the last four world-family modules into
id-worlds. After this PR the facadesrc/contains no world-family files at all — theid-worldsextraction is structurally complete.What moved (implementation exists only in
pkgs/id/crates/id-worlds; the facade re-exports every historicalid::path):world_dev(underid-worlds/sandbox, as the facade gated it),world_doctor,world_replication_net, andworld_ssh(under the newid-worlds/sshfeature). Nothing that moved earlier names these; they name the moved core, which is why they come last.russhdependency moves insideid-worldswithworld_ssh(design feature mapping:ssh= russh insideid-worlds); the facadesshfeature now forwards toid-worlds/sshand the facade's ownrusshdependency is gone from its library graph. The facade keepsrusshas a dev-only dependency:tests/cli_integration.rsdrives an SSH client against the world SSH server (twoPrivateKey::from_opensshcall sites).vt100dev-dependency moves toid-worlds(dev) withworld_ssh's tests, its only user.include_*paths in the moved files gained the two directory levels the files descended, as in 5b.Verification (laptop, fresh
CARGO_TARGET_DIRs; counting run = full workspacecargo test --no-fail-fastwithtests/probe_attestation_sign.rsset aside, as in 5a/5b, plus the feature-gateddht_testnet):850f2fce31(step start): 73 suites, 3,719 passed / 1 failed / 33 ignored (the 1 failure is the knownframes::tests::byte_refusal_…, pkgs/id: frames byte_refusal test fails deterministically on main (RequestTooLarge vs BudgetExhausted) #8620). After 5b: 75 suites, 3,719 / 1 / 33, exact redistribution.eeee505783) and main itself gained tests between the two runs —id-core+9 (fix(id): fuzz numeric invariants compare through f64 — integers above 2^53 lose precision and violated invariants can pass (PR #8635 review finding) #8752's exact-numeric property tests, the 9#[test]s its diff adds),id-events+2 and theid-storestore_traitstarget +1 (main-side additions in the same window, 3 added#[test]s across those trees). The move itself: facade lib 1,166 → 1,123 passed (−43: the dev/doctor/replication-net tests that ran there),id-worldslib 796 → 843 (+47: the same tests as they exist on current main — main'sworld_dev.rsgrew ~490 lines with 4 more tests in the window, which accounts for +47 vs −43 exactly).world_ssh's tests aressh-gated and, as on main, compile under--features ssh(verified:cargo check --all-targets --features sshis clean apart from the known probe failure) rather than running in the default-features counting run — same treatment as the baseline.print_fuel_baselineoutput byte-identical — 72 lines, sha25659cfad49c7553c8309a8b40b23405321399bb76bb741acaeb90f78570f45c32c; (2) theFUEL_BUDGETStable literal incrates/id-worlds/src/sandbox.rsdiffed against unmodified main's — byte-identical (sandbox.rs is untouched by this PR); (3) the checked-in fuel tests pass (in theid-worldssuite).--no-default-features --features world(theid-libshape) fails identically to main (2 errors,src/boards.rs:1998,2000);--no-default-featurespasses, as it has since 5b (named delta there; no shipped derivation uses that shape).ls pkgs/id/src | grep worldis empty and nopub mod world*/ sandbox / shell-contract / directory implementation remains in facadesrc/— only re-export shims.nix build ./pkgs/id#id-lib— result posted as a PR comment (expected parity: build phase passes, check phase fails only on the pre-existing probe compile error).🤖 Agent note — crate-split step 5c, issue #4408.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.