• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

trento-project / web / 2ab70457ce26a7b742fc447d212a6785f7e62a26
88%

Build:
DEFAULT BRANCH: main
Ran 21 Jan 2025 11:27AM UTC
Jobs 1
Files 451
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 Jan 2025 11:24AM UTC coverage: 85.156% (-0.03%) from 85.184%
2ab70457ce26a7b742fc447d212a6785f7e62a26

push

github

web-flow
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

New Missed Lines in Diff

Lines Coverage ∆ File
3
88.0
lib/trento/activity_logging/severity_level.ex

Uncovered Existing Lines

Lines Coverage ∆ File
2
50.0
-8.33% deps/postgrex/lib/postgrex/type_module.ex
Jobs
ID Job ID Ran Files Coverage
1 2ab70457ce26a7b742fc447d212a6785f7e62a26.1 21 Jan 2025 11:27AM UTC 451
85.16
GitHub Action Run
Source Files on build 2ab70457ce26a7b742fc447d212a6785f7e62a26
  • Tree
  • List 451
  • Changed 83
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 2ab70457 on github
  • Prev Build on main (#037DDB02...)
  • Next Build on main (#A6DD300F...)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc