IF Commons GitHub

Evidence Capture: quality

1 failing

Results of the run of the commit 8df3cc3b89 at 2026-11-22 16:24 UTC (the run) that made this site; a library whose suite was not run in it has none.

The library: Evidence Capture.

Quality gate

The library does not hold 1 condition of the gate. The gate is shown and enforces nothing: the site is published whatever it says.

ConditionHoldsWhy not
its tests were in the runyes
no test failedno1 test failed
no open issue of severity high or criticalyes

Line coverage

96.6% of 495 lines of 13 source files are reached by the library's tests. The least covered files:

FileLinesHitCovered
commons/evidence-capture/src/physical/timer.ts252288%
commons/evidence-capture/src/physical/bundle.ts11911294.1%
commons/evidence-capture/src/physical/signing.ts444295.5%
commons/evidence-capture/src/logical/journal.ts545296.3%
commons/evidence-capture/src/physical/collect.ts10910697.2%
commons/evidence-capture/src/physical/views.ts6767100%
commons/evidence-capture/src/logical/query.ts3333100%
commons/evidence-capture/library.ts2323100%
commons/evidence-capture/src/logical/spans.ts1111100%
commons/evidence-capture/src/physical/mod.ts55100%

Tests

26 tests: 25 passed, 1 failed, 0 skipped, 0 planned or other.

Failing

TestFileResultTimeWhy
a state is kept only where it changed, every look is journaled, commits come when a state changed or the batch interval has run, and the commit is made at the instant and names what changedsuite/collect.test.tsfailed49 msExpected values to be strictly deep-equal: + actual - expected + '2026-12-01T10:00:00Z|captured 2026-12-01T10:00:00Z: changed sparta; 1 entries' - '2026-12-01T10:00:00+00:00|captured 2026-12-01T10:00:00Z: changed sparta; 1 entries'

Slowest

TestFileResultTime
the journal is sealed with a person's key, the seal verifies, the entries after it are counted, and a changed journal or a seal by another key is foundsuite/seal.test.tspassed172 ms
a look that fails is journaled as its kind and leaves the state kept as it wassuite/collect.test.tspassed159 ms
the branch alone is pushed as the policy says, a push that fails is an entry and leaves the remote as it was, and a later run tries againsuite/collect.test.tspassed148 ms
only the assets that are due are looked at, those told are looked at whether due or not, and the number at once is limitedsuite/collect.test.tspassed138 ms
the journal and the last look at each asset are relations, the questions of an operator are one line of SQL each, what is not one read is refused as a value, and the branch is asked through the store (a branch that does not exist says nothing was captured)suite/views.test.tspassed118 ms
a key is sealed with only if it is a signer's (and the one the policy names), an export without a key is refused where a seal is asked for, and a bundle is verified offline with the signers of a filesuite/views.test.tspassed117 ms
a bundle is exported up to an instant, signed with a key, and verified offline; each way it can be wrong is namedsuite/seal.test.tspassed109 ms
the difference of an asset's state is the last change by default, between two instants or commits, or since a span, and nothing where there is nothing to comparesuite/views.test.tspassed85 ms
the changes are listed newest first, each with its difference from the state before, and the first state is markedsuite/views.test.tspassed73 ms
with a journal of changes and a heartbeat, only a change and the heartbeat are entriessuite/collect.test.tspassed71 ms

History

The last 6 runs in which the library's tests ran, oldest first.

Tests: 26, latest 26
Pass rate: 96 %, latest 96
Time: 2 to 3 s, latest 2

Requirements

32 requirements: 30 proved, 0 partly (a test skipped or planned), 2 failing, 0 with no test recorded.

Titles, headings, exports, tables, columns and requirements. Esc closes.