• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

MinaProtocol / mina / 2841

30 Oct 2024 07:56AM UTC coverage: 33.412% (-27.7%) from 61.098%
2841

push

buildkite

web-flow
Merge pull request #16306 from MinaProtocol/dkijania/fix_promotion_to_gcr

Fix promotion job PUBLISH misuse

22273 of 66661 relevant lines covered (33.41%)

119594.1 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

25.0
/src/lib/work_selector/sequence.ml
1
module Make
1✔
2
    (Inputs : Intf.Inputs_intf)
3
    (Lib : Intf.Lib_intf with module Inputs := Inputs) =
4
struct
5
  let work ~snark_pool ~fee ~logger (state : Lib.State.t) =
6
    Lib.State.remove_old_assignments state ~logger ;
×
7
    let unseen_jobs = Lib.State.all_unseen_works state in
×
8
    match Lib.get_expensive_work ~snark_pool ~fee unseen_jobs with
×
9
    | [] ->
×
10
        None
11
    | x :: _ ->
×
12
        Lib.State.set state x ; Some x
×
13

14
  let remove = Lib.State.remove
15

16
  let pending_work_statements = Lib.pending_work_statements
17
end
18

19
let%test_module "test" =
20
  ( module struct
21
    module Test = Test.Make_test (Make)
22
  end )
1✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc