Skip to content

QA: wallet_migration: Test several more weird scenarios - #34372

Closed
luke-jr wants to merge 9 commits into
bitcoin:masterfrom
luke-jr:qa_wallet_migration_tests_202601
Closed

luke-jr wants to merge 9 commits into
bitcoin:masterfrom
luke-jr:qa_wallet_migration_tests_202601

Conversation

@luke-jr

@luke-jr luke-jr commented Jan 21, 2026

Copy link
Copy Markdown
Contributor

Includes the "survive" file test from #34222

@DrahtBot DrahtBot added the Tests label Jan 21, 2026
@DrahtBot

DrahtBot commented Jan 21, 2026 •

Copy link
Copy Markdown
Contributor

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Code Coverage & Benchmarks

For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/34372.

Reviews

See the guideline for information on the review process.
A summary of reviews will appear here.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #34544 (wallet: Disallow wallet names that are paths including .. and . elements by achow101)
  • #34439 (qa: Drop recursive deletes from test code, add lint checks. by davidgumberg)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

@DrahtBot

Copy link
Copy Markdown
Contributor

🚧 At least one of the CI tasks failed.
Task lint: https://github.com/bitcoin/bitcoin/actions/runs/21219763361/job/61051058531
LLM reason (✨ experimental): Python lint failure caused by an F-string syntax error in wallet_migration.py.

Hints

Try to run the tests locally, according to the documentation. However, a CI failure may still
happen due to a number of reasons, for example:

  • Possibly due to a silent merge conflict (the changes in this pull request being
    incompatible with the current code in the target branch). If so, make sure to rebase on the latest
    commit of the target branch.

  • A sanitizer issue, which can only be found by compiling with the sanitizer and running the
    affected test.

  • An intermittent issue.

Leave a comment here, if you need help tracking down a confusing failure.

@luke-jr
luke-jr force-pushed the qa_wallet_migration_tests_202601 branch from 77d485b to 2ee335c Compare January 21, 2026 19:45
self.clear_default_wallet(backup_file=Path(res["backup_path"]))

def test_migration_failure(self, wallet_name):
def test_migration_failure(self, wallet_name, fail=True):

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In 049893d "QA: wallet_migration: Test that all the failed migration cases also succeed properly"

test_migration_failure is no longer the right name if migration can selectively not fail.

This test is really used for testing weird filenames and paths, so something like that would be more appropriate.

@DrahtBot

Copy link
Copy Markdown
Contributor

🐙 This pull request conflicts with the target branch and needs rebase.

@fanquake

fanquake commented Jun 1, 2026

Copy link
Copy Markdown
Member

@luke-jr are you going to rebase this and respond to review comments?

@fanquake
fanquake marked this pull request as draft June 1, 2026 13:25
@DrahtBot

Copy link
Copy Markdown
Contributor

⌛ There hasn't been much activity lately and the patch still needs rebase. What is the status here?

  • Is it still relevant? ➡️ Please solve the conflicts to make it ready for review and to ensure the CI passes.
  • Is it no longer relevant? ➡️ Please close.
  • Did the author lose interest or time to work on this? ➡️ Please close it and mark it with one of the labels 'Up for grabs' or 'Insufficient Review', so that it can be picked up in the future.

@fanquake

fanquake commented Sep 7, 2026

Copy link
Copy Markdown
Member

This hasn't had a response for ~7 months. Closing for now.

@fanquake fanquake closed this Sep 7, 2026
paulscode added a commit to paulscode/knots-sha256 that referenced this pull request Oct 24, 2026
paulscode added a commit to paulscode/knots-sha256 that referenced this pull request Oct 28, 2026
paulscode added a commit to paulscode/knots-sha256 that referenced this pull request Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants