Skip to content

feat: return used and available resources in pools#1244

Open
mohammad-alisafaee wants to merge 8 commits intomainfrom
build/resource-quotas
Open

feat: return used and available resources in pools#1244
mohammad-alisafaee wants to merge 8 commits intomainfrom
build/resource-quotas

Conversation

@mohammad-alisafaee
Copy link
Copy Markdown
Contributor

@mohammad-alisafaee mohammad-alisafaee commented Mar 24, 2026

Modifies /resource_pools endpoint to return resource_usage for each resource pool and number of hours available (resource_available and resource_available_percentage) for each resource class in a pool.

@mohammad-alisafaee mohammad-alisafaee added the do not merge A PR that has been approved but should not be merged label Mar 24, 2026
@coveralls
Copy link
Copy Markdown

coveralls commented Mar 24, 2026

Coverage Report for CI Build 24057538954

Coverage increased (+0.05%) to 87.175%

Details

  • Coverage increased (+0.05%) from the base build.
  • Patch coverage: 1 uncovered change across 1 file (55 of 56 lines covered, 98.21%).
  • 8 coverage regressions across 4 files.

Uncovered Changes

File Changed Covered %
components/renku_data_services/crc/core.py 18 17 94.44%

Coverage Regressions

8 previously-covered lines in 4 files lost coverage.

File Lines Losing Coverage Coverage
components/renku_data_services/storage/blueprints.py 4 91.34%
components/renku_data_services/crc/core.py 2 78.57%
components/renku_data_services/base_api/error_handler.py 1 90.72%
components/renku_data_services/base_api/misc.py 1 96.15%

Coverage Stats

Coverage Status
Relevant Lines: 28802
Covered Lines: 25108
Line Coverage: 87.17%
Coverage Strength: 1.52 hits per line

💛 - Coveralls

@mohammad-alisafaee mohammad-alisafaee force-pushed the build/resource-quotas branch 2 times, most recently from 92567e6 to 2e30f4b Compare April 7, 2026 00:09
@mohammad-alisafaee mohammad-alisafaee marked this pull request as ready for review April 7, 2026 07:07
@mohammad-alisafaee mohammad-alisafaee requested review from a team, SalimKayal and sgaist as code owners April 7, 2026 07:07
Comment thread components/renku_data_services/crc/api.spec.yaml Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not merge A PR that has been approved but should not be merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants