Repository navigation
[build] rust version bumps - #8912
Conversation
There was a problem hiding this comment.
Superseded by the review of
c473c3a1.
This review, of 06ae639f
✅ Approved — This is a routine dependency and toolchain bump with one consistent API adaptation in config.rs, and no issues were found.
The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.
✅ All checks passed
🚀 Release: ✅ LGTM
No issues found.
🔒 Security: ✅ LGTM
No issues found.
📖 AGENTS.md: ✅ LGTM
No issues found.
📋 Code Quality: ✅ LGTM
No issues found. The capnp::Error change to error.extra() is consistent with capnp 0.28, the capnpc repo name in build/deps/rust.MODULE.bazel matches the lock, the rand feature rename fits the APIs in use, and dropping the stale compile_flags.txt include is a safe cleanup.
⚡ Performance: ✅ LGTM
No issues found. The change only bumps dependencies and tooling and does not touch any hot paths.
📝 Documentation: ✅ LGTM
No issues found.
Reviewed commit: 06ae639f
|
The generated output of |
06ae639 to
c473c3a
Compare
There was a problem hiding this comment.
Superseded by the review of
7b5b97d3.
This review, of c473c3a1
✅ Approved — This is a routine dependency and toolchain bump with one matching capnp API change in config.rs. Since the last review, only the capnp-cpp pin and its lockfile entry changed, and the sha256, strip_prefix and URL all point to the same commit. No issues found.
The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.
✅ All checks passed
🚀 Release: ✅ LGTM
No issues found.
🔒 Security: ✅ LGTM
- The capnp-cpp archive is still pinned by sha256.
- The rand feature rename keeps the OS randomness source.
- The
config.rschange affects only error text.
📖 AGENTS.md: ✅ LGTM
No issues found.
📋 Code Quality: ✅ LGTM
config.rsnow useserror.extra(), which fits capnp 0.28. This is the only place in the repo that destructurescapnp::Error. Other uses only format the error.- The rand feature rename from
os_rngtosys_rngfits therand::fillandrand::randomcalls in use. - The capnpc repo name in
build/deps/rust.MODULE.bazelmatches the lock. - Removing the stale
compile_flags.txtinclude is safe. - The capnp-cpp pin's sha256,
strip_prefixand URL all agree on the same commit.
⚡ Performance: ✅ LGTM
This change only bumps dependencies and tooling. It touches no hot paths.
📝 Documentation: ✅ LGTM
No issues found.
Reviewed commit: c473c3a1
c473c3a to
7b5b97d
Compare
There was a problem hiding this comment.
Superseded by the review of
414b0043.
This review, of 7b5b97d3
✅ Approved — Routine dependency and toolchain bump. The only change since the last review is in config.rs: it now calls error.extra() for capnp 0.28 and adds a clippy expect that other map_err adapters in the repo also use. No issues found.
The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.
✅ All checks passed
🚀 Release: ✅ LGTM
No issues found.
🔒 Security: ✅ LGTM
- The capnp-cpp archive is still pinned by sha256.
- The rand feature rename from
os_rngtosys_rngkeeps OS randomness as the source. - The
config.rschange only affects how error text is built.
📖 AGENTS.md: ✅ LGTM
No issues found.
📋 Code Quality: ✅ LGTM
capnp_errorinconfig.rsnow callserror.extra()and carries#[expect(clippy::needless_pass_by_value)].- Other
map_erradapters use the same lint expectation, for examplesrc/workerd/server/server/services/mod.rs:141. - Callers pass
capnp_errorstraight tomap_err, so it has to take the error by value.
- Other
- The lockfile entries for capnp 0.28.2, capnpc 0.28.1 and rand 0.10 are consistent with
Cargo.tomland withbuild/deps/rust.MODULE.bazel. - The capnp-cpp pin's sha256,
strip_prefixand URL all point to the same commit.
⚡ Performance: ✅ LGTM
This change only bumps dependencies and tooling. It touches no hot paths.
📝 Documentation: ✅ LGTM
No issues found.
Reviewed commit: 7b5b97d3
7b5b97d to
414b004
Compare
There was a problem hiding this comment.
Superseded by the review of
cdea1bfe.
This review, of 414b0043
✅ Approved — This is a routine dependency and toolchain bump. The capnp-cpp pin update is consistent across deps.MODULE.bazel and MODULE.bazel.lock, and no issues were found.
The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.
✅ All checks passed
🚀 Release: ✅ LGTM
No issues found.
🔒 Security: ✅ LGTM
The capnp-cpp archive is still pinned by sha256. Renaming the rand feature keeps the OS as the source of randomness.
📖 AGENTS.md: ✅ LGTM
No issues found.
📋 Code Quality: ✅ LGTM
- Pins and lockfiles: The capnp-cpp pin in
build/deps/gen/deps.MODULE.bazelis still pinned by sha256, and its URL andstrip_prefixpoint to the same commit.MODULE.bazel.lockmatches the pin, andCargo.tomlmatchesbuild/deps/rust.MODULE.bazel. - rand 0.10: The
randfeature that wasos_rngis nowsys_rng, and the existing call sites still work. config.rs:capnp_errornow takes the error by value, whichmap_errneeds, so itsneedless_pass_by_valuelint expectation is justified.compile_flags.txt: The removed include path pointed to a crate that no longer exists.
⚡ Performance: ✅ LGTM
This is a dependency and toolchain bump and touches no hot paths.
📝 Documentation: ✅ LGTM
No issues found.
Reviewed commit: 414b0043
414b004 to
cdea1bf
Compare
There was a problem hiding this comment.
Superseded by the review of
7199c315.
This review, of cdea1bfe
✅ Approved — This is a routine dependency and toolchain bump. The only code change since the last review is a small capnp_error update for the capnp 0.28 API, and it looks correct.
The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.
✅ All checks passed
🚀 Release: ✅ LGTM
No issues found.
🔒 Security: ✅ LGTM
The capnp-cpp archive is still pinned by sha256. The rand feature rename keeps the OS as the source of randomness.
📖 AGENTS.md: ✅ LGTM
No issues found.
📋 Code Quality: ✅ LGTM
- Pins:
deps/rust/Cargo.tomlandbuild/deps/rust.MODULE.bazelboth use capnp and capnpc 0.28. The capnp-cpp archive is still pinned by sha256. config.rs:capnp_errornow reads the message witherror.extra()and still takes the error by value formap_err. The#[expect]explains why.
⚡ Performance: ✅ LGTM
This is a dependency and toolchain bump and touches no hot paths.
📝 Documentation: ✅ LGTM
No issues found.
Reviewed commit: cdea1bfe
cdea1bf to
7199c31
Compare
There was a problem hiding this comment.
Superseded by the review of
118c5073.
This review, of 7199c315
✅ Approved — This is a routine dependency bump and no issues were found. The capnp-cpp pin update since the last review matches in both deps.MODULE.bazel and MODULE.bazel.lock, and it is still pinned by sha256.
The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.
✅ All checks passed
🚀 Release: ✅ LGTM
No issues found.
🔒 Security: ✅ LGTM
- capnp-cpp archive: It is still pinned by sha256 and fetched over HTTPS from the upstream repository.
randfeatures: The rename fromos_rngtosys_rngkeeps the OS as the source of randomness.config.rs: The capnp error path still fails closed.
📖 AGENTS.md: ✅ LGTM
No issues found.
📋 Code Quality: ✅ LGTM
- Pins:
deps/rust/Cargo.tomlandbuild/deps/rust.MODULE.bazelboth use capnp and capnpc 0.28. - capnp-cpp archive: It moves to upstream commit
c5f033d. The sha256,strip_prefixand URL change together, andMODULE.bazel.lockmatches them. config.rs:capnp_errornow reads the message witherror.extra(). It still takes the error by value so callers can pass it straight tomap_err, and the#[expect]explains why.
⚡ Performance: ✅ LGTM
This is a dependency and toolchain bump. It touches no hot paths.
📝 Documentation: ✅ LGTM
No issues found.
Reviewed commit: 7199c315
There was a problem hiding this comment.
✅ Approved — This is a routine dependency bump plus a test-only fix for flaky server tests, and no issues were found.
The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.
✅ All checks passed
🚀 Release: ✅ LGTM
This pull request bumps dependencies only. It does not change release artifacts or the project's version.
🔒 Security: ✅ LGTM
No issues found.
📖 AGENTS.md: ✅ LGTM
No issues found.
📋 Code Quality: ✅ LGTM
recvWaiting(): It handles theprematurebyte the same wayreadAllAvailable()does and reads exactly as many bytes as expected, so thePUTrequest is read in full before the test replies.- Cache re-put test: The test now takes the
PUTon its own subrequest withreceiveSubrequest("cache-host")and replies on that connection.
⚡ Performance: ✅ LGTM
No issues found.
📝 Documentation: ✅ LGTM
No issues found.
Reviewed commit: 118c5073
Updates a bunch of outdated dependencies, including capnp. Supersedes #8902.
capnproto PR: capnproto/capnproto#2948