Skip to content
Snippets Groups Projects

refactor: Extract GetUsageByProjectService

Merged Vladimir Shushlin requested to merge vshushlin/refactor-runner-usage-service into master

What does this MR do and why?

In preparation for the API for CI compute minute breakdown by project (#437658 - closed), this MR extracts the aggregation logic from the service generating csv.

Other changes:

  • simplified SQL a bit
  • added rounding to minutes (also in SQL)
    • fixed formatter to Nullable types

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Edited by Vladimir Shushlin

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading