furiko-io / furiko

Kubernetes cron and batch job platform
https://furiko.io
Apache License 2.0
483 stars 21 forks source link

feat(api): Add status.runningTasks #86

Closed irvinlim closed 2 years ago

irvinlim commented 2 years ago

Adds a new field status.runningTasks, which summarizes the total number of tasks that are running for the Job.

codecov[bot] commented 2 years ago

Codecov Report

Merging #86 (d8ed26b) into main (c6c08dd) will increase coverage by 0.14%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #86      +/-   ##
==========================================
+ Coverage   62.62%   62.76%   +0.14%     
==========================================
  Files         200      200              
  Lines       10287    10297      +10     
==========================================
+ Hits         6442     6463      +21     
+ Misses       3496     3486      -10     
+ Partials      349      348       -1     
Impacted Files Coverage Δ
apis/execution/v1alpha1/job_types.go 100.00% <ø> (ø)
pkg/execution/util/job/task_status.go 93.75% <100.00%> (+0.72%) :arrow_up:
pkg/runtime/reconciler/metrics.go 68.42% <0.00%> (+26.31%) :arrow_up:
...kg/execution/controllers/croncontroller/metrics.go 100.00% <0.00%> (+85.71%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c6c08dd...d8ed26b. Read the comment docs.