Skip to content

fix(platform-wallet): initialize finalized_spends in core bridge tests - #5954

Merged
lklimek merged 1 commit into
v5.2-devfrom
fix/platform-wallet-finalized-spends-tests
Nov 17, 2026
Merged

lklimek merged 1 commit into
v5.2-devfrom
fix/platform-wallet-finalized-spends-tests

Conversation

@Claudius-Maginificent

@Claudius-Maginificent Claudius-Maginificent commented Nov 17, 2026 •

Copy link
Copy Markdown
Collaborator

TL;DR: Make v5.2-dev compile again: two platform-wallet tests did not set a field that #5150 added.

Detailed discussion

Internal fix with no user-facing change, so there is no user story or scenario.

After #5150 (c9e5cd4433), the Rust workspace tests on v5.2-dev fail to compile (run 44033151253):

error[E0063]: missing field `finalized_spends` in initializer of `wallet::platform_wallet::PlatformWalletInfo`
  --> packages/rs-platform-wallet/src/changeset/core_bridge.rs:9970:20
  --> packages/rs-platform-wallet/src/changeset/core_bridge.rs:9609:24

#5150 added PlatformWalletInfo::finalized_spends; these two test initializers reached v5.2-dev without it. They now set it to Default::default(), as every other initializer in the file does. Test code only.

Testing

  • cargo clippy -p platform-wallet -p platform-wallet-storage -p platform-wallet-ffi --all-targets --all-features -- -D warnings: clean.
  • The tests themselves run in CI.

Breaking changes

None.

Checklist

  • I have performed a self-review of my own code

Attribution

🤖 Generated with Claude Code

https://claude.ai/code/session_01WunYYijwZNbw3EjHtdMAHC

PR Hygiene · 17b38ca

  • Bots — thepastaclaw skipped by lklimek
  • Self-review — not asked of a bot author
  • Build running
  • Approvals
    • rs-platform-wallet (packages/rs-platform-wallet/src/changeset/core_bridge.rs) — HashEngineering or ZocoLini or llbartekll or romchornyi

When every merge requirement is met, the PR Hygiene check passes. Reviewer limits do not block merging; other required GitHub checks and protections still apply.

#5150 added `PlatformWalletInfo::finalized_spends`, while two test
initializers in `changeset/core_bridge.rs` that landed separately on
v5.2-dev do not set it, so the platform-wallet tests no longer compile.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WunYYijwZNbw3EjHtdMAHC
@coderabbitai

coderabbitai Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions github-actions Bot added this to the v5.2.0 milestone Nov 17, 2026
@lklimek
lklimek marked this pull request as ready for review November 17, 2026 06:52
@github-actions

github-actions Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Waiting for bot review — thepastaclaw not yet. Wait for the missing reviews, or a writer can post /skip-bots to proceed without them; blocking findings still need addressing.
Full checklist in the description.

@github-actions github-actions Bot added the waiting-bots Waiting for the review bots to report on this head label Nov 17, 2026
@lklimek

lklimek commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

/skip-bots

@github-actions github-actions Bot added bot-review-skipped A required review bot did not report; it was skipped by the window or by a person. and removed waiting-bots Waiting for the review bots to report on this head labels Nov 17, 2026
@thepastaclaw

Copy link
Copy Markdown
Collaborator

🕓 Review not started yet because the new head is waiting for the 30-minute push debounce.

  • Request normal review — click when the PR is ready for review.
  • Request priority review — click to move this review to the front of the queue.

Commit 17b38ca. Normal review starts when eligible; priority review starts as soon as a slot is available.

@lklimek
lklimek merged commit 8e85aa7 into v5.2-dev Nov 17, 2026
68 of 70 checks passed
@lklimek
lklimek deleted the fix/platform-wallet-finalized-spends-tests branch November 17, 2026 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot-review-skipped A required review bot did not report; it was skipped by the window or by a person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants