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

trento-project / web / 7747692b0379800f3579dd14253c39e250d99967
88%

Build:
DEFAULT BRANCH: main
Ran 04 Aug 2025 12:31PM UTC
Jobs 1
Files 498
Run time 660min
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

04 Aug 2025 12:22PM UTC coverage: 86.897% (-0.001%) from 86.898%
7747692b0379800f3579dd14253c39e250d99967

push

github

web-flow
SMLM settings save/change correlation (#3640)

* Removes expiration...

...with implicit ttl

* Refactors correlation context

With this commit we now have scoped correlations for keys that are per-test process and (the default) unscoped correlations module for global keys that is intended for prod/application code usage.

* Implements correlation for software updates...

... discovery context using the previously used maybe_correlated_dispatch mechanism that correlates depending on whether there is a value available in the cache.

* See description

- Mild refactor to centralize propagation of correlation id to a single function.
- In case the correlation key is nil, we don't do any further correlation operations and return early. This is implausible in prod but necessaary for the sake of completeness, for instance in tests code that need to test scenarios both with and without correlation.

* Introduces an additional test dep

ProcessTree helps look for keys in ancestors of a given process. This is useful for instance for scenarios where there is an async call/spawn to a child process from a parent process and one wishes to check the both the parent and child processes for a key in their process dictionaries. Relevant for tests involving SMLM settings.

* Minor addition

... to add test grouping as a describe block

* Adds test setups...

... and parameterizations for with and without correlation test cases/scenarios

* Enables dep for dev env

* Implements activity logging...

.. of correlation id for save/change suse manager settings.
- Bug fix: previously changing suma settings was being logged without any metadata since the metadata pulling branch of the function was not executing. This was because of the action name not being plural (typo), i.e. changing_suma_setting instead of changing_suma_settings.

* Fix module namespace

* Fix module namespace

in tests.

* Moves scoped correlations

...module closer to tests code

* Renames module used in... (continued)

26 of 29 new or added lines in 5 files covered. (89.66%)

3694 of 4251 relevant lines covered (86.9%)

321.88 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
96.92
-1.32% lib/trento_web/controllers/v1/settings_controller.ex
2
66.67
lib/trento/activity_logging/correlations/unscoped_correlations.ex
Jobs
ID Job ID Ran Files Coverage
1 7747692b0379800f3579dd14253c39e250d99967.1 04 Aug 2025 12:31PM UTC 498
86.9
GitHub Action Run
Source Files on build 7747692b0379800f3579dd14253c39e250d99967
  • Tree
  • List 498
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 7747692b on github
  • Prev Build on main (#991B677D...)
  • Next Build on main (#08E583D0...)
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