Repository navigation
fix(tinyjuice-module): accept any compatible TinyBus 0.3 release - #126
Conversation
The exact `=0.3.6` requirement on the git TinyBus dependency kept a host's `[patch]` from unifying it with the host's own TinyBus. A host on a newer 0.3 release then compiled a second TinyBus for this crate, and the storage proxy calls failed to type-check across the two copies. A caret 0.3.6 requirement keeps this workspace's resolution unchanged. Bump tinyjuice-module to 0.11.6 for the release.
Tiny Sweeper reviewReviewed head: Verdict: Ready for maintainer review · Priority: none Diagnostics and supporting detailsFull summaryPull request purpose (title): fix(tinyjuice-module): accept any compatible TinyBus 0.3 release. The pull request, titled "fix(tinyjuice-module): accept any compatible TinyBus 0.3 release", replaces the exact `=0.3.6` TinyBus requirements in `tinyjuice-module` with caret requirements (`0.3.6`) and bumps the crate to 0.11.6 so the change can be released. Per the description, the pin prevented a host's `[patch]` from unifying this adapter with the host's TinyBus 0.3.x line, so openhuman on TinyBus 0.3.12 compiled a second TinyBus copy for `tinyjuice-module` and the storage-proxy calls failed with E0308 type mismatches (`service.rs:382`, `service.rs:385`, `storage.rs:33`); the fixed git revision keeps this workspace's own resolution at 0.3.6. No trusted push delta was available for this review, and the descriptions of test runs come from the pull-request description rather than from verified check evidence. Unreviewed paths
Review snapshot
Completeness: Complete What changed`crates/tinyjuice-module/Cargo.toml` moves the crate version from 0.11.5 to 0.11.6 and relaxes the `tinybus`, `tinybus-module` and dev-only `tinybus` requirements from `=0.3.6` to `0.3.6`, while keeping the existing git URL and revision pin in all three entries. Because the source stays pinned by revision, the workspace still resolves to the same TinyBus code; the practical effect is that a downstream host can use `[patch]` to unify its own TinyBus 0.3.x copy with `tinyjuice-module`, avoiding two compiled TinyBus crates and the resulting `BusName`/`Connection` type mismatches. The description also states a single `Cargo.lock` hunk updating the `tinyjuice-module` version line; the critique lane could not confirm that lockfile entry, so it was unable to verify that `--locked` builds line up with 0.11.6. The released 0.11.5 module is reported as unaffected. Features
TestsNo supported feature-to-test mapping was produced. Test execution is not inferred. FindingsNo active actionable findings. Before mergeNone. Agent review detailscritique
security
tests
commits
description
Evidence and run details
|
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
The exact
=0.3.6TinyBus requirement in tinyjuice-module stops a host's[patch]from unifying tinyjuice-module with the host's TinyBus 0.3.x. openhuman, now on TinyBus 0.3.12, ends up compiling a second TinyBus just for tinyjuice-module, and the storage-proxy calls fail with E0308: expectedtinybus::name::BusName/tinybus::connection::Connection, found the other copy's types (service.rs:382,service.rs:385,storage.rs:33).A caret requirement (
"0.3.6") fixes it and leaves this workspace's own resolution unchanged: the git rev stays 6ce06bc, and the Cargo.lock change is the tinyjuice-module version line only. It also bumps tinyjuice-module to 0.11.6 so this can be released. v0.11.6 isn't tagged on this repo or on any fork.Changes:
crates/tinyjuice-module/Cargo.toml: tinybus, tinybus-module and the dev tinybus go from=0.3.6to0.3.6; version 0.11.5 → 0.11.6.Cargo.lock: one hunk, the tinyjuice-module version.Validation on the self-hosted Linux runner, compared with main 203f4f6:
cargo build --workspace --all-targets --all-features --lockedandcargo test --workspace --lockedpass (969 passed), and the tree stays clean.The released 0.11.5 module isn't affected: it's built on TinyBus 0.3.6, which a 0.3.12 host admits (same 0.3 series). This only matters when a host builds tinyjuice-module from source.
After merge: tag v0.11.6 at the merge commit.
Summary by CodeRabbit