GeezerVison is showing github.com — pkgs/id crate split step 3a: abuse + frames + block-list vocabulary to id-core (#4406) by dezren39 · Pull Request #8703 · developing-today/code
Conversation
dezren39
commented
Nov 11, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Step 3a of the pkgs/id crate split (#4406): the preliminary seam-8 move that unblocks log_sync for the id-sync extraction.
What moved
src/frames.rs → crates/id-core/src/frames.rs (design seam 8: framing drops to the kernel as a leaf).
src/abuse.rs → crates/id-core/src/abuse.rs. Inspection showed abuse is leaf-like: its only non-test reference above the kernel was crate::event_store::BlockList, which is a re-export of id_store::event_types::BlockList.
BlockKind + BlockList (and the Arc<T> impl) → new crates/id-core/src/block_list.rs. Both are leaf vocabulary (a kind tag; three questions over raw bytes). The Block row stays in id-store::event_types (its decoding needs StoreError); id-store re-exports BlockKind/BlockList at their historical paths, so no call site changed.
- The facade re-exports
id_core::abuse and id_core::frames at the historical id::abuse / id::frames paths.
AbuseEvaluator::active_connection_count was #[cfg(test)] pub(crate), used by facade world_net tests; it is now behind id-core's existing test-utils feature (the facade's dev-dependencies already enable it), the same pattern as the other test-only helpers.
- The two abuse tests that used the facade's
pull_policy::testing stubs now use a local stub block list in the abuse test module (same shape, BlockList from id_core::block_list).
Verification
- Baseline on unmodified main (33bad1e): full workspace
cargo test --no-fail-fast = 3,689 passed / 1 failed / 57 ignored. The one failure is the pre-existing deterministic frames::tests::byte_refusal_does_not_spend_a_frame_token_or_increment_counters (pkgs/id: frames byte_refusal test fails deterministically on main (RequestTooLarge vs BudgetExhausted) #8620).
- This PR: 3,689 passed / 1 failed / 57 ignored — exact parity. The failing test is the same one, now living in id-core (
frames::tests::byte_refusal_… in the id-core suite), which is where its future pkgs/id: frames byte_refusal test fails deterministically on main (RequestTooLarge vs BudgetExhausted) #8620 fix belongs.
- Fuel canary:
sha256sum pkgs/id/src/sandbox.rs = db88ec8d52e961702353c97a407b77badadef1bd7e0a610a6075267e175d80b5 (unchanged); print_fuel_baseline output byte-identical to the baseline run (72 lines, diff empty).
- Completeness grep:
AbuseEvaluator, BlockKind, BlockList definitions exist only in crates/id-core/src/; the facade has no src/abuse.rs / src/frames.rs.
- Nix:
nix build ./pkgs/id#id-lib (no NIX_CONFIG override) — check-phase parity, stated explicitly:
- Baseline (unmodified main): the check phase FAILS at the facade lib suite — 2,222 passed / 1 failed, the failure being
frames::tests::byte_refusal_… (pkgs/id: frames byte_refusal test fails deterministically on main (RequestTooLarge vs BudgetExhausted) #8620) — and stops there.
- This PR: the facade lib suite passes (2,183 passed / 0 failed; the pkgs/id: frames byte_refusal test fails deterministically on main (RequestTooLarge vs BudgetExhausted) #8620 test now lives in id-core, whose tests the id-lib check phase does not run), and the check proceeds to
tests/cli_integration.rs, where it fails on cli_tests::world_new_scaffold_compiles_with_pinned_roc: the pinned Roc compiler itself reports "Roc cache writes are failing" / AccessDenied inside the Nix sandbox. That test's inputs (scaffold, examples, roc pin, CLI) are untouched by this PR (6 files, none related), the baseline never reaches it because its check stops at the lib failure, and the same test passes outside the sandbox on both trees. It is a latent sandbox-environment failure unmasked by the pkgs/id: frames byte_refusal test fails deterministically on main (RequestTooLarge vs BudgetExhausted) #8620 relocation, not a regression introduced here; worth its own follow-up issue.
- Note: the cargo-target-broker pooled dirs for this fingerprint were all leased by other fleet work and checkout crashed with a
dirs.path UNIQUE-constraint error instead of waiting; test numbers above were re-measured in a fresh target dir (CARGO_TARGET_DIR), per the standing broker-race procedure.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
chatgpt-codex-connector[bot] reacted with thumbs up emoji
coderabbitai
Bot
commented
Nov 11, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
| Review |
Status |
Commit |
Review trigger |
| 📝 Code Review |
✅ Completed 2026-11-11T14:27:02.167801Z |
1522a89 |
PR opened |
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review" or "@codex security review".
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
|
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.
This was referenced Nov 11, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|