Skip to content

[stable2503] Backport #7843#7969

Merged
EgorPopelyaev merged 2 commits intostable2503from
backport-7843-to-stable2503
Mar 20, 2025
Merged

[stable2503] Backport #7843#7969
EgorPopelyaev merged 2 commits intostable2503from
backport-7843-to-stable2503

Conversation

@paritytech-release-backport-bot

Backport #7843 into stable2503 from raymondkfcheung.

See the documentation on how to use this bot.

…7843)

This PR addresses an issue with the handling of message execution when
blocked by the barrier. Instead of returning an `Outcome::Error`, we
modify the behaviour to return `Outcome::Incomplete`, which includes the
weight consumed up to the point of rejection and the error that caused
the blockage.

This change ensures more accurate weight tracking during message
execution, even when interrupted. It improves resource management and
aligns the XCM executor’s behaviour with better error handling
practices.

---------

Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
(cherry picked from commit 21927dd)
@github-actions
Copy link
Contributor

This pull request is amending an existing release. Please proceed with extreme caution,
as to not impact downstream teams that rely on the stability of it. Some things to consider:

  • Backports are only for 'patch' or 'minor' changes. No 'major' or other breaking change.
  • Should be a legit fix for some bug, not adding tons of new features.
  • Must either be already audited or not need an audit.
Emergency Bypass

If you really need to bypass this check: add validate: false to each crate
in the Prdoc where a breaking change is introduced. This will release a new major
version of that crate and all its reverse dependencies and basically break the release.

@paritytech-workflow-stopper
Copy link

All GitHub workflows were cancelled due to failure one of the required jobs.
Failed workflow url: https://github.com/paritytech/polkadot-sdk/actions/runs/13949125914
Failed job name: quick-benchmarks-omni

@raymondkfcheung raymondkfcheung enabled auto-merge (squash) March 19, 2025 15:00
@EgorPopelyaev EgorPopelyaev merged commit 29e4d9a into stable2503 Mar 20, 2025
89 of 208 checks passed
@EgorPopelyaev EgorPopelyaev deleted the backport-7843-to-stable2503 branch March 20, 2025 09:03
@raymondkfcheung raymondkfcheung moved this to SDK Released - Needs Integration in fellowship/runtimes integrations queue May 29, 2025
@raymondkfcheung raymondkfcheung moved this from SDK Released - Needs Integration to To be released (SDK) in fellowship/runtimes integrations queue May 29, 2025
@acatangiu acatangiu moved this from To be released (SDK) to SDK Released - Needs Integration in fellowship/runtimes integrations queue Jul 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A3-backport Pull request is already reviewed well in another branch.

Projects

Status: Done
Status: SDK Released - Needs Integration

Development

Successfully merging this pull request may close these issues.

3 participants