|
Ran
|
Jobs
1
|
Files
451
|
Run time
3min
|
Badge
README BADGES
|
push
github
Activity log severity levels (#3222) * Adds db migrations for necessary fields * Adds schema level mapping At the schema level, the new field 'severity' is added and the entry type and sometimes metadata fields are mapped to the severity level field according to the doc shared. * Implements context module level changes for severity ... ... by handling a filter parameter named severity * Implements controller and json object for the newly added field in request as well as response. * Adds some FE changes for PR env * Refactors severity mapping implementation * Implements fixes for failing tests ... Additionally, adds an info log level for host_checks_execution_request. * Revert "Implements controller and json object" This reverts commit f49677861. * Revert "Adds some FE changes" This reverts commit b7c550ccd. * Refines existing tests further Removes severity level from one test and adds calls to severity_level_to_integer outside the match in the other. * Consolidates severity level field and the related index in a single migration file * Implements code-reorg Addresses some PR comments; adds a default warning level log for un-mapped activity types. * Fixes spelling typo * Fix for dialyzer * Isolates severity level mapping This helps test the implementation better since we now have a separate module with a testable public interface. * Fix for Credo * Unmapped activity types mapped to info level * Removes severity at the context level Will be included in a future PR. * Removes unneeded test code * Removes unused alias
30 of 33 new or added lines in 4 files covered. (90.91%)
2 existing lines in 1 file now uncovered.3029 of 3557 relevant lines covered (85.16%)
299.49 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 3 |
88.0 |
lib/trento/activity_logging/severity_level.ex |
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 2 |
50.0 |
-8.33% | deps/postgrex/lib/postgrex/type_module.ex |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 2ab70457ce26a7b742fc447d212a6785f7e62a26.1 | 451 |
85.16 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|