Repository navigation
deps: move to ulid 3, whose generator is Ulid::generate - #97
Conversation
ulid 3 drops Ulid::new() in favour of Ulid::generate(), which produces the same 26-character, time-ordered ids. The queue's key::ulid and the testkit and queue test helpers switch to it. No public type exposes ulid::Ulid, so the bump is internal. ulid 3 builds on the 1.89 MSRV. The root and both proof-workspace lockfiles change only ulid and what it strictly needs (rand 0.10); document-callback also drops the rand 0.9 crates that only ulid 1 used. Supersedes tinyhumansai#90 (dependabot).
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
Tiny Sweeper reviewReviewed head: Verdict: Ready for maintainer review · Priority: none Diagnostics and supporting detailsFull summaryPull request purpose (title): deps: move to ulid 3, whose generator is Ulid::generate. Tiny Sweeper completed its review; deterministic results follow. Unreviewed paths
Review snapshot
Completeness: Complete What changed- `Cargo.toml` raises the workspace `ulid` dependency from "1" to "3", and the root, document-callback and storage-callback lockfiles move to ulid 3.0.0 with the corresponding rand 0.10 line, per the description. - The queue id helper `key::ulid` in `crates/tinystoragedrivers-queue/src/key.rs` switches from `ulid::Ulid::new()` to `ulid::Ulid::generate()`, still returning a `String`. - Four test/conformance unique-name helpers make the same rename: `crates/tinystoragedrivers-queue/tests/live.rs`, `crates/tinystoragedrivers-queue/tests/support/queue_port.rs`, `crates/tinystoragedrivers-testkit/src/conformance.rs` and `crates/tinystoragedrivers-testkit/src/conformance/queue.rs`. - The format! call in three of those helpers is reflowed across lines; the generated name shape (`{label}_{lowercased ulid}`) is unchanged. - Behaviorally, id generation remains 26-character, time-sortable and opaque to callers; there is no change to any public type or signature. 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
|
Summary
Move to ulid 3. ulid 3 replaces
Ulid::new()withUlid::generate(), which produces the same 26-character, time-ordered ids. The queue'skey::ulid(crates/tinystoragedrivers-queue/src/key.rs) and the queue and testkit test helpers switch to it.This supersedes dependabot's #90, which only bumped the version and failed to compile (E0599 at
key.rs:39).Related issue
Supersedes #90.
API or behavior changes
None. No public type exposes
ulid::Ulid;key::ulidispub(crate)and returns aString.Validation
On a Linux build host, on main fa8548c (merges cleanly onto v2.1.3, f5a3302):
cargo fmt --all -- --checkcargo clippy --workspace --all-targets --all-features --locked -- -D warnings: 0 itemscargo test --workspace --locked: 570 passed, 0 failed, 1 ignored.--all-features: 855 passed, 0 failed, 1 ignored. Both are the same as main.cargo +1.89 check --workspace --locked --all-features(MSRV)cargo deny --locked check all: exit 0cargo build --lockedTests
No new tests. The queue's id and conformance tests cover the generated ids.
Downstream
tinyflows already moved to ulid 3 (tinyflows#191). Once this is released, a tinyflows tinystoragedrivers bump leaves one ulid in its lock, and openhuman's root lock follows.