add shortjobs and resource sums to project and user lists

This commit is contained in:
Christoph Kluge
2026-02-04 12:57:48 +01:00
parent 5d7dd62b72
commit a7a95bb866
2 changed files with 86 additions and 7 deletions

View File

@@ -466,7 +466,7 @@ func (r *JobRepository) JobCountGrouped(
// AddJobCountGrouped augments existing statistics with additional job counts by category.
//
// This method enriches JobsStatistics returned by JobsStatsGrouped or JobCountGrouped
// with counts of running or short-running jobs, matched by group ID.
// with counts of running or short-running (based on ShortRunningJobsDuration) jobs, matched by group ID.
//
// Parameters:
// - ctx: Context for security checks