Repository navigation
chore(deps): upgrade jsonschema to 0.62 and redb to 5 - #68
Merged
Merged
Conversation
The tests posted to the listener 200 ms after execute() returned. The listener starts in the instance's task, after the store's first writes, so on a busy machine the request was refused (the Test Suite failure on #64, which happens on main too). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
redb 5 removes the inherent get()/range() of ReadOnlyTable (use ReadableTable) and takes a KeyRange in range() and retain_in(), without the key type parameter. The file format and the tables' &str/&[u8] encodings are unchanged, so existing stores open as they are. A new spec proves it with databases written by jackdaw 0.3.0 on redb 4, one closed cleanly and one left open. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Owner
Author
|
Both libraries are upgraded. As you asked, nothing now checks or promises that old saved data still opens. |
Opening existing Redb files is not something this upgrade has to guarantee. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
arminhammer
deleted the
task/upgrade-jsonschema-0-62-and-redb-5-repla
branch
November 29, 2026 21:26
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Upgrades
jsonschema0.61.2 → 0.62.0 andredb4.6.0 → 5.0.0, and fixes what made both Dependabot PRs fail.Supersedes #64 and #65.
Why they failed
listen_read_modes_tests, not the upgrade. The tests posted to the listener 200 ms afterexecute()returned, and on a busy runner it was not listening yet (Connection refused). Onmain, limited to 1% of a CPU, it failed 20 of 20 runs; with this fix, 0 of 20. The tests now wait for the port.get()/range()ofReadOnlyTable, andrange()/retain_in()now take aKeyRangewithout a key type parameter.Compatibility
RedbPersistence::db,RedbCache::newand the*_TABLEconstants expose redb types, so code using its ownredb::Databasewith them must move to redb 5.cargo semver-checkspasses because it does not follow dependency types. The version is not bumped here; the next release may want to be 0.4.0.Checks run locally
8000fmt, clippy (
--all-targets --all-features),cargo hack clippy --each-feature,just wasm-checkandwasm-test, docs with warnings denied,cargo +1.94 check, semver-checks, audit (3 unmaintained warnings, no vulnerabilities), deny, publish dry run, Docker build, andcargo test --all-featureswith Postgres, plus the library specs on SQLite and Postgres. The Docker integration tests ran against an existing localjackdaw:latestimage, not the one built from this branch.Two
ctx.run_scriptspecs and one config spec (y:4:false::0) fail locally on Redb both here and onmain. They also show in earlier CI runs, wherelib_featuresfailures do not fail the job. In this PR's CI that hides 5 failed specs in the Test Suite and 22 and 23 in the SQLite and Postgres jobs (mostly MCP specs whose stub server those jobs do not build). One Postgres spec (runner.feature:132) is flaky onmaintoo (1 of 15 local runs; 2 of 15 here). Worth a follow-up.🤖 Generated with Claude Code