Skip to content

get_stack_consumption fixture update#275

Merged
mbrousset-ledger merged 1 commit into
masterfrom
mbr/stack-apdu-no-failure
May 11, 2026
Merged

get_stack_consumption fixture update#275
mbrousset-ledger merged 1 commit into
masterfrom
mbr/stack-apdu-no-failure

Conversation

@mbrousset-ledger
Copy link
Copy Markdown
Contributor

When using get_stack_consumption fixture, only fail if retcode is 0x6e00 (SWO_INVALID_CLA).

This will prevent failures due to the test intentionally quitting speculos, at which point stack usage retrieval is not possible.

Comment thread src/ragger/conftest/base_conftest.py Fixed
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 6, 2026

Codecov Report

❌ Patch coverage is 0% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 75.88%. Comparing base (3b5ca0d) to head (b504980).

Files with missing lines Patch % Lines
src/ragger/conftest/base_conftest.py 0.00% 8 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #275      +/-   ##
==========================================
- Coverage   75.98%   75.88%   -0.10%     
==========================================
  Files          38       38              
  Lines        2286     2289       +3     
==========================================
  Hits         1737     1737              
- Misses        549      552       +3     
Flag Coverage Δ
apex_p-py3.10 75.79% <0.00%> (-0.10%) ⬇️
apex_p-py3.11 75.79% <0.00%> (-0.10%) ⬇️
apex_p-py3.12 75.79% <0.00%> (-0.10%) ⬇️
apex_p-py3.13 75.79% <0.00%> (-0.10%) ⬇️
flex-py3.10 75.79% <0.00%> (-0.10%) ⬇️
flex-py3.11 75.79% <0.00%> (-0.10%) ⬇️
flex-py3.12 75.79% <0.00%> (-0.10%) ⬇️
flex-py3.13 75.79% <0.00%> (-0.10%) ⬇️
nanos-py3.10 74.22% <0.00%> (-0.10%) ⬇️
nanos-py3.11 74.22% <0.00%> (-0.10%) ⬇️
nanos-py3.12 74.22% <0.00%> (-0.10%) ⬇️
nanos-py3.13 74.22% <0.00%> (-0.10%) ⬇️
nanosp-py3.10 74.26% <0.00%> (-0.10%) ⬇️
nanosp-py3.11 74.26% <0.00%> (-0.10%) ⬇️
nanosp-py3.12 74.26% <0.00%> (-0.10%) ⬇️
nanosp-py3.13 74.26% <0.00%> (-0.10%) ⬇️
nanox-py3.10 74.22% <0.00%> (-0.10%) ⬇️
nanox-py3.11 74.22% <0.00%> (-0.10%) ⬇️
nanox-py3.12 74.22% <0.00%> (-0.10%) ⬇️
nanox-py3.13 74.22% <0.00%> (-0.10%) ⬇️
stax-py3.10 75.79% <0.00%> (-0.10%) ⬇️
stax-py3.11 75.79% <0.00%> (-0.10%) ⬇️
stax-py3.12 75.79% <0.00%> (-0.10%) ⬇️
stax-py3.13 75.79% <0.00%> (-0.10%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mbrousset-ledger mbrousset-ledger force-pushed the mbr/stack-apdu-no-failure branch from 3a08f1c to 1cee628 Compare May 6, 2026 14:47
@mbrousset-ledger mbrousset-ledger force-pushed the mbr/stack-apdu-no-failure branch from 2d37a71 to b504980 Compare May 11, 2026 08:01
@sonarqubecloud
Copy link
Copy Markdown

@mbrousset-ledger mbrousset-ledger merged commit 9745ff9 into master May 11, 2026
59 checks passed
@mbrousset-ledger mbrousset-ledger deleted the mbr/stack-apdu-no-failure branch May 11, 2026 09:33
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.

4 participants