Skip to content

Improve some memory access functionality#110

Merged
snideto merged 11 commits intojuergenH87:masterfrom
khauersp:feature/improve-ma
Jan 29, 2026
Merged

Improve some memory access functionality#110
snideto merged 11 commits intojuergenH87:masterfrom
khauersp:feature/improve-ma

Conversation

@khauersp
Copy link
Contributor

@khauersp khauersp commented Jan 27, 2026

When testing this more I discovered a couple issues, one of the issues was that we weren't properly cleaning up state after a transaction was completed in the memory access class. This was causing some flakiness when trying to do multiple reads. Another thing I noticed was tangentially related to that, if we had an error occur in the transaction we didn't properly clean that up and there were times where we were subscribing the same callback multiple times, so I added a unique_subscribe method to the ecu to only subscribe if it isn't already subscribed. This helps us to make sure that we aren't subscribing methods multiple times without needing to check in multiple places.

I also expanded some coverage to have a test where we do multiple successful reads and writes

I suspect there are more underlying bugs, I'm currently investigating this more, will make a new pr if I find anything else

@khauersp khauersp requested a review from drewr95 January 27, 2026 16:30
@snideto snideto merged commit ec214a1 into juergenH87:master Jan 29, 2026
3 checks passed
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.

3 participants