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

openSUSE / agama / 8292516399
25%
master: 72%

Build:
Build:
LAST BUILD BRANCH: storage-volume-keywords
DEFAULT BRANCH: master
Ran 15 Mar 2024 07:10AM UTC
Jobs 2
Files 396
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

15 Mar 2024 07:03AM UTC coverage: 74.351% (-0.05%) from 74.398%
8292516399

push

github

web-flow
Expose the Progress interface through the HTTP/JSON API (#1092)

Trello:
https://trello.com/c/2RvcZBFR/3564-5-expose-the-progress-api-over-http

This PR exposes the `Progress` API for the Manager and Software services
through the HTTP/JSON interface. It is implemented as a pair of
functions that can be reused in all services that want to implement such
an interface.

## A `/SERVICE/progress` endpoint

The `progress_router` function allows to add a `/SERVICE/progress` route
that exposes the current progress:

```json
{
  "current_step": 4,
  "max_steps": 4,
  "current_title": "Calculating the software proposal",
  "finished": false
}
```

## The events stream

The `progress_stream` builds an events stream that emits a new event
when the `current_step` changes:

```json
{
  "type": "Progress",
  "service": "org.opensuse.Agama.Software1",
  "current_step": 4,
  "max_steps": 4,
  "current_title": "Calculating the software proposal",
  "finished": false
}
```

## Enabling `ServiceStatus` and `Progress` for the Software service

Additionally, the PR enables the `ServiceStatus` (implemented
https://github.com/openSUSE/agama/pull/1089) and the `Progress` for the
Software service too.

20 of 78 new or added lines in 5 files covered. (25.64%)

10949 of 14726 relevant lines covered (74.35%)

12.82 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
1 rust 8292516399.1 15 Mar 2024 07:10AM UTC 0
42.88
GitHub Action Run
1 service 8169459432.1 06 Mar 2024 09:05AM UTC 0
85.22
GitHub Action Run
Source Files on build 8292516399
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #8292516399
  • 64893e62 on github
  • Prev Build on architecture_2024 (#8268840686)
  • Next Build on architecture_2024 (#8297907855)
  • 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