pagopa / io-app

IO, l'app dei servizi pubblici
https://io.italia.it
European Union Public License 1.2
567 stars 97 forks source link

feat: [IOPLT-305] Add Sentry Tool for Crash reporting #5756

Open CrisTofani opened 2 weeks ago

CrisTofani commented 2 weeks ago

Short description

This PR adds the Sentry SDK to track and handle crash informations.

List of changes proposed in this pull request

How to test

Describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.

pagopa-github-bot commented 2 weeks ago

Affected stories

Generated by :no_entry_sign: dangerJS against 40200c451623371e98bfaada2d053596fef988f8

codecov[bot] commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 60.00000% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 49.62%. Comparing base (4f204b4) to head (40200c4). Report is 101 commits behind head on master.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/pagopa/io-app/pull/5756/graphs/tree.svg?width=650&height=150&src=pr&token=zsurlZdPFW&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa)](https://app.codecov.io/gh/pagopa/io-app/pull/5756?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa) ```diff @@ Coverage Diff @@ ## master #5756 +/- ## ========================================== + Coverage 48.42% 49.62% +1.19% ========================================== Files 1488 1624 +136 Lines 31617 32251 +634 Branches 7669 7794 +125 ========================================== + Hits 15311 16005 +694 + Misses 16238 16192 -46 + Partials 68 54 -14 ``` | [Files](https://app.codecov.io/gh/pagopa/io-app/pull/5756?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa) | Coverage Δ | | |---|---|---| | [ts/config.ts](https://app.codecov.io/gh/pagopa/io-app/pull/5756?src=pr&el=tree&filepath=ts%2Fconfig.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa#diff-dHMvY29uZmlnLnRz) | `100.00% <100.00%> (ø)` | | | [ts/screens/profile/DeveloperModeSection.tsx](https://app.codecov.io/gh/pagopa/io-app/pull/5756?src=pr&el=tree&filepath=ts%2Fscreens%2Fprofile%2FDeveloperModeSection.tsx&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa#diff-dHMvc2NyZWVucy9wcm9maWxlL0RldmVsb3Blck1vZGVTZWN0aW9uLnRzeA==) | `4.31% <0.00%> (-0.17%)` | :arrow_down: | ... and [546 files with indirect coverage changes](https://app.codecov.io/gh/pagopa/io-app/pull/5756/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa) ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/pagopa/io-app/pull/5756?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/pagopa/io-app/pull/5756?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa). Last update [b8b56cc...40200c4](https://app.codecov.io/gh/pagopa/io-app/pull/5756?dropdown=coverage&src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa).