Skip to content

chore: batch of follow-ups for the next release (rustcrypto upgrade, windows, corpus, builders) - #15

Merged
nahime0 merged 9 commits into
mainfrom
chore/release-followups
Nov 25, 2026
Merged

nahime0 merged 9 commits into
mainfrom
chore/release-followups

Conversation

@nahime0

@nahime0 nahime0 commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Stacked on #13: merge that one first, then this pull request retargets to main by itself. Together with #13 and #14 it collects everything pending, so that one software release can carry all of it.

Dependencies

  • aes 0.9, aes-gcm 0.11, sha2 0.11 and ed25519-dalek 3.0 are upgraded together, so the graph keeps one version of each and aes keeps key zeroization. They are internal to the crate: the public API does not change, and the protection vectors confirm identical bytes.
  • sha2 0.11 digests no longer implement LowerHex, so digests are rendered through a small digest::hex helper.
  • aes-gcm is built without its operating-system random source, which was never used.
  • clap 4.6.9 and jsonschema 0.63 are included, which supersedes chore(deps): bump clap from 4.6.7 to 4.6.9 #7 and chore(deps): bump jsonschema from 0.58.6 to 0.63.0 #12.

Windows

background_publication_and_local_edits_share_a_coherent_outbox_snapshot failed once on Windows with "database is locked". The publisher thread waited at most five seconds for the write lock while the main thread edited in a tight loop. SQLite polls for a busy lock instead of queueing, so on slow storage the wait expired. Setting the timeout to zero reproduces the identical failure on Linux. The test now waits long enough and the sync guide documents the busy timeout a background publisher needs.

The Windows job passed on every run of this branch, so continue-on-error is removed and the job now blocks. Windows is still not a release target.

Conformance corpus

16 new cases (64 in total) cover packages protected with the official protection extension and delta transfers. A case can list the inputs its verification needs: trusted signer keys, decryption keys or the base edition of a delta. The 48 existing archives are byte-for-byte unchanged; regenerate_corpus now keeps committed archives and only writes missing ones.

Library

  • A resource or delta payload longer than its verified size is reported as invalid (transfer.changed) instead of a resource-limit failure. Found by the new corpus case invalid-delta-changed-payload.
  • SyncLimits and SessionOptions gain with_* builders. They were the only growable option types without them, found while moving an application to the 2.0 API.

Documentation

docs/profiles.md gains a section with recommendations for durable content formats. They are guidance for profile authors, not conformance rules.

Checks

cargo clippy -D warnings, cargo test (default features, no default features, and sync protocol 1.0.0), cargo deny check, the Python guards and the catalog checks pass locally.

@nahime0 nahime0 changed the title chore(deps): upgrade the rustcrypto crates, fix the windows sync test and add format guidance chore: batch of follow-ups for the next release (rustcrypto upgrade, windows, corpus, builders) Nov 25, 2026
@nahime0
nahime0 deleted the branch feat/retire-old-versions-for-writing November 25, 2026 22:17
@nahime0 nahime0 closed this Nov 25, 2026
@nahime0 nahime0 reopened this Nov 25, 2026
@nahime0
nahime0 changed the base branch from feat/retire-old-versions-for-writing to main November 25, 2026 22:17
@nahime0
nahime0 merged commit 6b88451 into main Nov 25, 2026
27 checks passed
@nahime0
nahime0 deleted the chore/release-followups branch November 25, 2026 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant