OXYGENHUB

Tests report coverage to the hub dfa3e8e95d80

The test job runs the same tests under cargo llvm-cov and keeps the
LCOV report as its coverage artifact, which OxygenHub's Coverage tab
reads (oxygenhub#113). The build image with the coverage tools is pinned
(7705d699). Locally the whole suite passes instrumented: 82.0% of lines.
Author
Andy McCall @andymccall <[email protected]>
When
· 2026-10-05 16:22 UTC
Signature
✔ signed by Andy McCall
Hash
dfa3e8e95d8035f021cdea5c3b7c83543efd9251d2568a4f9afde2b42b800b87
Depends on
2b668d92b066 4224eb6b4488 ba1731bba530
Depended on by
ff6987682725 bd40c0e3feba
In bookmarks
bare-hashes carried-not-removed carry-identical doctor-trust identical-sides keyless-tags main merge-remote-bookmark only-help-103 paths-for-resolutions-and-amend push-notes show-stat subrepo-pin-state switch-says
In tags
v0.10.0 v0.11.0 v0.4.1 v0.4.2 v0.4.3 v0.4.4 v0.4.5 v0.4.6 v0.5.0 v0.5.1 v0.6.0 v0.7.0 v0.8.0 v0.9.0
Edits
5 atoms, 0 tree operations, 1 file

Browse the tree at this change

modified .flow/pipeline.kdl +11 −3
…
7 unchanged lines
8 8
// it when Cargo.lock changes.
9 9
sandbox "rust" {
10 10
    runtime "microvm"
11 -
    rootfs "cas://blob/affd50628428966adc46670047468d4471cd589b4b92ef889981b2587a4eeed1"
11 +
    rootfs "cas://blob/7705d699a4fc06862e4297b7069396cf3b5b35b1d3f15191c46dc2031af17133"
12 12
    memory-limit "8GiB"
13 13
    cpu-limit 4
14 14
    // Tests serve and connect on 127.0.0.1; nothing leaves the guest.
…
2 unchanged lines
17 17
18 18
sandbox "rust-small" {
19 19
    runtime "microvm"
20 -
    rootfs "cas://blob/affd50628428966adc46670047468d4471cd589b4b92ef889981b2587a4eeed1"
20 +
    rootfs "cas://blob/7705d699a4fc06862e4297b7069396cf3b5b35b1d3f15191c46dc2031af17133"
21 21
    memory-limit "1GiB"
22 22
    cpu-limit 1
23 23
    network "isolated"
…
18 unchanged lines
42 42
    }
43 43
======= oxy conflict 1 of 1, side 2 of 2: change 116da477 "CI starts from the build image's prebuilt dependencies"
44 44
    exec "sh" ".flow/warm-target.sh" "cargo" "clippy" "--workspace" "--all-targets" "--locked" "--" "-D" "warnings"
45 +
// The tests, run under cargo-llvm-cov so the hub's Coverage tab
46 +
// (oxygenhub#113) gets a report: the same tests, instrumented, and an LCOV
47 +
// file kept as the job's `coverage` artifact.
45 48
>>>>>>> oxy conflict 1 of 1 end
46 49
}
47 50
…
5 unchanged lines
53 56
        target "/src/target"
54 57
        size "24GiB"
55 58
    }
56 -
    env {
59 +
    exec "cargo" "llvm-cov" "--workspace" "--locked" "--lcov" "--output-path" "/src/target/lcov.info"
60 +
    output {
61 +
        artifact "coverage" {
62 +
            path "/src/target/lcov.info"
63 +
        }
64 +
    }
57 65
        CARGO_INCREMENTAL "0"
58 66
    }
59 67
    exec "sh" ".flow/warm-target.sh" "cargo" "test" "--workspace" "--locked"
…
69 unchanged lines