Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4118 +/- ##
==========================================
+ Coverage 99.40% 99.41% +0.01%
==========================================
Files 947 947
Lines 16632 16632
Branches 5135 5135
==========================================
+ Hits 16533 16535 +2
+ Misses 99 97 -2 ☔ View full report in Codecov by Sentry. |
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v3 | ||
| - run: yarn cache clean |
There was a problem hiding this comment.
so the reason you are having this issue is because you unplugged a couple of packages - that means you told yarn to not store them as zips inside .yarn/cache but rather unpack it and store in .yarn/unplugged and that folder (as opposed to the cache one) is not checked into git meaning that we have to do yarn install do get the contents of those unplugged packages.
The way we go about those packages is that we run yarn install once and then cache it and then we use this step
- name: Cache build typecheck output
uses: ./.github/actions/cache-unplugged
with:
environment-name: ${{ inputs.environment-name }}
to load this cache into your current job. So just try and add this instead of cache clean and install.
Would be keen to understand why you had to unplug those packages?
There was a problem hiding this comment.
From what is written in prettier changelog I understood version 3 needs to be unplugged. Here in the description of this PR I've left the link to the changelog #4118 (comment)
| allowSignup | ||
| onClick={() => | ||
| // Effect should populate this ref before a click can occur | ||
| // eslint-disable-next-line @typescript-eslint/no-non-null-assertion |
There was a problem hiding this comment.
I couldn't find in the changelog but I believe this @typescript-eslint/no-non-null-assertion and @typescript-eslint/no-empty-function was changed in one of the versions in between the one we had and the last one because now we get this Unused eslint-disable directive (no problems were reported from '@typescript-eslint/no-non-null-assertion') and Unused eslint-disable directive (no problems were reported from '@typescript-eslint/no-empty-function') in several files
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v3 | ||
| - run: yarn cache clean |
There was a problem hiding this comment.
so the reason you are having this issue is because you unplugged a couple of packages - that means you told yarn to not store them as zips inside .yarn/cache but rather unpack it and store in .yarn/unplugged and that folder (as opposed to the cache one) is not checked into git meaning that we have to do yarn install do get the contents of those unplugged packages.
The way we go about those packages is that we run yarn install once and then cache it and then we use this step
- name: Cache build typecheck output
uses: ./.github/actions/cache-unplugged
with:
environment-name: ${{ inputs.environment-name }}
to load this cache into your current job. So just try and add this instead of cache clean and install.
Would be keen to understand why you had to unplug those packages?
| @@ -1,4 +1,3 @@ | |||
| /* eslint-disable @typescript-eslint/no-non-null-assertion */ | |||
There was a problem hiding this comment.
out of curiosity - why do we no longer need these? are non-null assertions now allowed?
| "unplugged": true | ||
| }, | ||
| "@typescript-eslint/parser@6.18.1": { | ||
| "unplugged": true |
There was a problem hiding this comment.
any particular reason why you need to unplug this and the one above?

Updating prettier version to the last version available so it uses the fix below introduced in
3.0.3release: //github.com/prettier/prettier/blob/main/CHANGELOG.md#303Also
@typescript-eslint/eslint-pluginand@typescript-eslint/parserwere updated accordingly to this PR https://github.com/yldio/asap-hub/pull/4047/filesNote: It's necessary to reload window after changing to this branch to see it working as the video below
Screen.Recording.2024-01-10.at.10.23.48.mov