-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Upstream connection delays now properly handled in the TypeScript federates #1607
Conversation
6ba73ca
to
62976fb
Compare
It seems like there is a problem with handling |
Apparently the federates are not even being built because something in the generated code does not pass the type checks. Here is the snippet from the CI output that I think is most informative
|
That's weird... Because I cannot find any error on my local computer when I compile and run the test |
I was able to reproduce the problem. In my local clone of
and was able to reproduce the problem. Edit: Actually, I think the issue is that |
When we make changes to reactor-ts and accompanying changes in lingua-franca we cannot point to the version of reactor-ts that is published on NPM. We need to clone a specific ref and point to it. Locally, pointing to the correct runtime version fixes the problem that I observed in #1607. If this change to the yaml file is correct then this should make that PR mergeable.
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, but it was marked as "draft" so it escaped my attention. Could you please add JavaDoc to the new function that you added in TSExtension
? Thanks!
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.
I'm surprised that you had to change the package.json
, but we can look into the reason behind that later. We can merge this now.
The previous version of this PR is lingua-franca/pull/1344
Relevant reactor-ts PR: reactor-ts/#138
This PR adds upstream connection delays in the generated TypeScript federate files.