GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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

@dezren39 dezren39 commented Nov 11, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

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
All reactions
  • 👍 1 reaction
repo-worker-tmp-code-b
pkgs/id crate split step 3a: abuse + frames + block-list vocabulary t…
1522a89
…o id-core (#4406)
@dezren39
dezren39 requested a review from a team as a code owner November 11, 2026 14:24
@coderabbitai

coderabbitai Bot commented Nov 11, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Pre-merge checks: Passed 1 · Inconclusive 1

Failed Failed checks: 1 inconclusive

Check name Status Explanation Resolution
Title check Pending This assessment has not completed. The check will be retried on the next pre-merge check run.
Passed Passed checks: 1 passed

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
  • 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

  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 11, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 merged commit 40043bc into main Nov 11, 2026
3 of 21 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 deleted the crate-split-step3a-frames-core branch November 11, 2026 15:03
This was referenced Nov 11, 2026
pkgs/id crate split step 3c: envelope + envelope_net + envelope_outbox + artifact to id-sync (#4406) #8747
Merged
pkgs/id crate split — step 3: extract id-sync (log_sync + wire layer; artifact lands here) #4406
Closed
pkgs/id: split the monolith crate into sub-crates along module seams (prioritized by Drew 2026-11-01) #3447
Closed
@dezren39 dezren39 mentioned this pull request Nov 21, 2026
Closure audit: every closed issue/PR verified; unmerged branches + unpushed worktrees inventoried #7079
Open
@dezren39 dezren39 added the audit:completed-later Gap completed by later merged PR label Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

audit:completed-later Gap completed by later merged PR

Projects

None yet

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.

1 participant

@dezren39
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.