Skip to content

fix(wear-leveling): Reset cached keys - #852

Open
munanwugo-opentrons wants to merge 1 commit into
mainfrom
wear-leveling-fix-cache
Open

fix(wear-leveling): Reset cached keys#852
munanwugo-opentrons wants to merge 1 commit into
mainfrom
wear-leveling-fix-cache

Conversation

@munanwugo-opentrons

@munanwugo-opentrons munanwugo-opentrons commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

This PR adds one line to the write flow of the EEPROM to reset the cached key after a write has been launched. This fixes a potential issue where a read, a write, and another write performed by the user will result in the second write using stale data.

@munanwugo-opentrons
munanwugo-opentrons marked this pull request as ready for review June 26, 2026 16:31
@munanwugo-opentrons munanwugo-opentrons changed the title reset cached key after write fix(wear-leveling): Reset cached keys Jun 26, 2026
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.02%. Comparing base (a34d526) to head (1b30417).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #852   +/-   ##
=======================================
  Coverage   76.02%   76.02%           
=======================================
  Files         167      167           
  Lines       15626    15627    +1     
  Branches      992      992           
=======================================
+ Hits        11879    11880    +1     
  Misses       3585     3585           
  Partials      162      162           

see 1 file with indirect coverage changes

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

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.

2 participants