Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed a race condition in the table update #127

Merged
merged 6 commits into from
Jul 3, 2024

Conversation

evalott100
Copy link
Contributor

@evalott100 evalott100 commented Jun 28, 2024

@evalott100 evalott100 force-pushed the fix-race-condition-in-table-update branch from 9aa7502 to 5813552 Compare June 28, 2024 13:47
@evalott100 evalott100 requested a review from coretl June 28, 2024 13:47
@evalott100 evalott100 force-pushed the fix-race-condition-in-table-update branch from 5813552 to 12426f6 Compare June 28, 2024 14:09
@evalott100 evalott100 force-pushed the fix-race-condition-in-table-update branch from 12426f6 to affb04a Compare June 28, 2024 14:12
Copy link

codecov bot commented Jun 28, 2024

Codecov Report

Attention: Patch coverage is 95.83333% with 1 line in your changes missing coverage. Please review.

Project coverage is 91.36%. Comparing base (6ffd344) to head (05f8ee7).

Files Patch % Lines
src/pandablocks_ioc/_tables.py 95.83% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #127      +/-   ##
==========================================
+ Coverage   91.31%   91.36%   +0.05%     
==========================================
  Files           8        8              
  Lines        1358     1378      +20     
  Branches      213      219       +6     
==========================================
+ Hits         1240     1259      +19     
- Misses         80       81       +1     
  Partials       38       38              

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

still need to write tests trying to reproduce
still need to add a test for the race condition
@evalott100 evalott100 force-pushed the fix-race-condition-in-table-update branch from 5ce9c7a to b978e51 Compare July 2, 2024 07:29
@evalott100 evalott100 force-pushed the fix-race-condition-in-table-update branch 2 times, most recently from be105aa to 889c6de Compare July 2, 2024 08:50
Copy link
Contributor

@coretl coretl left a comment

Choose a reason for hiding this comment

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

Spotted one possible bug, apart from that looks neat!

src/pandablocks_ioc/_tables.py Show resolved Hide resolved
@evalott100 evalott100 force-pushed the fix-race-condition-in-table-update branch from 889c6de to 25cf4ec Compare July 2, 2024 12:57
@evalott100 evalott100 requested a review from coretl July 2, 2024 15:14
@evalott100 evalott100 merged commit fdc904e into main Jul 3, 2024
20 checks passed
@evalott100 evalott100 deleted the fix-race-condition-in-table-update branch July 3, 2024 12:44
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.

Load on a PandA doesn't seem to wait for it to take effect
2 participants