Skip to content

Conversation

@cedelavergne-ledger
Copy link
Contributor

Add new option parameter --rm allowing to remove the existing snapshots before running tests
This optio is only usable when --golden_run is also requested

This allows to cleanup the useless snapshots

@codecov-commenter
Copy link

codecov-commenter commented Jul 17, 2025

Codecov Report

Attention: Patch coverage is 65.21739% with 8 lines in your changes missing coverage. Please review.

Project coverage is 77.16%. Comparing base (c988b7d) to head (250bf11).

Files with missing lines Patch % Lines
src/ragger/conftest/base_conftest.py 69.23% 4 Missing ⚠️
src/ragger/navigator/navigator.py 33.33% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #253      +/-   ##
==========================================
- Coverage   77.37%   77.16%   -0.22%     
==========================================
  Files          36       36              
  Lines        2038     2054      +16     
==========================================
+ Hits         1577     1585       +8     
- Misses        461      469       +8     

☔ 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.


if device.is_nano:
return NanoNavigator(backend, device, golden_run)
return NanoNavigator(backend, device, golden_run, rm_snap)
Copy link
Contributor

Choose a reason for hiding this comment

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

Not a fan of adding such a specific parameter
Can we make golden_run a class with regen and rm as parameters ? And then move around the golden_run object?

@cedelavergne-ledger cedelavergne-ledger marked this pull request as draft July 17, 2025 13:30
@cedelavergne-ledger cedelavergne-ledger force-pushed the cev/improve_golden_run_with_rm branch 2 times, most recently from 50f66f8 to 966bae4 Compare July 18, 2025 14:53
@cedelavergne-ledger cedelavergne-ledger force-pushed the cev/improve_golden_run_with_rm branch from 966bae4 to 250bf11 Compare July 18, 2025 15:02
@sonarqubecloud
Copy link

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