Skip to content

Conversation

fern-support
Copy link
Collaborator

@fern-support fern-support commented Sep 29, 2025

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

@fern-support fern-support added the seed Updates to seed tests label Sep 29, 2025
@fern-support fern-support force-pushed the update-seed-test-packages branch from ddd832f to 53554ef Compare September 30, 2025 00:35
@fern-support fern-support force-pushed the update-seed-test-packages branch from 53554ef to cf8cc83 Compare September 30, 2025 01:43
@fern-support fern-support force-pushed the update-seed-test-packages branch from cf8cc83 to d25b7cc Compare September 30, 2025 15:17
@chrismallinson chrismallinson force-pushed the mallinson/nightly-seed-packaging-testing-branch branch from 9204011 to 5fbcc12 Compare September 30, 2025 15:38
@fern-support fern-support force-pushed the update-seed-test-packages branch from d25b7cc to 5e1e477 Compare September 30, 2025 16:48
@fern-support fern-support force-pushed the update-seed-test-packages branch from 5e1e477 to 095d644 Compare September 30, 2025 18:36
@fern-support fern-support force-pushed the update-seed-test-packages branch from 095d644 to a7111e7 Compare September 30, 2025 19:25
@@ -0,0 +1,155 @@
{
"total-test-time": 14420,
Copy link
Collaborator

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

Copy link
Collaborator

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,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does this track?

Copy link
Collaborator

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": [
Copy link
Collaborator

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 ?

Copy link
Collaborator

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"],
Copy link
Collaborator

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:

  1. 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
  2. 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

Copy link
Collaborator

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

@chrismallinson
Copy link
Collaborator

@tjb9dc as part of the name change from package->group, also updated the branch name that gets created by CI so the changes are all reflected here: #9702. If you are happy with the updates I will retarget the change to main and have it the automation set to merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
seed Updates to seed tests
Development

Successfully merging this pull request may close these issues.

3 participants