Skip to content

Run jobs in parallel. #9

Description

@davidlehn

I disagree with the change made to block tests on linting:
0db530a

We did discuss this elsewhere the other day, I didn't realize the change had been made here until now and is spreading to other repos. (We should probably use PRs in this repo.)

Reasons to run lint in parallel:

  • All jobs finish faster.
  • Optimize for human time (the most important and expensive metric IMHO).
  • CI lint failures are, or can be, rare due to linting in editors and local lint runs.

Reasons to block tests on lint were:

  • Wastes testing time/resources if lint issues are found and need to be fixed.
  • Lint job is fast so it doesn't slow humans down.

I don't have data for the rarity of lint failures. But if true, I think we should optimize for human time as much as possible and run everything in parallel. To that end, I have sometimes been waiting for coverage tests to finish and pondered just making those run in parallel as well. Only reason I hadn't proposed that yet is I wanted to test what it does in the failure case.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions