-
Notifications
You must be signed in to change notification settings - Fork 897
Ensure first-class support for transpiled & ts code in transports #1381
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
Conversation
Could you add some docs? |
Sure. I'll check the broken builds as well. |
@mcollina I was checking the problems on the I'm working on Linux, so I cannot directly check if that will work or not on Mac, but I wonder if relying on the Writing this instead: await execa(`sync`) or await execa(`sync`, ['-d', destination]) |
That'd be awesome, feel free to add it. We can still rely on the timer if that's not available. |
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 have two concerns with this PR:
- I don't know who is going to maintain this new code as neither @mcollina or myself are TypeScript developers.
- There are many TODOs littered throughout this new code. I think they should be resolved before this is actually ready to be merged. But I have removed my "request for changes", regardless.
@jsumners I sympathise with your two points, they're valid concerns.
What really bothers me about this PR... is how I still didn't manage to fix the flaky behaviour of the |
@kibertoad could you review this? This might a bit fall on you to help with! |
I know that @castarco cannot work on this any longer, is anybody else looking into this? Any input needed? |
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
will take a look shortly, can resolve conflicts as well |
Thanks! |
Most tests for ts integration pass, except for one I intend to fix in following up commits.
In case the worker module does not export a function as expected, throw an explicit error to make it easier to identify the problem.
@kibertoad I rebased to resolve the conflicts. |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This PR upgrades the
thread-stream
dependency, applies a couple of changes on how transports are created, and adds new tests related to typescript & transpiled code.Fixes #1243 .