-
Notifications
You must be signed in to change notification settings - Fork 4
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
SC-4148 Reload atom every time the execution starts. #1607
SC-4148 Reload atom every time the execution starts. #1607
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great idea to store isStarting
no the internal state.
It isn't clear to me though where is the atom being reloaded?
switch(id)(SequenceState.Idle) *> send(breakpointReached(id)) | ||
} else | ||
switch(id)(SequenceState.Running(false, false, false)) *> send(executing(id)) | ||
switch(id)(SequenceState.Running(false, false, false, false)) *> send( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we do an atomReload
when isStarting
is true?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No. isStarting
is used to disable the breakpoint check in atomReload
.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1607 +/- ##
==========================================
+ Coverage 30.21% 34.87% +4.65%
==========================================
Files 222 220 -2
Lines 10356 10671 +315
Branches 202 1315 +1113
==========================================
+ Hits 3129 3721 +592
+ Misses 7227 6950 -277 ☔ View full report in Codecov by Sentry. |
How it works: instead of scheduling the execution of the sequence, |
I see, thanks for the clarificiation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.