Closed rosado closed 1 month ago
Status | Category | Percentage | Covered / Total |
---|---|---|---|
π΅ | Lines | 62.52% | 3615 / 5782 |
π΅ | Statements | 62.52% | 3615 / 5782 |
π΅ | Functions | 63.33% | 152 / 240 |
π΅ | Branches | 80.83% | 426 / 527 |
File | Stmts | % Branch | % Funcs | % Lines | Uncovered Lines |
---|---|---|---|---|---|
Changed Files | |||||
src/services/performanceDbApi.js | 65.61% | 92.3% | 29.41% | 65.61% | 49-77, 114-116, 177-181, 202-204, 253-259, 270-273, 284-297, 306-322, 336-350, 364-381, 392-419, 423-427, 438-441 |
The changes in the src/services/performanceDbApi.js
file enhance message handling and SQL query construction. New logic for processing CSV files with issue messages is introduced, storing data in a Map
. Functions such as getEntityMessages
and getAllRowsMessages
are added to handle additional message types. The lpaOverviewQuery
function's SQL query is modified to filter records based on severity. Enhanced logging is added to the getTaskMessage
function for better error handling. Minor adjustments to comments and documentation clarify function purposes.
File | Change Summary |
---|---|
src/services/performanceDbApi.js | - Enhanced message handling and SQL query construction. - Added logic for processing CSV files. - Added functions getEntityMessages and getAllRowsMessages for additional message types.- Modified lpaOverviewQuery to filter records by severity.- Improved logging in getTaskMessage for unknown issue types.- Minor adjustments to comments and documentation. |
In the burrow deep, where data flows,
A rabbit hops where the SQL grows.
With messages clear and errors few,
We dance with CSVs, oh what a view!
So let us cheer for the code refined,
In the world of performance, joy we find! πβ¨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
What type of PR is this? (check all applicable)
Description
See #588 for details. This pr updates the query to not filter out the NULL or 'info' severity issues.
Related Tickets & Documents
See #588
QA Instructions, Screenshots, Recordings
The data that triggered the issue has changed since then, so comparing the behaviour seen via preview link to behaviour in production will not let you easily verify it works.
Added/updated tests?
We encourage you to keep the code coverage percentage at 80% and above.
Summary by CodeRabbit
New Features
Bug Fixes
Documentation