Universe: new and improved yarn package#2483
Conversation
|
I was just trying to debug the timeouts in the universe tests by adding the tracing functionality just in my fork, but just accidentally pushed to this PR instead of the fork... Apparently the gh CLI sets that up as the default remote... Either way, I guess I'll just let it run through for debugging, but we shouldn't merge my |
|
The CI run seems to be indicating that the GHA runner is becoming unresponsive, the error message being: This makes me suspect the problem may not be the GHA throttling that we've previously... I'll try again in my own fork though. Reverted back my accidental push to this branch (sorry about the noise). |
|
How should I proceed? The |
Pass for me locally too, but also timeout when I run in GHA in my fork. Got traces from there though, it's showing that the I have no idea why this would be. My only shot-in-the-dark guess is that the package repo we are downloading from is throttling GHA action IP addresses? Worth more investigation but may take some time. For now, I would be okay with just disabling that test in CI and only running it locally until we figure out what's happening here (maybe just comment out the test in |
That might be because |
Signed-off-by: Solomon Hykes <solomon@dagger.io>



This is a rewrite of the official yarn package. It is based on my experimental version (
universe.dagger.io/x/solomon@dagger.io/yarn).NOTE: this PR depends on #2480 , please merge that first.
Improvements include:
#Scriptto run a yarn script (yarn run ...)#Installto install dependencies (yarn install)#Commandto run any command (yarn ...)yarnbinary)core.#Source)Note: one small breaking change:
yarn.#Build.nameis nowyarn.#Build.project. I tried to add reverse compat but ran into mystical CUE errors... And could not find any configuration that actually used that field.