Skip to content

fix: regenerate index_capnp.rs for capnp 0.26 compatibility#1467

Merged
premitor[bot] merged 3 commits into
masterfrom
dependabot/cargo/capnp-0.26.0
Jun 23, 2026
Merged

fix: regenerate index_capnp.rs for capnp 0.26 compatibility#1467
premitor[bot] merged 3 commits into
masterfrom
dependabot/cargo/capnp-0.26.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 19, 2026

Copy link
Copy Markdown
Contributor

capnp 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, breaking compilation.

Changes

  • src/index_capnp.rs — regenerated using capnpc 0.26; removes the now-invalid encoded_node field initializers from RawEnumSchema struct 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

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Jun 19, 2026
@premitor premitor Bot enabled auto-merge (squash) June 19, 2026 18:04
@premitor

premitor Bot commented Jun 19, 2026

Copy link
Copy Markdown

🤖 Auto-merge enabled. This PR will merge automatically once all required checks pass.

@dependabot dependabot Bot force-pushed the dependabot/cargo/capnp-0.26.0 branch from 482af24 to 0c7a761 Compare June 19, 2026 18:09
@premitor

premitor Bot commented Jun 19, 2026

Copy link
Copy Markdown

🤖 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>
@dependabot dependabot Bot force-pushed the dependabot/cargo/capnp-0.26.0 branch from 0c7a761 to 81ac7d4 Compare June 23, 2026 11:53
@premitor

premitor Bot commented Jun 23, 2026

Copy link
Copy Markdown

🤖 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.
auto-merge was automatically disabled June 23, 2026 12:00

Head branch was pushed to by a user without write access

Copilot AI requested a review from pamburus June 23, 2026 12:00
@premitor premitor Bot enabled auto-merge (squash) June 23, 2026 13:44
@premitor

premitor Bot commented Jun 23, 2026

Copy link
Copy Markdown

🤖 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.
auto-merge was automatically disabled June 23, 2026 15:16

Head branch was pushed to by a user without write access

Copilot AI changed the title build(deps): bump capnp from 0.25.6 to 0.26.0 fix: regenerate index_capnp.rs for capnp 0.26 compatibility Jun 23, 2026
@premitor premitor Bot enabled auto-merge (squash) June 23, 2026 18:09
@premitor

premitor Bot commented Jun 23, 2026

Copy link
Copy Markdown

🤖 Auto-merge enabled. This PR will merge automatically once all required checks pass.

@codecov

codecov Bot commented Jun 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.05%. Comparing base (0225a4f) to head (b38c286).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@premitor premitor Bot merged commit c2df0ce into master Jun 23, 2026
13 checks passed
@premitor premitor Bot deleted the dependabot/cargo/capnp-0.26.0 branch June 23, 2026 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant