-
Notifications
You must be signed in to change notification settings - Fork 253
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
fix(2694): tailcall server run via npx command #2733
Conversation
@tusharmath |
make sure build-matrix is latest when merged. |
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.
@webbdays, can you describe how this PR will fix the above issue? There are quite a few changes that don't seem relevant in the first glance. Is there a way you can create a smaller PR with just the requried changes.
@tusharmath So, what i am doing is instead of installing package within a package, we install only one package and we get the platform specific binary from the github releases and place it in tailcall/bin/ |
Action required: PR inactive for 5 days. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2733 +/- ##
=======================================
Coverage 87.84% 87.84%
=======================================
Files 263 263
Lines 26252 26252
=======================================
Hits 23061 23061
Misses 3191 3191 ☔ View full report in Codecov by Sentry. |
Overall the PR looks fine to me. CI is failing. Can you check and debug this issue? Moving to draft to reduce noise and improve CI efficiency. Once you are ready just mark it as "ready to review". Feel free to give a shoutout on the #contributors channel on Discord if you want immediate attention. |
ok. checking the issue. |
ci is failing on code in main. |
@tusharmath |
Action required: PR inactive for 5 days. |
Action required: PR inactive for 5 days. |
|
||
let libc = "" | ||
if (os === "win32") { | ||
libc = "msvc" |
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.
why have we dropped the -
here
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.
currently implementation doest need it.
const libcFamily = familySync() | ||
|
||
let libc = "" | ||
if (os === "win32") { | ||
libc = "msvc" | ||
} else { | ||
libc = libcFamily === GLIBC ? "gnu" : libcFamily === MUSL ? "musl" : "" | ||
} |
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.
duplicate code
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.
yes.
we can make a function inside utils.
This reverts commit 04e7a6a.
Summary:
fix the problem with package executable path
Issue Reference(s):
Fixes #2694
Build & Testing:
cargo test
successfully../lint.sh --mode=fix
to fix all linting issues raised by./lint.sh --mode=check
.Checklist:
<type>(<optional scope>): <title>