chore: update the orchestrator workflow overview api
Hey, I just made a Pull Request!
This adds a new object called workflowRunStats to the overview
The object contains the following:
- successCount - the count of successful workflow runs(all time)
- errorCount - the count of errored workflow runs(all time)
- totalCount - the total count of workflow runs(all time)
- successRatio - the ratio of successful workflow runs(all time)
- runsLastMonth - The amount of total runs for the sliding 30day window
This fixes both https://redhat.atlassian.net/browse/RHIDP-14335 and https://redhat.atlassian.net/browse/RHIDP-14334
:heavy_check_mark: Checklist
- [X] A changeset describing the change and affected packages. (more info)
- [ ] Added or Updated documentation
- [X] Tests for new functionality and regression tests for bug fixes
- [ ] Screenshots attached (for UI changes)
Changed Packages
| Package Name | Package Path | Changeset Bump | Current Version |
|---|---|---|---|
| @red-hat-developer-hub/backstage-plugin-orchestrator-backend | workspaces/orchestrator/plugins/orchestrator-backend | patch | v8.9.4 |
| @red-hat-developer-hub/backstage-plugin-orchestrator-common | workspaces/orchestrator/plugins/orchestrator-common | patch | v3.6.4 |
Codecov Report
:x: Patch coverage is 97.50000% with 1 line in your changes missing coverage. Please review.
:white_check_mark: Project coverage is 54.07%. Comparing base (efb4c4f) to head (4da28c8).
:warning: Report is 11 commits behind head on main.
:white_check_mark: All tests successful. No failed tests found.
Additional details and impacted files
@@ Coverage Diff @@
## main #3328 +/- ##
==========================================
+ Coverage 54.02% 54.07% +0.04%
==========================================
Files 2409 2409
Lines 87733 87770 +37
Branches 24306 24296 -10
==========================================
+ Hits 47400 47459 +59
+ Misses 38812 38790 -22
Partials 1521 1521
| Flag | Coverage Δ | *Carryforward flag | |
|---|---|---|---|
| adoption-insights | 83.58% <ø> (ø) |
Carriedforward from c7315c2 | |
| ai-integrations | 70.03% <ø> (ø) |
Carriedforward from c7315c2 | |
| app-defaults | 69.60% <ø> (ø) |
Carriedforward from c7315c2 | |
| augment | 46.39% <ø> (ø) |
Carriedforward from c7315c2 | |
| bulk-import | 72.69% <ø> (ø) |
Carriedforward from c7315c2 | |
| cost-management | 17.48% <ø> (ø) |
Carriedforward from c7315c2 | |
| dcm | 60.27% <ø> (ø) |
Carriedforward from c7315c2 | |
| extensions | 62.17% <ø> (ø) |
Carriedforward from c7315c2 | |
| global-floating-action-button | 74.30% <ø> (ø) |
Carriedforward from c7315c2 | |
| global-header | 61.63% <ø> (ø) |
Carriedforward from c7315c2 | |
| homepage | 52.60% <ø> (ø) |
Carriedforward from c7315c2 | |
| install-dynamic-plugins | 56.23% <ø> (ø) |
Carriedforward from c7315c2 | |
| konflux | 91.01% <ø> (ø) |
Carriedforward from c7315c2 | |
| lightspeed | 68.62% <ø> (ø) |
Carriedforward from c7315c2 | |
| mcp-integrations | 85.46% <ø> (ø) |
Carriedforward from c7315c2 | |
| orchestrator | 38.05% <97.50%> (+0.72%) |
:arrow_up: | |
| quickstart | 62.09% <ø> (ø) |
Carriedforward from c7315c2 | |
| sandbox | 79.56% <ø> (ø) |
Carriedforward from c7315c2 | |
| scorecard | 83.93% <ø> (ø) |
Carriedforward from c7315c2 | |
| theme | 64.44% <ø> (ø) |
Carriedforward from c7315c2 | |
| translations | 8.49% <ø> (ø) |
Carriedforward from c7315c2 | |
| x2a | 78.79% <ø> (ø) |
Carriedforward from c7315c2 |
*This pull request uses carry forward flags. Click here to find out more.
Continue to review full report in Codecov by Harness.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update efb4c4f...4da28c8. Read the comment docs.
:rocket: New features to boost your workflow:
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code