fix: regenerate index_capnp.rs for capnp 0.26 compatibility#1467
Conversation
|
🤖 Auto-merge enabled. This PR will merge automatically once all required checks pass. |
482af24 to
0c7a761
Compare
|
🤖 Auto-merge enabled. This PR will merge automatically once all required checks pass. |
Bumps [capnp](https://github.com/capnproto/capnproto-rust) from 0.25.6 to 0.26.0. - [Commits](capnproto/capnproto-rust@capnp-v0.25.6...capnp-v0.26.0) --- updated-dependencies: - dependency-name: capnp dependency-version: 0.26.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
0c7a761 to
81ac7d4
Compare
|
🤖 Auto-merge enabled. This PR will merge automatically once all required checks pass. |
The capnp dependency was bumped from 0.25.6 to 0.26.0, which removed the `encoded_node` field from `RawEnumSchema`. The committed `src/index_capnp.rs` was generated by capnpc 0.25.x and still referenced that field, causing a compile error in CI. Regenerated `src/index_capnp.rs` using capnpc 0.26 to match the updated API.
Head branch was pushed to by a user without write access
|
🤖 Auto-merge enabled. This PR will merge automatically once all required checks pass. |
The .build/capnp/index.capnp.json hash file still recorded the hash of the old src/index_capnp.rs (generated by capnpc 0.25.x). With the new generated file in place, this caused the build script to unconditionally re-run capnpc on every build. Updated the target hash to match the current src/index_capnp.rs.
Head branch was pushed to by a user without write access
|
🤖 Auto-merge enabled. This PR will merge automatically once all required checks pass. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1467 +/- ##
=======================================
Coverage 90.05% 90.05%
=======================================
Files 72 72
Lines 12322 12322
=======================================
Hits 11096 11096
Misses 1226 1226 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
capnpwas bumped from 0.25.6 to 0.26.0, which removed theencoded_nodefield fromRawEnumSchema. The committedsrc/index_capnp.rswas generated by capnpc 0.25.x and still referenced that field, breaking compilation.Changes
src/index_capnp.rs— regenerated using capnpc 0.26; removes the now-invalidencoded_nodefield initializers fromRawEnumSchemastruct literals.build/capnp/index.capnp.json— updated target hash to match the newly generated file, so the build script's capnpc-skip logic works correctly on subsequent builds