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

agama-project / agama / 16144413222
74%

Build:
DEFAULT BRANCH: master
Ran 08 Jul 2025 01:22PM UTC
Jobs 3
Files 1098
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

08 Jul 2025 01:19PM UTC coverage: 64.421% (-0.001%) from 64.422%
16144413222

push

github

web-flow
feat: notify the user when the auto-installation cannot be started (#2534)

## Problem

Until now, Agama does not notify the user when the configuration for an
unattended installation cannot be loaded.

## Solution

### A partial solution

This is the first step towards having better handling of the
auto-installation process. It is not 100% complete, as it does not
report exactly the problem found when loading the profile, but we do not
want to invest more time into this at this point. We plan to do it
better for SLES 16.1.

### Replacing `agama-auto`

To implement this behavior, we decided to replace the old `agama-auto`
script with a new `agama-autoinstall` binary. The new binary can use all
the goodies from `agama-lib` and, in the future, it will not need to
rely on the command-line interface anymore.

### The behavior

If the user specifies an `inst.auto` and the profile could not be
loaded, Agama will display a sort of generic message asking the user
whether to retry. In the future, we would like to:

* Offer better diagnostics.
* Allow the user to specify a new URL.

If the user decides to not retry, Agama will not start the
auto-installation process.

If the user did not specify a `inst.auto`, Agama tries to silently load
one from the pre-defined locations.

### A new `inst.install` option

Setting `inst.install` to `0` makes Agama to stop before starting the
installation, after loading the configuration. It might be useful for
inspecting the result of applying the configuration before starting the
installation.

## Testing

- [x] Added a new unit test (partial)
- [x] Tested manually


## Screenshots

The text needs some improvements, but the screenshot is useful to get
the idea.


![config-load-error](https://github.com/user-attachments/assets/c6f31ed1-d826-47e5-bca2-7e473a67d7e9)


## Follow-up

- Document the new `inst.install` cmdline argument.
- Allow the user to specify a new URL.
- Do not rely on the CLI anymore.
- Extend the CLI to supp... (continued)

1887 of 3409 branches covered (55.35%)

Branch coverage included in aggregate %.

1 of 2 new or added lines in 1 file covered. (50.0%)

5 existing lines in 1 file now uncovered.

23710 of 36325 relevant lines covered (65.27%)

47.42 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
71.88
-1.46% web/src/queries/questions.ts

Uncovered Existing Lines

Lines Coverage ∆ File
5
74.19
-1.67% web/web/src/queries/questions.ts
Subprojects
ID Flag name Job ID Ran Files Coverage
3 web 16144413222.3 08 Jul 2025 01:22PM UTC 540
68.16
GitHub Action Run
1 rust 16030796018.1 02 Jul 2025 04:48PM UTC 173
21.91
GitHub Action Run
3 service 16069055957.3 04 Jul 2025 08:14AM UTC 385
88.55
GitHub Action Run
Source Files on build 16144413222
  • Tree
  • List 1098
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #16144413222
  • 5ffbf053 on github
  • Prev Build on master (#16114985631)
  • Next Build on master (#16144413186)
  • 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