feat: mutation tracker service
Description
Mutation tracker service to facilitate better lower level cache invalidation. Goal is to restrict cache refresh logic after mutation to the handlers rather than handling it in the consumers.
<-- Will fill the sections below when the PR is out of draft mode -->
Testing
Manually tested.
Checklist:
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] Any dependent changes have been merged and published in downstream modules
Codecov Report
Merging #659 (63bf3f5) into main (9e94511) will decrease coverage by
25.24%. The diff coverage is50.85%.
:exclamation: Current head 63bf3f5 differs from pull request most recent head 847c93c. Consider uploading reports for the commit 847c93c to get more accurate results
@@ Coverage Diff @@
## main #659 +/- ##
===========================================
- Coverage 85.21% 59.96% -25.25%
===========================================
Files 773 780 +7
Lines 15941 16075 +134
Branches 2055 2077 +22
===========================================
- Hits 13584 9640 -3944
- Misses 2323 6398 +4075
- Partials 34 37 +3
| Impacted Files | Coverage Δ | |
|---|---|---|
| ...omponents/src/breadcrumbs/breadcrumbs.component.ts | 94.11% <ø> (ø) |
|
| ...mponents/src/expander/expander-toggle.component.ts | 100.00% <ø> (ø) |
|
| ...omponents/src/header/page/page-header.component.ts | 100.00% <ø> (ø) |
|
| projects/components/src/modal/modal.ts | 100.00% <ø> (ø) |
|
| ...ects/components/src/textarea/textarea.component.ts | 78.57% <ø> (ø) |
|
| ...shboard/widgets/table/table-widget-column.model.ts | 100.00% <ø> (ø) |
|
| ...d/widgets/table/table-widget-renderer.component.ts | 45.13% <0.00%> (-2.05%) |
:arrow_down: |
| projects/graphql-client/src/graphql-config.ts | 100.00% <ø> (ø) |
|
| ...apis/api-detail/traces/api-trace-list.dashboard.ts | 100.00% <ø> (ø) |
|
| ...ckend-detail/backend-detail-breadcrumb.resolver.ts | 100.00% <ø> (ø) |
|
| ... and 212 more |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update 0245f2e...847c93c. Read the comment docs.
Unit Test Results
4 files ±0 243 suites ±0 15m 48s :stopwatch: +42s 872 tests ±0 871 :heavy_check_mark: - 1 0 :zzz: ±0 1 :x: +1 876 runs ±0 875 :heavy_check_mark: - 1 0 :zzz: ±0 1 :x: +1
For more details on these failures, see this check.
Results for commit 84e5922f. ± Comparison against base commit 151b8f12.
Unit Test Results
4 files ±0 243 suites ±0 15m 31s :stopwatch: +25s 872 tests ±0 871 :heavy_check_mark: - 1 0 :zzz: ±0 1 :x: +1 876 runs ±0 875 :heavy_check_mark: - 1 0 :zzz: ±0 1 :x: +1
For more details on these failures, see this check.
Results for commit 63bf3f58. ± Comparison against base commit 151b8f12.
Unit Test Results
4 files ±0 257 suites ±0 14m 46s :stopwatch: - 1m 15s 926 tests ±0 925 :heavy_check_mark: - 1 0 :zzz: ±0 1 :x: +1 932 runs ±0 931 :heavy_check_mark: - 1 0 :zzz: ±0 1 :x: +1
For more details on these failures, see this check.
Results for commit 847c93c7. ± Comparison against base commit 0245f2ea.