What changed, and why it matters
This commit only adds a new GitHub Actions CI job that runs automated test coverage reports for the Bitcoin app. It does not change any application code, wallet logic, or security behavior. There is no user-facing or security-relevant change.
No security action needed; this is a routine CI/testing infrastructure change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff adds a ‘ragger_coverage’ job to .github/workflows/build_and_functional_tests.yml. It reuses LedgerHQ/ledger-app-workflows/.github/workflows/reusable_ragger_coverage.yml@v1 to build the app with debug symbols and run functional tests with coverage tracing, uploading results to codecov. No source code, build flags for release artifacts, or app behavior are modified.
Changed components
.github/workflows/build_and_functional_tests.ymlInspect captured patch +13 / −0
diff --git a/.github/workflows/build_and_functional_tests.yml b/.github/workflows/build_and_functional_tests.yml
index 155e905..51b11ab 100644
--- a/.github/workflows/build_and_functional_tests.yml
+++ b/.github/workflows/build_and_functional_tests.yml
@@ -48,3 +48,16 @@ jobs:
test_options: ${{ github.event_name == 'push' && '--enable_slow_tests' || '' }}
regenerate_snapshots: ${{ github.event_name == 'workflow_dispatch' && inputs.golden_run == 'Open a PR' }}
post_stack_consumption: true
+
+ ragger_coverage:
+ name: Functional tests coverage using the reusable workflow
+ # Builds the app with debug symbols and runs the ragger
+ # tests with coverage tracing; uploads the lcov file + HTML report as the
+ # 'coverage-<device>' artifact(s) and to codecov under the 'functionaltests' flag.
+ uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_ragger_coverage.yml@v1
+ with:
+ run_for_devices: '["flex"]'
+ flags: "DEBUG=1 COIN=bitcoin_testnet"
+ container_image: "ghcr.io/ledgerhq/app-bitcoin-new/speculos-bitcoin:latest"
+ secrets:
+ codecov_token: ${{ secrets.CODECOV_TOKEN }}
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.