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 — fix(id): shell contract v1.4 expectation + vendored crates out of the workspace (#4015) by dezren39 · Pull Request #4027 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 1, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

Fixes #4015 — the last gate for the #3720 fold switch — plus #4047, a fourth breakage of the same class found while landing this.

1. Stale shell-contract expectation (#4015a — test wrong, code right)

d488f321 (feat(id): revisioned JSON ScreenPatch view frames — #805 Phase 1) deliberately bumped contract/shell-contract.v1.json revision 3 → 4, adding the screen_patches / view_revision / base_view_revision frame fields, and updated the contract's own tests in the same commit. It missed the expected string in commands::world::tests::the_contract_check_reports_conformance_or_every_violation. The report is formatted from the live contract (v{version}.{revision}), so v1.4 is the intended current version; the test expectation now says v1.4.

2. sqlx-sqlite in Cargo.lock (#4015b — accidental creep, removed at the owner)

Provenance, established from the lock + manifests + cargo metadata:

  • The sqlx-sqlite package stanza entered pkgs/id/Cargo.lock at 5969721a — the pkgs/id: split the monolith crate into sub-crates along module seams (prioritized by Drew 2026-11-01) #3447 crate split that converted pkgs/id into a Cargo workspace. (d488f321 only inherited it.)
  • Mechanism: vendor/p2panda-sync and vendor/p2panda-encryption are path dependencies inside the workspace root, so Cargo treated them as automatic workspace members (cargo metadata listed all four). A member's feature graph joins the lock resolve, and p2panda-sync's test_utils feature forwards to p2panda-store/test_utils → sqlite → the whole sqlx family. cargo tree -p p2panda-sync --all-features contains sqlx; cargo tree -p id --all-features does not; a fresh cargo generate-lockfile still contains it (live resolution, not stale residue).
  • Intent evidence: nobody adopted sqlx-sqlite. Every manifest declares p2panda-store with default-features = false precisely to keep SQLite out, and the vendored sync's substantive change exists for the same reason. Not the intentional-adoption branch of build(id): two test failures at main — stale shell-contract v1.3 expectation + sqlx-sqlite back in the lock (blocks code#3720 fold) #4015.

Fix: list both vendored crates in [workspace] exclude (restoring their documented outside-the-workspace status) and re-resolve with cargo update -w. Lock diff is removals-only, zero version changes: the sqlx family and the stanzas reachable only through the phantom member graph are gone; workspace members are now exactly id + id-core; the vendored crates remain in the lock as path dependencies. Documented in vendor/README.md.

3. ChainExt literal missing the #3814 note field (#4047)

At merged main, cargo test -p id --lib did not compile: ChainExt gained note: Option<NoteOp> (#3814), 8a5ccbfe updated the integration-test literals, and the lib-test literal in src/idset.rs was missed. One line: note: None (a writer-kind event carries no note operation).

Verification (laptop)

  • cargo test -p id --lib at the pre-merge tip: 1514 passed, 0 failed — both build(id): two test failures at main — stale shell-contract v1.3 expectation + sqlx-sqlite back in the lock (blocks code#3720 fold) #4015 tests ok.
  • cargo test -p id-core --lib: 238 passed, 0 failed.
  • At the merged tip (with build(id): lib test E0063 — ChainExt literal in idset.rs tests missing the #3814 note field (blocks #3720 fold) #4047): suite compiles; both build(id): two test failures at main — stale shell-contract v1.3 expectation + sqlx-sqlite back in the lock (blocks code#3720 fold) #4015 tests ok; one unrelated failure — log_sync bulk-session test, a load-sensitive 60s deadline that passes in isolation (39s) and is filed as test(id): log_sync bulk-session test is load-sensitive — 60s retry deadline flakes under parallel load #4057.
  • nix build .#id-web (pkgs/id flake, doCheck runs the suite): result appended on build(id): two test failures at main — stale shell-contract v1.3 expectation + sqlx-sqlite back in the lock (blocks code#3720 fold) #4015.

No new dependencies. Dependency-graph change: removal of the sqlx family from the lock (see §2). One pre-existing cargo fmt --check diff in src/abuse.rs exists at main and is untouched by this PR.

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
Muse Sweep and others added 2 commits November 1, 2026 22:16
Muse Sweep
fix(id): shell contract v1.4 expectation + exclude vendored crates fr…
423c817
…om the workspace (#4015)

1. Stale test expectation: d488f32 deliberately bumped the shell
   contract revision 3 -> 4 (new ScreenPatch view frame fields,
   #805 Phase 1) and updated the contract tests, but missed the
   expected string in world.rs. The code reporting v1.4 is right;
   the test now expects v1.4.

2. sqlx-sqlite in Cargo.lock: the vendored p2panda-sync and
   p2panda-encryption were automatic workspace members (path deps
   inside the workspace root). A member's feature graph joins the
   lock resolve, so p2panda-sync's test_utils feature pulled
   p2panda-store/test_utils -> sqlite -> the whole sqlx family
   into the lock at the #3447 workspace conversion, although no
   build here enables it (every manifest declares the store with
   default-features = false). Exclude both vendored crates from
   the workspace, restoring the vendor copies' documented
   outside-the-workspace status; the lock re-resolve follows in
   the next commit.
@dezren39
fix(id): re-resolve the lock without the vendored member graph (#4015)
bc86b30
cargo update -w after the workspace exclusion: removals only, no
version changes. Gone are the sqlx family (sqlx, sqlx-core,
sqlx-macros, sqlx-macros-core, sqlx-mysql, sqlx-postgres,
sqlx-sqlite) and the stanzas only reachable through the phantom
member graph (p2panda-stream, atoi, dotenvy, hashlink, etc.).
Workspace members are now exactly id + id-core; the vendored
crates remain path dependencies in the lock.
@dezren39
dezren39 requested a review from a team as a code owner November 1, 2026 22:18
@coderabbitai

coderabbitai Bot commented Nov 1, 2026 •
edited
Loading

Uh oh!

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

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 31 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: 775363e2-b491-46d1-97db-0ca0e7eba344
Commits

Reviewing files that changed from the base of the PR and between 632b31d and 3ddc634.

Files ignored due to path filters: 1
  • pkgs/id/Cargo.lock is excluded by !**/*.lock
Files selected for processing: 6
  • pkgs/id/Cargo.toml
  • pkgs/id/crates/id-core/src/discovery.rs
  • pkgs/id/crates/id-core/src/tuple.rs
  • pkgs/id/src/commands/world.rs
  • pkgs/id/src/idset.rs
  • pkgs/id/vendor/README.md
  • 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 1, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-01T23:39:18.851092Z 3ddc634 New commits
ℹ️ 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.

Muse Sweep
Merge origin/main into fix/id-4015 (base refresh before landing; no o…
fe9c126
…verlap with the #4015 files)
@dezren39 dezren39 mentioned this pull request Nov 1, 2026
build(id): lib test E0063 — ChainExt literal in idset.rs tests missing the #3814 note field (blocks #3720 fold) #4047
Closed
Muse Sweep
fix(id): ChainExt literal in idset tests missing the #3814 note field (…
ef280b0
…#4047)

cargo test -p id --lib did not compile at main: ChainExt gained
note: Option<NoteOp> in the #3814 note work, 8a5ccbf updated
the integration-test literals, and this one lib-test literal
(a writer-kind sample-set event) was missed. note: None — the
event carries no note operation, like its other empty fields.
The only E0063 in the lib test target.
@dezren39 dezren39 mentioned this pull request Nov 1, 2026
build(id): id-core doc tests E0433 — examples still use id:: paths after the #3447 crate split (blocks #3720 fold) #4073
Closed
Muse Sweep
fix(id): id-core doc examples use id_core:: paths after the crate spl…
3ddc634
…it (#4073)

The #3447 split moved tuple and discovery into id-core but their
doc examples kept importing them as id::tuple / id::discovery,
which no longer resolves from inside id-core (E0433 in rustdoc).
Five sites, import paths only; the examples themselves are
unchanged. Never reached since the split because every build
died earlier in the suite.
This was referenced Nov 1, 2026
build(id): two test failures at main — stale shell-contract v1.3 expectation + sqlx-sqlite back in the lock (blocks code#3720 fold) #4015
Closed
test(id): log_sync bulk-session test is load-sensitive — 60s retry deadline flakes under parallel load #4057
Closed
@dezren39
dezren39 merged commit ee75087 into main Nov 2, 2026
4 checks passed

Uh oh!

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

@dezren39
dezren39 deleted the fix/id-4015 branch November 2, 2026 00:43
This was referenced Nov 2, 2026
build(id): worker_poc_reference test still includes examples/tic-tac-toe after df3f836e moved it to apps/ (breaks toplevel build at main) #4111
Closed
fix(id): point worker-poc tic-tac-toe fixture at its apps/ home (#4111) #4112
Merged
Fold script-installed laptop user units into the flake (github-backup, worktree-reaper, quota exports, dashboard-backup, oc-password-sync) #3720
Closed
id: F12.11 delta and binary frames (screen patches, resume tokens) #805
Closed
@dezren39 dezren39 mentioned this pull request Nov 21, 2026
Closure audit: every closed issue/PR verified; unmerged branches + unpushed worktrees inventoried #7079
Open
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

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

build(id): two test failures at main — stale shell-contract v1.3 expectation + sqlx-sqlite back in the lock (blocks code#3720 fold)

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.