8000 chore(deps): upgrade jsonschema to 0.62 and redb to 5 by arminhammer · Pull Request #68 · arminhammer/jackdaw · GitHub
[go: up one dir, main page]

Skip to content

chore(deps): upgrade jsonschema to 0.62 and redb to 5 - #68

Merged
arminhammer merged 3 commits into
mainfrom
task/upgrade-jsonschema-0-62-and-redb-5-repla
Nov 29, 2026
Merged

arminhammer merged 3 commits into
mainfrom
task/upgrade-jsonschema-0-62-and-redb-5-repla

Conversation

@arminhammer
@arminhammer arminhammer commented Nov 25, 2026 •
Copy link
Copy Markdown
Owner

Upgrades jsonschema 0.61.2 → 0.62.0 and redb 4.6.0 → 5.0.0, and fixes what made both Dependabot PRs fail.

Supersedes #64 and #65.

Why they failed

  • chore(deps): bump jsonschema from 0.62.0 to 0.63.2 #64 (Test Suite): a race in listen_read_modes_tests, not the upgrade. The tests posted to the listener 200 ms after execute() returned, and on a busy runner it was not listening yet (Connection refused). On main, 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.
  • chore(deps): bump redb from 4.6.0 to 5.0.0 #65 (compile errors): redb 5 removed the inherent get()/range() of ReadOnlyTable, and range()/retain_in() now take a KeyRange without a key type parameter.

Compatibility

  • Public API: RedbPersistence::db, RedbCache::new and the *_TABLE constants expose redb types, so code using its own redb::Database with them must move to redb 5. cargo semver-checks passes because it does not follow dependency types. The version is not bumped here; the next release may want to be 0.4.0.
  • Compatibility with existing Redb files is not tested or promised by this change.
  • MSRV stays 1.94.

Checks run locally

8000

fmt, clippy (--all-targets --all-features), cargo hack clippy --each-feature, just wasm-check and wasm-test, docs with warnings denied, cargo +1.94 check, semver-checks, audit (3 unmaintained warnings, no vulnerabilities), deny, publish dry run, Docker build, and cargo test --all-features with Postgres, plus the library specs on SQLite and Postgres. The Docker integration tests ran against an existing local jackdaw:latest image, not the one built from this branch.

Two ctx.run_script specs and one config spec (y:4:false::0) fail locally on Redb both here and on main. They also show in earlier CI runs, where lib_features failures 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 on main too (1 of 15 local runs; 2 of 15 here). Worth a follow-up.

🤖 Generated with Claude Code

arminhammer and others added 2 commits November 24, 2026 23:02
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>
@arminhammer
arminhammer commented Nov 26, 2026 •
Copy link
Copy Markdown
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
arminhammer merged commit abc1d0b into main Nov 29, 2026
19 checks passed
@arminhammer
arminhammer deleted the task/upgrade-jsonschema-0-62-and-redb-5-repla branch November 29, 2026 21: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

0