Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Bug hunting/fix error cache #1195

Merged

Conversation

thallesfreitaszup
Copy link
Contributor

Signed-off-by: thalles freitas thalles.freitas@zup.com.br

Issue Description

Saving the cache of resources as promises gave the possibility to save rejected promises and with that resources that were available after a while always had the rejected promise in the cache, making it impossible to save the associated log.

Solution

Save the resource instead of promises in cache

Signed-off-by: thalles freitas <thalles.freitas@zup.com.br>
Signed-off-by: thalles freitas <thalles.freitas@zup.com.br>
@boring-cyborg boring-cyborg bot added butler Improvements/additions/fixes for butler module. gate moove Improvements/additions/fixes for moove module. labels May 10, 2021
@thallesfreitaszup thallesfreitaszup changed the base branch from main to charlescd-release-1.0.0 May 10, 2021 13:50
@codecov
Copy link

codecov bot commented May 10, 2021

Codecov Report

Merging #1195 (c088fd9) into charlescd-release-1.0.0 (051cf16) will increase coverage by 0.05%.
The diff coverage is 90.33%.

Impacted file tree graph

@@                      Coverage Diff                      @@
##             charlescd-release-1.0.0    #1195      +/-   ##
=============================================================
+ Coverage                      76.72%   76.77%   +0.05%     
- Complexity                      2164     2169       +5     
=============================================================
  Files                           1304     1305       +1     
  Lines                          18703    18694       -9     
  Branches                        1707     1708       +1     
=============================================================
+ Hits                           14349    14352       +3     
+ Misses                          3844     3835       -9     
+ Partials                         510      507       -3     
Flag Coverage Δ Complexity Δ
butler 84.82% <98.24%> (+0.46%) 0.00 <0.00> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ Complexity Δ
...io/charlescd/moove/application/WorkspaceService.kt 100.00% <ø> (ø) 10.00 <0.00> (ø)
...rastructure/service/client/response/LogResponse.kt 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
ui/src/core/assets/themes/modal/trigger.ts 100.00% <ø> (ø) 0.00 <0.00> (ø)
ui/src/core/components/Card/Config/index.tsx 100.00% <ø> (ø) 0.00 <0.00> (ø)
ui/src/core/components/Form/InputTitle/index.tsx 93.33% <ø> (-1.91%) 0.00 <0.00> (ø)
ui/src/core/components/Modal/Wizard/constants.ts 100.00% <ø> (ø) 0.00 <0.00> (ø)
ui/src/core/components/Text/index.tsx 100.00% <ø> (ø) 0.00 <0.00> (ø)
ui/src/mocks/handlers/circles/index.ts 0.00% <0.00%> (ø) 0.00 <0.00> (?)
ui/src/mocks/handlers/circles/responses.ts 0.00% <0.00%> (ø) 0.00 <0.00> (?)
ui/src/modules/Account/index.tsx 70.27% <ø> (ø) 0.00 <0.00> (ø)
... and 73 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6863875...c088fd9. Read the comment docs.

Signed-off-by: thalles freitas <thalles.freitas@zup.com.br>
@thallesfreitaszup thallesfreitaszup removed gate moove Improvements/additions/fixes for moove module. labels May 10, 2021
@thallesfreitaszup thallesfreitaszup merged commit 2ce384c into charlescd-release-1.0.0 May 11, 2021
@thallesfreitaszup thallesfreitaszup deleted the bug-hunting/fix-error-cache branch May 11, 2021 14:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
butler Improvements/additions/fixes for butler module.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants