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

agama-project / agama / 13514786031
73%

Build:
DEFAULT BRANCH: master
Ran 25 Feb 2025 06:18AM UTC
Jobs 2
Files 784
Run time 1min
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

25 Feb 2025 06:07AM UTC coverage: 72.639% (-0.02%) from 72.663%
13514786031

push

github

web-flow
fix(rust): keep the encoding when storing the locale (#2062)

## Problem

Agama accepted locales with no encoding (`en_US` instead of
`en_US.UTF-8`). However, it kept the `en_US` value, making the web UI to
crash. See https://github.com/agama-project/agama/issues/2051 for
further details.

## Solution

- Use `UTF-8` as default encoding if none is given.
- Take the chance to do some minor refactoring to handle keymaps and
locales in the same way.
- Improve `systemd-firstboot` logging.
- Extend unit tests.

## Testing

- Added a new unit test
- Tested manually

12 of 26 new or added lines in 4 files covered. (46.15%)

6 existing lines in 2 files now uncovered.

19885 of 27375 relevant lines covered (72.64%)

42.76 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
0.0
0.0% rust/agama-server/src/l10n/dbus.rs
2
70.27
0.41% rust/agama-server/src/l10n/web.rs
11
38.1
0.34% rust/agama-server/src/l10n/model.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
38.1
0.34% rust/agama-server/src/l10n/model.rs
5
74.19
-16.13% rust/agama-server/tests/common/mod.rs
Subprojects
ID Flag name Job ID Ran Files Coverage
2 rust 13514786031.2 25 Feb 2025 06:18AM UTC 130
24.85
GitHub Action Run
2 service 13497906758.2 24 Feb 2025 12:25PM UTC 654
89.12
GitHub Action Run
Source Files on build 13514786031
  • Tree
  • List 784
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13514786031
  • 550c0751 on github
  • Prev Build on master (#13497906758)
  • Next Build on master (#13523968473)
  • Delete
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