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

openSUSE / agama / 8292516399 / 1 – rust
25%
master: 72%

Build:
Build:
LAST BUILD BRANCH: storage-volume-keywords
DEFAULT BRANCH: master
Ran 15 Mar 2024 07:10AM UTC
Files 80
Run time 1s
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: 42.884% (+0.09%) from 42.796%
rust – 8292516399.1

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.

1621 of 3780 relevant lines covered (42.88%)

1.64 hits per line

Source Files on job rust - 8292516399.1
  • Tree
  • List 80
  • Changed 36
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 8292516399
  • 64893e62 on github
  • Prev Job for on architecture_2024 (#8268840686.1)
  • Next Job for on architecture_2024 (#8297907855.1)
  • 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