Skip to content

Backport bitcoin#26107: [test] only run feature_rbf.py once - #74

Closed
PastaPastaPasta wants to merge 2 commits into
backport-0.24-batch-219from
backport-0.24-batch-219-pr-26107
Closed

PastaPastaPasta wants to merge 2 commits into
backport-0.24-batch-219from
backport-0.24-batch-219-pr-26107

Conversation

@PastaPastaPasta

Copy link
Copy Markdown
Collaborator

Backports bitcoin#26107

Original commit: 9fefd00

667401a [test] only run feature_rbf.py once (glozow)

Pull request description:

  There is no need to run this test twice with --descriptors and --legacy-wallet, as it doesn't use the wallet.

ACKs for top commit:
  aureleoules:
    ACK 667401a.
  theStack:
    ACK 667401a
  brunoerg:
    ACK 667401a

Tree-SHA512: 339213159fac29ebc5678461fae41645aed57877d5525e8ca4755890b869a17ae0bea3f590114769c84b71a7df20c59c9530ab8b327912151c82ec58022f7e71
@coderabbitai

coderabbitai Bot commented Jun 1, 2025

Copy link
Copy Markdown

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.

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


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@PastaPastaPasta

Copy link
Copy Markdown
Collaborator Author

✅ Backport Verification - Passed

Original Bitcoin commit: 9fefd00d8e672c045c87538e7a6c72183cc0f2e6

This backport appears to be correct for Dash's context. While the Bitcoin commit removed duplicate entries for feature_rbf.py (one with --legacy-wallet and one with --descriptors), Dash didn't have these entries to begin with.

The backport correctly adds a single feature_rbf.py entry without wallet flags, which aligns with the commit's intent that this test doesn't use the wallet functionality.


Verified by automated backport verification system.

This test doesn't exist in Dash yet. The original Bitcoin PR bitcoin#26107
was about changing how feature_rbf.py runs (removing wallet variants),
but since Dash hasn't backported the test itself yet, adding it to
the test runner causes CI failures.

The proper sequence would be:
1. First backport the feature_rbf.py test file itself
2. Then apply this optimization about running it only once

For now, removing the premature addition to fix CI.
@PastaPastaPasta

Copy link
Copy Markdown
Collaborator Author

❌ Backport Verification - Issue Fixed

Original Bitcoin commit: 9fefd00d8e672c045c87538e7a6c72183cc0f2e6

Issue Found:

This PR added feature_rbf.py to the test runner, but the test file itself doesn't exist in Dash. This caused all test jobs to fail when trying to run a non-existent test.

Root Cause:

Bitcoin PR bitcoin#26107 was about optimizing an existing test (feature_rbf.py) to run only once instead of with both wallet variants. However, Dash hasn't backported the feature_rbf.py test file itself yet.

Fix Applied:

Removed the premature addition of feature_rbf.py from test_runner.py.

Recommendation:

This PR should be closed as it's not applicable to Dash yet. The proper sequence would be:

  1. First backport the feature_rbf.py test file itself from Bitcoin
  2. Then apply optimizations like this one

The fix has been pushed to restore CI to a working state.


Fixed by automated backport verification system.

knst added a commit to dashpay/dash that referenced this pull request Sep 20, 2026
…mpare to upstream bitcoin core for agent's context

56d231f docs: clear up bips.md list from BIPs that are completely irrelevant to Dash Core (Konstantin Akimov)
9a80b6f chore: add list of features that absent for dash core compare to upstream bitcoin core (Konstantin Akimov)

Pull request description:

  ## Issue being fixed or feature implemented
  Reviewing agents are often triggered by missing "prerequisites" or "backport is not full but partial" false alarm if the feature is meant to be skipped intentionally.
  There's example of alerts that I see on GitHub for backports:

  #7646 (comment)
  > **:red_circle:  Blocking: Missing fee-bumper prerequisite chain for bitcoin#25344
  > Upstream merge 73966f7 adds an outputs option to bumpfee_helper, parses it through AddOutputs, forwards replacement outputs through feebumper::CreateRateBumpTransaction, updates feebumper.{cpp,h} and wallet/interfaces.cpp, and adds wallet_bumpfee.py coverage. This backport changes only the generic raw-transaction helpers and documentation because Dash lacks the fee-bumper implementation and bumpfee/psbtbumpfee RPC chain. Commit 0c8c405 and the PR title nevertheless advertise bitcoin#25344 as a full merge. Backport the applicable prerequisites and omitted behavior/tests, or explicitly mark and document bitcoin#25344 as partial.

  #7684 (comment)

  > **:red_circle: Blocking: Document the complete witness and replacement-test exclusions**

  > The bitcoin#26631 commit is explicitly partial and mentions both missing Taproot descriptors and a witness/Taproot fixup; its omitted dust cases are P2WPKH, P2WSH, P2TR, and future witness versions 2 and 16. The separate bitcoin#26646 commit is still advertised as a full backport, but omits upstream additions to package_witness_swap_tests, the effective-fee assertions in rpc_packages.py's test_rbf, and the response-shape updates in p2p_segwit.py. Those sections exist before upstream bitcoin#26646 but are absent from Dash's base and head. Under the full-backport completeness requirement, absent prerequisite test sections need an explicit exclusion rather than silently disappearing. Mark bitcoin#26646 as partial and enumerate the intentionally excluded witness/replacement hunks in the backport metadata, or supply the missing coverage. This is a backport-scope blocker, not a demonstrated runtime failure or a request to introduce SegWit or RBF into Dash.

  As well, it happens also with automated backports flow [dashcoreautoguix], that had been active in the past:
  It attempted to do completely irrelevant backports, such as `bitcoin#26107: [test] only run feature_rbf.py once` - see DashCoreAutoGuix#74

  ## What was done?
  Added a list of features that meant to be always omitted for Dash Core and should not be considered as "missing" or "forgotten" or "required" by reviewing agents.

  ## How Has This Been Tested?
  Let's see how agents will do review on github.

  ## Breaking Changes
  N/A

  ## Checklist:
    _Go over all the following points, and put an `x` in all the boxes that apply._
  - [x] I have performed a self-review of my own code
  - [ ] I have commented my code, particularly in hard-to-understand areas
  - [ ] I have added or updated relevant unit/integration/functional/e2e tests
  - [ ] I have made corresponding changes to the documentation
  - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_

Top commit has no ACKs.

Tree-SHA512: f4fefaa3721a968df39d907af20c1d625c1994c00f7b42322222b10d01aae58ad2961641b50953c67197f0efedd64fd47807ccc2b80405f0d169172153ac20fd
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.

3 participants