Skip to content

fix(orchestrator backend) - add the total count without pagination to the instances response payload#3623

Merged
lokanandaprabhu merged 3 commits into
redhat-developer:mainfrom
lholmquist:orchestartor-workflow-instances-return-total-count
Jun 30, 2026
Merged

fix(orchestrator backend) - add the total count without pagination to the instances response payload#3623
lokanandaprabhu merged 3 commits into
redhat-developer:mainfrom
lholmquist:orchestartor-workflow-instances-return-total-count

Conversation

@lholmquist

Copy link
Copy Markdown
Member

Hey, I just made a Pull Request!

Response payload example:

{
    "totalCount": 29,
    "items": [
        {
            "id": "1753d4a3-aca6-4f9b-94bf-6101d460fee6",
            "version": "1.0",
            "processId": "yamlgreet",
            "processName": "Greeting workflow",
        .......
         },
      ..........
    ],
    "paginationInfo": {
        "pageSize": 21,
        "offset": 20
    }
}

✔️ Checklist

  • A changeset describing the change and affected packages. (more info)
  • Added or Updated documentation
  • Tests for new functionality and regression tests for bug fixes
  • Screenshots attached (for UI changes)

@rhdh-gh-app

rhdh-gh-app Bot commented Jun 29, 2026

Copy link
Copy Markdown

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.10.1
@red-hat-developer-hub/backstage-plugin-orchestrator-common workspaces/orchestrator/plugins/orchestrator-common patch v3.7.1

@lholmquist

Copy link
Copy Markdown
Member Author

cc @lokanandaprabhu

@codecov

codecov Bot commented Jun 29, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 54.01%. Comparing base (54dcf0a) to head (6a78ee8).
⚠️ Report is 12 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3623   +/-   ##
=======================================
  Coverage   54.01%   54.01%           
=======================================
  Files        2325     2325           
  Lines       89151    89152    +1     
  Branches    24911    24962   +51     
=======================================
+ Hits        48156    48157    +1     
+ Misses      40760    40756    -4     
- Partials      235      239    +4     
Flag Coverage Δ *Carryforward flag
adoption-insights 83.70% <ø> (ø) Carriedforward from 0c72ea3
ai-integrations 67.95% <ø> (ø) Carriedforward from 0c72ea3
app-defaults 69.79% <ø> (ø) Carriedforward from 0c72ea3
augment 46.39% <ø> (ø) Carriedforward from 0c72ea3
boost 74.35% <ø> (ø) Carriedforward from 0c72ea3
bulk-import 72.46% <ø> (ø) Carriedforward from 0c72ea3
cost-management 14.10% <ø> (ø) Carriedforward from 0c72ea3
dcm 61.81% <ø> (ø) Carriedforward from 0c72ea3
extensions 61.53% <ø> (ø) Carriedforward from 0c72ea3
global-floating-action-button 71.18% <ø> (ø) Carriedforward from 0c72ea3
global-header 59.71% <ø> (ø) Carriedforward from 0c72ea3
homepage 49.84% <ø> (ø) Carriedforward from 0c72ea3
install-dynamic-plugins 56.77% <ø> (ø) Carriedforward from 0c72ea3
konflux 91.49% <ø> (ø) Carriedforward from 0c72ea3
lightspeed 68.54% <ø> (ø) Carriedforward from 0c72ea3
mcp-integrations 85.46% <ø> (ø) Carriedforward from 0c72ea3
orchestrator 37.12% <50.00%> (+<0.01%) ⬆️
quickstart 63.76% <ø> (ø) Carriedforward from 0c72ea3
sandbox 79.56% <ø> (ø) Carriedforward from 0c72ea3
scorecard 82.67% <ø> (ø) Carriedforward from 0c72ea3
theme 61.26% <ø> (ø) Carriedforward from 0c72ea3
translations 7.25% <ø> (ø) Carriedforward from 0c72ea3
x2a 78.68% <ø> (ø) Carriedforward from 0c72ea3

*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 data
Powered by Codecov. Last update 54dcf0a...6a78ee8. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread workspaces/orchestrator/.changeset/shiny-eggs-jump.md Outdated

@lokanandaprabhu lokanandaprabhu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@sonarqubecloud

Copy link
Copy Markdown

@lokanandaprabhu lokanandaprabhu merged commit e1a86f0 into redhat-developer:main Jun 30, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants