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

agama-project / agama / 17238904944
73%

Build:
DEFAULT BRANCH: master
Ran 26 Aug 2025 01:10PM UTC
Jobs 3
Files 1112
Run time 2min
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

26 Aug 2025 12:59PM UTC coverage: 75.97% (+11.7%) from 64.306%
17238904944

push

github

web-flow
Implemented --local option to allow profile validation without accessing agama server (#2670)

## Problem

[bsc#1247424](https://bugzilla.suse.com/show_bug.cgi?id=1247424)

Originally agama-cli performed profile validation by asking agama server
through HTTP API. This might complicate migration from older products
sometimes.

## Solution

Implemented --local option so you can ask ```agama config --local
validate``` for checking the profile and CLI won't send it to agama
server.

The option ```--local``` was implemented as ```config``` command
specific as I didn't identify any other command where it could make
sense.

TODO:
- ~~refactoring~~
- ~~test other config subcommands and identify those which might work
with --local as well~~ So far didn't find any other which makes sense or
could work locally. So if no idea appears during the review may be it is
a time to move the option even one more level lower (```agama config
validate --local```)


## Testing

- *Tested manually*

2676 of 4674 branches covered (57.25%)

Branch coverage included in aggregate %.

0 of 39 new or added lines in 2 files covered. (0.0%)

4 existing lines in 1 file now uncovered.

23210 of 29400 relevant lines covered (78.95%)

66.28 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
0.0
0.0% rust/agama-cli/src/lib.rs
37
0.0
0.0% rust/agama-cli/src/config.rs

Uncovered Existing Lines

Lines Coverage ∆ File
4
0.0
0.0% rust/agama-cli/src/config.rs
Subprojects
ID Flag name Job ID Ran Files Coverage
1 rust 17238904944.1 26 Aug 2025 01:10PM UTC 186
21.95
GitHub Action Run
3 service 17232323885.3 26 Aug 2025 08:32AM UTC 390
88.51
GitHub Action Run
3 web 17231846186.3 26 Aug 2025 08:03AM UTC 572
68.49
GitHub Action Run
Source Files on build 17238904944
  • Tree
  • List 1148
  • Changed 205
  • Source Changed 7
  • Coverage Changed 204
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #17238904944
  • a7f5f8b8 on github
  • Prev Build on master (#17232323885)
  • Next Build on master (#17262795917)
  • 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