Skip to content

ci: add --usecli when using --extended - #34998

Closed
polespinasa wants to merge 1 commit into
bitcoin:masterfrom
polespinasa:2026-04-03-add-usecli-extended
Closed

polespinasa wants to merge 1 commit into
bitcoin:masterfrom
polespinasa:2026-04-03-add-usecli-extended

Conversation

@polespinasa

@polespinasa polespinasa commented Apr 3, 2026 •

Copy link
Copy Markdown
Member

The current CI doesn't cover the case of running all tests with --extended if using --usecli.
This led to a test failing (feature_index_prune.py) if run with --usecli and the CI not catching it.
See #34991 for context.

This PR improves the CI test coverage by also running now all functional tests (--extended) with the flag --usecli.
The CI obviously will fail in this PR until #34991 is merged into master.

I don't know if this is the best approach; I just looked for a ci using --usecli and added the --extended flag to cover these scenarios.
I'm open to changing the approach.

@DrahtBot DrahtBot added the Tests label Apr 3, 2026
@DrahtBot

DrahtBot commented Apr 3, 2026 •

Copy link
Copy Markdown
Contributor

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

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:

  • #34931 (validation: abort on DB unreadable coins instead of treating them as missing by furszy)

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.

@polespinasa

Copy link
Copy Markdown
Member Author

Friendly pinging you here @fanquake

@fanquake

fanquake commented Apr 4, 2026

Copy link
Copy Markdown
Member

I think it would be better to pick one of the jobs already using --extended, and add --usecli.

@polespinasa
polespinasa force-pushed the 2026-04-03-add-usecli-extended branch from 69e15e3 to ad1e49b Compare April 7, 2026 17:26
@polespinasa

Copy link
Copy Markdown
Member Author

I think it would be better to pick one of the jobs already using --extended, and add --usecli.

Done

@maflcko

maflcko commented Apr 9, 2026

Copy link
Copy Markdown
Member

I think the flag can now be removed from the other CI task

Add the flag --usecli to a test (00_setup_env_native_previous_releases.sh) with the --extended flag to cover all tests with --usecli.
At the same time drop --usecli in 00_setup_env_i686_no_ipc.sh as the cases are now already coverd by the other test.
@polespinasa
polespinasa force-pushed the 2026-04-03-add-usecli-extended branch from ad1e49b to d8161ed Compare April 9, 2026 11:12
@polespinasa polespinasa changed the title ci: add --extended when using --usecli ci: add --usecli when using --extended Apr 9, 2026
@polespinasa

Copy link
Copy Markdown
Member Author

I think the flag can now be removed from the other CI task

Make sense, done :)

@polespinasa

Copy link
Copy Markdown
Member Author

Closing because I have cherry picked this commit into the PR that is fixing the test that breakes this new CI behavior
#34991

@polespinasa
polespinasa deleted the 2026-04-03-add-usecli-extended branch June 8, 2026 14:46
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