trpc icon indicating copy to clipboard operation
trpc copied to clipboard

feat: reduce number of jobs

Open KATT opened this issue 3 years ago โ€ข 5 comments

Describe the feature you'd like to request

We run 24? jobs as part of the CI on next. We can safely reduce that.

Describe the solution you'd like to see

  • Maybe only have 1 or 2 tests for ./interop
  • Only have 1 or 2 tests for node versions < 16
  • Maybe run the full test suite only when a certain label is added?

Desribe alternate solutions

  • Find a way of auto retrying jobs on failures up to N times

Additional information

This happens too much

Screenshot 2022-08-24 at 19 25 59

๐Ÿ‘จโ€๐Ÿ‘งโ€๐Ÿ‘ฆ Contributing

  • [X] ๐Ÿ™‹โ€โ™‚๏ธ Yes, I'd be down to file a PR implementing this feature!

KATT avatar Aug 24 '22 17:08 KATT

I'd consider looking into caching and maybe adding turbo as a task runner instead of Lerna. Many of these tasks would then be omitted when changes are made to parts that doesn't relate.

juliusmarminge avatar Aug 24 '22 22:08 juliusmarminge

I think all the examples

I'd consider looking into caching and maybe adding turbo as a task runner instead of Lerna. Many of these tasks would then be omitted when changes are made to parts that doesn't relate.

I think all the examples would still need to run whenever there was a change to any of the packages, but yeah, not for stuff like changing copy on the website

KATT avatar Aug 24 '22 23:08 KATT

I think all the examples

I'd consider looking into caching and maybe adding turbo as a task runner instead of Lerna. Many of these tasks would then be omitted when changes are made to parts that doesn't relate.

I think all the examples would still need to run whenever there was a change to any of the packages, but yeah, not for stuff like changing copy on the website

Fair point. Although a lot of times when we just update docs or examples its kinda annoying having to wait up to 10 mins just to get something to share. Not sure if we can prioritize the www deployment since that seems to always take a bunch of time?

juliusmarminge avatar Aug 25 '22 14:08 juliusmarminge

Fair point. Although a lot of times when we just update docs or examples its kinda annoying having to wait up to 10 mins just to get something to share. Not sure if we can prioritize the www deployment since that seems to always take a bunch of time?

shiki made it slow, it was snappy before

KATT avatar Aug 25 '22 23:08 KATT

Fair point. Although a lot of times when we just update docs or examples its kinda annoying having to wait up to 10 mins just to get something to share. Not sure if we can prioritize the www deployment since that seems to always take a bunch of time?

shiki made it slow, it was snappy before

Aah I see :/

juliusmarminge avatar Aug 26 '22 00:08 juliusmarminge