-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
chore: make unit tests cacheable, fix package graph #7108
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
Conversation
packages/integrations/package.json
Outdated
@@ -22,6 +22,7 @@ | |||
"tslib": "^1.9.3" | |||
}, | |||
"devDependencies": { | |||
"@sentry/browser": "7.36.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This relationship between these packages was missing and needed to be added to ensure task pipelines know what to do and in what order
packages/node/package.json
Outdated
@@ -25,6 +25,7 @@ | |||
"tslib": "^1.9.3" | |||
}, | |||
"devDependencies": { | |||
"@sentry/tracing": "7.36.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This relationship between these packages was missing and needed to be added to ensure task pipelines know what to do and in what order
@mydea I think this is just flakiness in the browser based integration testing, hopefully a re-run will resolve it. The relevant bits that my PR changed have passed |
Thanks! Green now |
meta(changelog): Update CHANGELOG for 7.38.0
nx.json
Outdated
@@ -7,7 +7,9 @@ | |||
"build:bundle", | |||
"build:transpile", | |||
"build:types", | |||
"lint:eslint" | |||
"lint:eslint", | |||
"test", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's maybe only start with caching test:unit
, as the integration tests (for example) also make sure stuff keeps working with new versions of e.g. browsers, which is not really deterministic in this way.
WDYT @AbhiPrasad / @Lms24 / @lforst ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes that makes sense to me
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverted, I'll leave this one to you to revisit :)
[Gitflow] Merge develop into master
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Versions need updating to current version, then this is good to go - thanks a lot!
Before submitting a pull request, please take a look at our
Contributing guidelines and verify:
yarn lint
) & (yarn test
).