-
Notifications
You must be signed in to change notification settings - Fork 254
chore(internal): update seed test packages #9695
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
base: mallinson/nightly-seed-packaging-testing-branch
Are you sure you want to change the base?
chore(internal): update seed test packages #9695
Conversation
ddd832f
to
53554ef
Compare
53554ef
to
cf8cc83
Compare
cf8cc83
to
d25b7cc
Compare
9204011
to
5fbcc12
Compare
d25b7cc
to
5e1e477
Compare
5e1e477
to
095d644
Compare
095d644
to
a7111e7
Compare
@@ -0,0 +1,155 @@ | |||
{ | |||
"total-test-time": 14420, |
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.
whenever providing time as a number, I think always prudent to include the unit. E.g. is this time in ms or s? And typically I just see that appended e.g. total-test-time-ms
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 did in parts of the code and didn't pull it up to this output file, will add in the next commit 👍
@@ -0,0 +1,155 @@ | |||
{ | |||
"total-test-time": 14420, | |||
"split-cutoff-time": 9600, |
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.
what does this track?
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.
This is my cutoff time for when the file reports back that we should split tests across runners vs running it all in one runner. Per our conversation though, I will move this to the bash side of it, we don't need this answer here.
"total-test-time": 14420, | ||
"split-cutoff-time": 9600, | ||
"split-tests": true, | ||
"packages": [ |
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.
nit: I feel like I don't complete love "package" here since it's so overloaded in build world. Not a strong conviction though.
Maybe cohort
or the 5th grade version would be group
?
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.
Changing mentions of packages to groups, I like the 5th grade version 👶
"packageTotalTime": 1415 | ||
}, | ||
{ | ||
"fixtures": ["leftovers"], |
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 take it this is a reserved fixture name?
A couple of solutions I think are cleaner:
- Make
fixtures
key an undiscriminated union of the literal"leftovers" | String[]
. That way we don't have to mess with reserving a magic fixture name, and we get strong validation that "leftovers" is special - Make this implicit (ie remove it) and always allocate it. Would we ever want a case where we don't run the leftovers? I feel like that would result in dropped tests, which we would never want
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.
from in person conversation, going with option 2, will add the leftovers group in bash. Removing it from here
a7111e7
to
9ad8285
Compare
Auto-generated PR, triggered by nightly-seed-packaging workflow with: push from branch: mallinson/nightly-seed-packaging-testing-branch.
GitHub workflow run: https://github.com/fern-api/fern/actions/runs/18141813310