-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
chore: fix CI pipeline issues with deduped tar package #30077
Conversation
f46e41a
to
755939a
Compare
@MikeMcC399 this should resolve the CI failures we are seeing and updates the lock. Fix is not ideal but it does get us going. |
cypress Run #56699
Run Properties:
|
Project |
cypress
|
Branch Review |
fix/yarn_lock
|
Run status |
Passed #56699
|
Run duration | 18m 10s |
Commit |
755939a384: chore: fix CI pipeline issues with deduped tar package
|
Committer | AtofStryker |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
2
|
Pending |
1024
|
Skipped |
0
|
Passing |
10246
|
View all changes introduced in this branch ↗︎ |
UI Coverage
null%
|
|
---|---|
Untested elements |
0
|
Tested elements |
0
|
Accessibility
null%
|
|
---|---|
Failed rules |
0 critical
0 serious
0 moderate
0 minor
|
Failed elements |
0
|
I guess this fixes
There's a typo in that sentence it should be |
I haven't actually understood why cypress/scripts/run-postInstall.js Lines 5 to 8 in 6bf0257
|
@MikeMcC399 Yah we were commenting on the same thing yesterday about ci vs local. We kind of need to move to a better package manager because we keep running into weird conflicts. |
|
@MikeMcC399 @jennifer-shehane That's what is odd. I don't actually think this is an issue with the What we could try to do is update |
Thanks for your insights! I had no idea! I cross-checked this PR locally after merge and the two tests I did were fine:
|
This reverts commit 1c719bb.
Additional details
After introducing our yarn dedupe strategy to highest after our @nrwl/nx-cloud upgrade, the
yarn.lock
file became out of sync.deduping the
tar
package for semver packages to point to6.2.1
(introduced in the @nrwl/nx-cloud update) instead of6.1.15
causes the issue:TypeError: Class extends value #<Object> is not a constructor or null
inside our ci pipeline. This issue is hard to reproduce locally as well as in the used docker container. I was also unable to find a root cause of this issue.
To remedy this, I am introducing a yarn resolution to resolve
tar
in thenx-cloud
package from6.2.1
to6.1.15
, which removes the reference to6.2.1
and gets our CI pipeline working again. However, this may creep up again in the future if a semver compatible package oftar
gets updated to6.2.1
and othertar
versions are deduped.I would rather solve this issue by telling the
nx-cloud
package to not hoist any dependencies and install them all inside thenx-cloud
package to prevent cross pollination, but I have not been able to figure that out.Steps to test
How has the user experience changed?
PR Tasks
cypress-documentation
?type definitions
?