-
Notifications
You must be signed in to change notification settings - Fork 64
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
Do not create the temporary dependency link if a connection between f… #1085
Conversation
I think we might have fixed the original issue discussed in #1086. Nonetheless, it seems like there is a deadlock occurring in FeedbackDelay, which causes it to timeout. I propose that we keep the FeedbackDelaySimple test in this PR and merge without FeedbackDelay (if all tests pass), and subsequently create a new issue for the deadlock happening in FeedbackDelay. |
I believe this PR is ready for review. I'm not sure why the Cpp tests timed out, but I'm pretty sure that's unrelated to the changes in this branch. |
@edwardalee Could you please kindly take a look at the changes here to see if they look OK? I could not ask for a review since you are the original creator of this PR. |
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.
Looks OK to me. Be sure to update the refs in ci.yml
after merging this (and before deleting this branch ;-))
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.
These changes look right to me, except perhaps the ci.yml change.
@@ -54,12 +54,12 @@ jobs: | |||
|
|||
# Run the C integration tests. | |||
c-tests: | |||
uses: lf-lang/lingua-franca/.github/workflows/c-tests.yml@master | |||
uses: lf-lang/lingua-franca/.github/workflows/c-tests.yml@federated-delay-fix |
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.
Wait, we probably don't want these changes in ci.yml to be committed when this is merged to master, right?
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.
We do. After merging, it's a matter of changing these to master
. This will work as long as the referenced branch exists.
…ederates has a delay. This fixes a problem that a federated program with feedback was exhibiting spurious cycle detection errors.
After fixing this, two bugs surfaced that required the following two fixes:
Fixed an issue where control reactions were being triggered even though the federate had no upstream/downstream zero-delay logical connections.
Removed the problematic optimization where all federates and the RTI assumed that all federates already have a PTAG at startup.
See lf-lang/reactor-c#83 for the accompanying PR.