-
-
Notifications
You must be signed in to change notification settings - Fork 165
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
chore: replace scripts with xtask pattern #1097
base: main
Are you sure you want to change the base?
Conversation
|
Thank you for the PR! Files to checkThese are files which is affected by the current PR, but not reflected. If there's no file below this message, please ignore this message. You can run
|
Not dead yet! I got distracted trying to figure out why This is pretty close for what's implemented: the enabled tests for The main thing left I know about is that |
I can take a look when I have time |
Thanks, I'll keep at it anyway. I'm pretty sure it's effectively the same command line (modulo order), so it's most likely something to do with current directory, variables, me using volta or the like. I just can't track down why that would result in what I'm seeing. |
Ugh. Sorry for disappearing for like (checks) THREE WEEKS. Geez. I did poke at this a few times, but didn't figure out what could have been causing the last issue where Turned out to just be that And as I've said before, I'm happy to make any changes or additions you would prefer. |
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 think we can remove the replaced scripts
xtask/src/type_checker.rs
Outdated
tests.sort(); | ||
|
||
use std::io::Write; | ||
let mut file = std::fs::File::create("crates/stc_ts_type_checker/tests/conformance.pass.txt")?; |
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.
Should we use a buffer here?
And use the xtasks in CI.
Ok, I removed all the now replaced .sh files: there's still a few (like profile.sh) that should be pretty easy to replace now. This updates the CI's use of the old scripts.. 🤞 For reference, the
which I think is the |
Hmm, cargo xtask test-checker did also panic on CI in "PR Maintenance / All passing tests should be enabled (pull_request) " ... might be something going on there? Not much detail. |
It's currently expected to fail. This also doesn't skip .tsx tests (free passing tests!) and prints dot-style test output progress.
Ah, it's expected to fail for now, but also it fails with mimalloc heap corruption on windows. I fixed it not updating conformance.pass.txt if it fails, and also tossed in a dot progress reporter and stopped it filtering out |
It's fine, but CI failed. |
Yeah. Tested on WSL Ubuntu and it ran through there. Any idea how to get
the panic message at least?
…On Wed, 15 Nov 2023, 2:43 am kdy1, ***@***.***> wrote:
It's fine, but CI failed.
—
Reply to this email directly, view it on GitHub
<#1097 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOBLI3MRDL24G6RHZZU6SDYENYRZAVCNFSM6AAAAAA5TZO5Q6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJQGIZDSOJWGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Description:
Migrates scripts to use xtask pattern.
Related issue (if exists):
See discussion in #1096