aai-institute / aai-institute/jobq

Integrate Kueue Information into Workload Listing (Optional)

Open
#77 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Description

# Integrate Kueue Information into Workload Listing

## Objective
Enhance the workload listing feature to include information about queued jobs from Kueue.

## User Stories
As a user, I want to:
* See information about both running and queued jobs in the workload list

## Requirements
1. Extend the `/jobs/list` backend API to query Kueue custom resources
2. Include queued job information in the API response
3. Update the `jobby list` CLI command to display queued job information
4. Add filtering options to include/exclude queued jobs in both the API and CLI

## Example Usage
API: `GET /jobs/list?include_queued=true`
CLI: `jobby list --include-queued`

## Note
This enhancement should be implemented in a way that maintains backwards compatibility with the basic workload listing functionality. Consider adding a new parameter to the `/jobs/list` endpoint and a new flag to the CLI command to optionally include queued jobs.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.