Skip to content

chore(sns_aggregator): rebaseline candid bindings to didc 0.5.4#7889

Open
yhabib wants to merge 2 commits into
mainfrom
chore-rebaseline-sns-aggregator-patches
Open

chore(sns_aggregator): rebaseline candid bindings to didc 0.5.4#7889
yhabib wants to merge 2 commits into
mainfrom
chore-rebaseline-sns-aggregator-patches

Conversation

@yhabib
Copy link
Copy Markdown
Contributor

@yhabib yhabib commented May 26, 2026

Motivation

The daily aggregator-update workflow has been failing since the didc 0.4.0 → 0.5.4 bump in #7812. The committed bindings were never regenerated under the new didc, so the codegen output drifted from the checked-in files and ic_sns_ledger.patch no longer applied cleanly.

Changes

  • Regenerated all five ic_sns_*.rs candid bindings under didc 0.5.4.
  • Re-derived ic_sns_ledger.patch against the new baseline (same 3 derive-stripping hunks, updated context).
  • Updated the list_topics call in upstream.rs to pass &ListTopicsRequest to match the new by-reference canister-method signatures.

# Motivation

The daily aggregator-update workflow has been failing since the didc
0.4.0 → 0.5.4 bump in #7812. The committed bindings were never
regenerated under the new didc, so the codegen output drifted from the
checked-in files and `ic_sns_ledger.patch` no longer applied cleanly.

# Changes

- Regenerated all five `ic_sns_*.rs` candid bindings under `didc 0.5.4`.
- Re-derived `ic_sns_ledger.patch` against the new baseline (same 3 derive-stripping hunks, updated context).
- Updated the `list_topics` call in `upstream.rs` to pass `&ListTopicsRequest` to match the new by-reference canister-method signatures.
@yhabib yhabib requested a review from a team as a code owner May 26, 2026 08:44
didc 0.5.4 emits doc comments propagated from the upstream .did files
that trip the pedantic clippy::doc_markdown lint (missing backticks
around identifiers, bare URLs). These comments come back on every
regeneration, so allow the pedantic lint group in did2rs.header
instead of trying to fix the doc comments themselves.
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