Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
138 commits
Select commit Hold shift + click to select a range
9b75e26
fix(prs): withhold the percentile when the scored genotypes list vari…
GeiserX Nov 19, 2026
2379def
fix(prs): give og prs table the genotypes pgsc_calc scored
GeiserX Nov 19, 2026
d0c5d8f
feat(summary): carry the PRS percentile note into the summary
GeiserX Nov 19, 2026
b18a92d
docs(prs): say when a percentile is withheld for a variant-only input
GeiserX Nov 19, 2026
5ddb18a
fix(prs): say a missing site adds nothing, and drop the panel line wh…
GeiserX Nov 19, 2026
53d6068
fix(prs): say the percentile was withheld, not that no panel was inst…
GeiserX Nov 19, 2026
bcf516a
test(parity): keep a-prs-raw a run without the panel
GeiserX Nov 19, 2026
466150f
fix(callability): stop counting overlapping mates twice when deciding…
GeiserX Nov 19, 2026
5ffb404
ci(e2e): run the e2e cases that use og when rust/ changes
GeiserX Nov 19, 2026
f946731
ci(e2e): report a cancelled run's e2e check as cancelled, not failed
GeiserX Nov 19, 2026
007bb64
docs(testing): say what a green container-ok means when no image changed
GeiserX Nov 19, 2026
419dda5
test(summary): a run on chr20 and chr22 must record its scope and mar…
GeiserX Nov 19, 2026
48919c3
feat(summary): record what part of the genome a run covered and mark …
GeiserX Nov 19, 2026
ec30fe9
docs(callability): measure the gene pass without --fast-mode on publi…
GeiserX Nov 19, 2026
bba36f8
Merge remote-tracking branch 'origin/main' into pgp/i411-run-scope
GeiserX Nov 19, 2026
dec1bc4
fix(prs): tie the kept percentile to the reference-call rule, not the…
GeiserX Nov 19, 2026
b5d1224
Merge remote-tracking branch 'origin/main' into pgp/i411-ci-evidence
GeiserX Nov 19, 2026
2bdb0bb
Merge remote-tracking branch 'origin/main' into pgp/i411-callability-…
GeiserX Nov 19, 2026
e2fd6fc
docs(callability): give step 16b's full time on 30x and how to refres…
GeiserX Nov 19, 2026
e294262
docs(summary): say that no step writes the run intervals row yet, so …
GeiserX Nov 19, 2026
8d7f733
Merge remote-tracking branch 'origin/main' into pgp/i411-prs-variant-…
GeiserX Nov 19, 2026
bc9c3b9
ci(e2e): run vendor-vcf-intake-5-docs on a Rust change, it runs og
GeiserX Nov 19, 2026
d25f89e
feat(contract): compare the contract with a release's contract (--bas…
GeiserX Nov 19, 2026
648f085
test(contract): check the stable files the e2e base run already writes
GeiserX Nov 19, 2026
0e41c70
ci(guard): compare the contract with the newest 1.x release's
GeiserX Nov 19, 2026
4ddc991
chore(codeowners): say the file routes reviews and does not require them
GeiserX Nov 19, 2026
eb7da6a
docs(contract): say how the release baseline holds the contract
GeiserX Nov 19, 2026
1084699
fix(summary): mark a stale genome-wide result as of unknown scope, ne…
GeiserX Nov 19, 2026
5b0d2f7
test(mei): a filtered MEGAnE call must not make a disease site seen
GeiserX Nov 19, 2026
646995f
fix(mei): mark a disease site seen only from a call that passed MEGAn…
GeiserX Nov 19, 2026
7087af1
docs(mei): say a flagged MEGAnE call reads call filtered out, not seen
GeiserX Nov 19, 2026
6493dde
test(contract): check the five stable files the bash base run writes …
GeiserX Nov 19, 2026
8f246c1
fix(locityper): read uncalibrated outside HLA and KIR
GeiserX Nov 19, 2026
cdf7ae1
docs(locityper): say where the authors' filter applies
GeiserX Nov 19, 2026
b8de02d
docs(ystr): say why the Y-STR panel follows FamilyTreeDNA's order
GeiserX Nov 19, 2026
710591d
fix(ystr): report Y-STR counts on the scale people compare against
GeiserX Nov 19, 2026
699ca89
fix(gridss): write the high-confidence calls GRIDSS recommends, and s…
GeiserX Nov 19, 2026
42a90de
docs(sv): call the consensus caller agreement and give the real reaso…
GeiserX Nov 19, 2026
93a8baf
docs(changelog): GRIDSS high-confidence file and the SV consensus wor…
GeiserX Nov 19, 2026
5938c22
fix(qc): og qc sample marks thin identity and contamination evidence
GeiserX Nov 19, 2026
d5f2c8b
fix(qc): pass VerifyBamID2's kept-marker count to the verdict
GeiserX Nov 19, 2026
299e8ec
docs(qc): say when identity and contamination read uncertain
GeiserX Nov 19, 2026
c5ea933
docs(assets): name GENCODE 50 as the source of the CHIP gene BED
GeiserX Nov 19, 2026
16211d2
docs(assets): carry TRExplorer's MIT notice in the SV rule regions
GeiserX Nov 19, 2026
6e56ee4
docs(assets): name NIST, GENCODE, HGNC and NCBI in the callability ca…
GeiserX Nov 19, 2026
9702119
docs(assets): credit the CC BY 4.0 Parascopy and Locityper data
GeiserX Nov 19, 2026
20211a3
docs(assets): ship RBCeq2's MIT notice with the blood group markers
GeiserX Nov 19, 2026
83a15c8
docs: state the terms of the cohort panels and the test-data mirror
GeiserX Nov 19, 2026
258b158
docs(changelog): note the source and licence lines of the bundled tables
GeiserX Nov 19, 2026
41845f9
fix(qc): count a pair as a comparison only on known shared sites
GeiserX Nov 19, 2026
f4123b0
test(gridss): check the skip path writes the high-confidence file; pr…
GeiserX Nov 19, 2026
1e12a8e
docs(assets): give the 3202-set NYGC acknowledgement and NIST's whole…
GeiserX Nov 19, 2026
885d08b
docs(changelog): say only the SV rule and callability builders write …
GeiserX Nov 19, 2026
a878b3b
fix(ystr): count DYS389II as FamilyTreeDNA does, 30 on GRCh38
GeiserX Nov 19, 2026
795f1c4
fix(pgx): leave reference calls below GQ 20 out of PharmCAT's input
GeiserX Nov 19, 2026
def4b2d
docs(pgx): say that reference calls below GQ 20 reach PharmCAT as mis…
GeiserX Nov 19, 2026
57f63aa
fix(qc): word a skipped marker check after VerifyBamID2's real rule
GeiserX Nov 19, 2026
7fde0dc
test(str): red tests for HTT 36-39 reduced penetrance and in-repeat-o…
GeiserX Nov 19, 2026
f256ba2
fix(str): mark HTT 36-39 as reduced penetrance and read in-repeat-onl…
GeiserX Nov 19, 2026
41fccf5
docs(str): say how HTT 36-39 and in-repeat-only alleles are read
GeiserX Nov 19, 2026
2fe290a
fix(str): refuse a penetrance table with no row or an inverted range
GeiserX Nov 19, 2026
f25ee55
docs(pgx): scope the GQ 20 floor for reference calls to the gVCF path
GeiserX Nov 19, 2026
ed2939e
fix(chip): count ASXL1 truncating changes only in its last two exons
GeiserX Nov 19, 2026
60699ea
fix(chip): apply the 2% VAF floor and call a chip row a possible finding
GeiserX Nov 19, 2026
95d6abe
docs(chip): document the 2% floor, the germline-fit note and the ASXL…
GeiserX Nov 19, 2026
9dac36f
docs(str): say the penetrance table is read at run time and the Nextf…
GeiserX Nov 19, 2026
b0a57ab
feat(og): map an ONT basecaller model to its Clair3 model
GeiserX Nov 19, 2026
56448b7
fix(longread): choose the Clair3 model from the basecaller
GeiserX Nov 19, 2026
81f4a9e
docs(longread): say how step 03e picks the Clair3 model
GeiserX Nov 19, 2026
0dd3942
fix(traits): say when a rule reading assumes which alleles share a copy
GeiserX Nov 19, 2026
770bd8c
test(e2e): check the HFE phase caveat and the HFE phase sites in rust…
GeiserX Nov 19, 2026
e84323d
docs(traits): describe the phase caveat of rules read without phase
GeiserX Nov 19, 2026
a38bd34
feat(ancestry): add our own copying-model painting engine to og-admix
GeiserX Nov 19, 2026
58fc374
test(ancestry): check the painting engine against truth, a brute-forc…
GeiserX Nov 19, 2026
28dac60
docs(changelog): note the painting engine
GeiserX Nov 19, 2026
fd7fdd9
feat(freshness): compare the curated PGx tables with CPIC, DailyMed, …
GeiserX Nov 19, 2026
34ccd45
ci(freshness): run the freshness checks when a curated PGx table changes
GeiserX Nov 19, 2026
a7482f8
fix(longread): infer no Clair3 model from partly annotated read groups
GeiserX Nov 19, 2026
e011ae3
fix(freshness): ask fda.gov for a web page
GeiserX Nov 19, 2026
0fa7d9c
test(parity): record the phase caveat og adds to the shared-vocabular…
GeiserX Nov 19, 2026
22d654f
fix(freshness): read the FDA table from its newest Wayback capture wh…
GeiserX Nov 19, 2026
312302e
fix(ancestry): refuse a genome with no target haplotype and never rea…
GeiserX Nov 19, 2026
a7421f1
fix(longread): check a basecall_model read from the BAM header like B…
GeiserX Nov 19, 2026
1341635
fix(freshness): name the source on drift rows and refuse odd DailyMed…
GeiserX Nov 19, 2026
3073c74
fix(acmg): count the copies of a recessive gene hit, not the alt copi…
GeiserX Nov 19, 2026
0d3893b
fix(two-hits): a homozygous hypomorph inside a deletion is only possi…
GeiserX Nov 19, 2026
286b476
fix(carrier): keep the combined-allele note, and pair no record witho…
GeiserX Nov 19, 2026
3c9d565
docs(acmg): state the haplotype rule in the four places it lives, and…
GeiserX Nov 19, 2026
1100d0b
fix(bloodtype): mark calls under GQ 20 or DP 8 as weak and keep their…
GeiserX Nov 19, 2026
017ef87
fix(bloodtype): lower confidence for weak calls and stop reading a mi…
GeiserX Nov 19, 2026
4a5da3f
docs(bloodtype): say what a weak call, a missing record and phase do,…
GeiserX Nov 19, 2026
262a4c0
fix(bloodtype): read a gVCF block that reaches a marker through END a…
GeiserX Nov 19, 2026
32be227
fix(freshness): stop showing a fixed read date on the drug interactio…
GeiserX Nov 19, 2026
678520c
test(acmg): a run without step 23 must get the secondary-findings card
GeiserX Nov 20, 2026
b625fd2
feat(acmg): write the secondary-findings card as its own section from…
GeiserX Nov 20, 2026
f77cc34
docs(acmg): say where the secondary-findings card lives, and check it…
GeiserX Nov 20, 2026
1048f98
style(acmg): cargo fmt
GeiserX Nov 20, 2026
2c9e3ec
test(e2e): keep the platelet and copy-number cases true with not asse…
GeiserX Nov 20, 2026
87e21fe
Merge main into the T6 batch tip
GeiserX Nov 20, 2026
56653e0
Merge #514 i411-ci-evidence into the T6 batch tip
GeiserX Nov 20, 2026
d7c2ecf
Merge #515 i411-run-scope into the T6 batch tip
GeiserX Nov 20, 2026
4086dd0
Merge #516 i411-callability-overlap into the T6 batch tip
GeiserX Nov 20, 2026
8f56e13
Merge #517 i411-contract-baseline into the T6 batch tip
GeiserX Nov 20, 2026
98fba09
Merge #518 i411-mei-seen-pass into the T6 batch tip
GeiserX Nov 20, 2026
d910c1b
Merge #519 i411-locityper-uncalibrated into the T6 batch tip
GeiserX Nov 20, 2026
13e4bdd
Merge #520 i411-ystr-ftdna-scale into the T6 batch tip
GeiserX Nov 20, 2026
edd11ec
Merge #521 i411-sv-docs-gridss into the T6 batch tip
GeiserX Nov 20, 2026
696998f
Merge #522 i411-sample-qc-honest into the T6 batch tip
GeiserX Nov 20, 2026
7d67f3a
Merge #523 i411-asset-attribution into the T6 batch tip
GeiserX Nov 20, 2026
cd5a86d
Merge #524 i411-refblock-gq into the T6 batch tip
GeiserX Nov 20, 2026
615f837
Merge #525 i411-str-htt-penetrance into the T6 batch tip
GeiserX Nov 20, 2026
d2467e9
Merge #526 i411-chip-classify into the T6 batch tip
GeiserX Nov 20, 2026
c0ff19d
Merge #527 i411-clair3-model into the T6 batch tip
GeiserX Nov 20, 2026
3f5c500
Merge #528 i411-traits-phase-caveats into the T6 batch tip
GeiserX Nov 20, 2026
827d31f
Merge #529 anc-paint-engine into the T6 batch tip
GeiserX Nov 20, 2026
1bda48a
Merge #530 i411-pgx-table-drift into the T6 batch tip
GeiserX Nov 20, 2026
3806362
fix(ci): drop the qc-1-sample-qc baseline line #522 made stale
GeiserX Nov 20, 2026
54d65da
test(render): expect the TAR pair as possibly biallelic
GeiserX Nov 20, 2026
856996f
Merge origin/main into pgp/screen-acmg-card-section
GeiserX Nov 20, 2026
0ef7789
Merge remote-tracking branch 'origin/main' into pgp/i411-bloodtype-ca…
GeiserX Nov 20, 2026
8e2025d
fix(telomere): pass the shipped GRCh38 bands in both mirrors, never hg19
GeiserX Nov 20, 2026
db50aaf
build(telomere): move step 10 to TelomereHunter2 1.0.12
GeiserX Nov 20, 2026
cd72dd1
docs(telomere): describe tel_content as relative, never an age
GeiserX Nov 20, 2026
22f6680
fix(bloodtype): name a weak c.1061delC call and keep the Bombay note …
GeiserX Nov 20, 2026
8e9d9e8
fix(acmg): name a clinical VCF of an earlier run in the secondary-fin…
GeiserX Nov 20, 2026
0e2b0ad
fix(demo): the demo's Locityper table says uncalibrated at CYP2D6 and…
GeiserX Nov 20, 2026
848a80b
fix(freshness): an FDA table nobody answers for stays a warning on pu…
GeiserX Nov 20, 2026
fa18468
fix(report): map the acmg_sf section to the clinical-filter frame and…
GeiserX Nov 20, 2026
9fe3ece
fix(report): show acmg_sf with the clinical section so the HTML frame…
GeiserX Nov 20, 2026
4321a19
docs(acmg): say when each summary card is there and when the two differ
GeiserX Nov 20, 2026
ca212fe
ci(e2e): run the output contract case after the case that writes Stra…
GeiserX Nov 20, 2026
c33ddd6
Merge #509 i411-prs-variant-only into the T7 batch tip
GeiserX Nov 20, 2026
6ea1012
Merge #531 i411-sf-haplotype-count into the T7 batch tip
GeiserX Nov 20, 2026
3701fa3
Merge #532 i411-bloodtype-call-floor into the T7 batch tip
GeiserX Nov 20, 2026
7aa1130
Merge #533 screen-acmg-card-section into the T7 batch tip
GeiserX Nov 20, 2026
c9961b9
fix(ci): let a HIGH-impact row change the gene's pair in the ACMG car…
GeiserX Nov 20, 2026
da09f8e
fix(ci): give the summary-collect goldens' acmg_sf card the fields #5…
GeiserX Nov 20, 2026
b4134ad
fix(ci): apply the ACMG card's HIGH-impact pair rule in the e2e check…
GeiserX Nov 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 4 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Require owner review for infrastructure and automation changes
# Routing only: GitHub asks the owner to review a pull request that touches
# these paths. main takes changes through a pull request whose required
# checks pass; it needs no approving review, so nothing here blocks a merge.
.github/ @GeiserX
versions.env @GeiserX
scripts/setup.sh @GeiserX
scripts/run-all.sh @GeiserX
scripts/validate-setup.sh @GeiserX
.coderabbit.yaml @GeiserX
assets/output_contract.tsv @GeiserX
16 changes: 10 additions & 6 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,14 @@ on:
- 'bin/**'
- 'conf/**'
- 'assets/**'
- 'rust/**'
- 'tests/e2e/**'
- 'tests/fixtures/VERSION'
- 'main.nf'
- 'nextflow.config'
- 'nextflow_schema.json'
- 'versions.env'
- '.github/workflows/e2e.yml'
- 'rust/crates/og-dev/src/fixture.rs'
- 'rust/crates/og-dev/src/traits_sources.rs'
- '.github/actions/**'
- 'tests/fixtures/annotsv/class45.sh'
- 'tests/fixtures/consumer_export/sites.tsv.gz'
Expand Down Expand Up @@ -1137,12 +1136,15 @@ jobs:
# green only when the plan and every leg succeeded, every picked case
# reported exactly one pass (one table of every case goes to the summary)
# and each parity check whose cases ran passed once. Red when e2e-scope
# did not succeed. A leg that was skipped, cancelled or
# cut by its time limit leaves cases without a result, which is red too.
# did not succeed. A leg that was skipped, failed or cut by its time limit
# leaves cases without a result, which is red too. When the run itself is
# cancelled (a newer push to the pull request, or by hand), this job is
# cancelled with it and reads cancelled, not failed: nothing ran to fail.
# A cancelled check blocks a merge as a red one does.
e2e:
needs: [e2e-scope, e2e-plan, e2e-base, e2e-shards]
if: >-
${{ always() && (
${{ !cancelled() && (
github.event_name == 'pull_request' ||
github.event_name == 'push' ||
github.event_name == 'schedule' ||
Expand Down Expand Up @@ -1192,7 +1194,9 @@ jobs:
export E2E_SELECT="${RUNNER_TEMP}/select.txt"
fi
if [ "$PLAN" != success ] || [ "$BASE" != success ] || [ "$LEGS" != success ]; then
echo "::error::The plan job ended ${PLAN:-unknown}, the base leg ${BASE:-unknown} and the shard legs ${LEGS:-unknown}; e2e needs all three to succeed."
# The run was not cancelled (then this job would not run), so a
# job that ended cancelled was cut by its time limit.
echo "::error::The plan job ended ${PLAN:-unknown}, the base leg ${BASE:-unknown} and the shard legs ${LEGS:-unknown}; e2e needs all three to succeed. A job that ended cancelled in a run that was not cancelled hit its time limit."
rc=1
fi
dir="${RUNNER_TEMP}/reports"
Expand Down
19 changes: 14 additions & 5 deletions .github/workflows/freshness.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,15 @@ name: Freshness
# behind upstream or stopped answering. Renovate bumps image tags; this covers
# what it cannot see (the Ensembl cache release, the PCGR bundle date, the
# pypgx-bundle tag, the Nextflow line, the ClinVar file date) and lists the
# major updates Renovate does not open on its own.
# major updates Renovate does not open on its own. It also compares the
# curated PGx tables with their sources: each row of
# assets/pgx_contraindications.tsv with its CPIC pair (level, provisional) and
# its DailyMed label, assets/pgx_inhibitors.tsv with the FDA table of CYP
# inhibitors (fda.gov refuses GitHub's runners, so the newest Wayback
# Machine capture of it, at most 92 days old, stands in), and
# assets/pgx_genes.tsv with the gene table of the newest pypgx. A row that no
# longer agrees shows as `drift` in the issue: a warning to fix the table, not
# a failed run.
#
# The issue is found by a marker in its body, not by the label alone, so an
# issue another workflow files under the same label is never overwritten. A
Expand Down Expand Up @@ -79,7 +87,8 @@ concurrency:
jobs:
# Every pull request starts this workflow, so main can require its checks.
# This job says whether a pull request touches scripts/, docs/,
# versions.env, assets/pgs_scores.tsv, rust/crates/og-fresh/ or this file;
# versions.env, assets/pgs_scores.tsv, the curated PGx tables,
# rust/crates/og-fresh/ or this file;
# when it does not, self-tests and pull-request are skipped, which GitHub
# counts as passed.
# Outside a pull request the answer is always run=true. A failed or missing
Expand Down Expand Up @@ -109,7 +118,7 @@ jobs:
if [ "$EVENT" != "pull_request" ]; then echo "run=true" >> "$GITHUB_OUTPUT"; exit 0; fi
git diff --name-only "${BASE}...${HEAD_SHA}" > "${RUNNER_TEMP}/changed.txt"
cat "${RUNNER_TEMP}/changed.txt"
if grep -qE '^(scripts|docs|rust/crates/og-fresh)/|^(versions\.env|assets/pgs_scores\.tsv|\.github/workflows/freshness\.yml)$' "${RUNNER_TEMP}/changed.txt"; then
if grep -qE '^(scripts|docs|rust/crates/og-fresh)/|^(versions\.env|assets/pgs_scores\.tsv|assets/pgx_(contraindications|inhibitors|genes)\.tsv|\.github/workflows/freshness\.yml)$' "${RUNNER_TEMP}/changed.txt"; then
echo "run=true" >> "$GITHUB_OUTPUT"
else
echo "Nothing the freshness checks read changed: they are skipped."
Expand Down Expand Up @@ -144,7 +153,7 @@ jobs:
working-directory: rust
run: cargo build --release --locked -p og --no-default-features

- name: og dev freshness self-test (a bogus image, a missing tag and a bogus URL must exit non-zero)
- name: og dev freshness self-test (a bogus image, a missing tag and a bogus URL must exit non-zero; a planted PGx table row whose CPIC level moved must show as drift)
run: rust/target/release/og dev freshness --self-test

# check-links.sh and check-pgs-labels.sh read with og dev versions
Expand Down Expand Up @@ -186,7 +195,7 @@ jobs:
has() { grep -qxE "$1" "${RUNNER_TEMP}/changed.txt" && echo true || echo false; }
{
echo "prs=$(has 'scripts/25-prs\.sh|assets/pgs_scores\.tsv|scripts/ci/check-pgs-labels\.sh|\.github/workflows/freshness\.yml')"
echo "report=$(has 'rust/crates/og-fresh/.*|versions\.env|\.github/workflows/freshness\.yml')"
echo "report=$(has 'rust/crates/og-fresh/.*|versions\.env|assets/pgx_(contraindications|inhibitors|genes)\.tsv|\.github/workflows/freshness\.yml')"
} >> "$GITHUB_OUTPUT"

# og dev freshness (rust/crates/og-fresh) writes the report, and the
Expand Down
35 changes: 35 additions & 0 deletions .github/workflows/guard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,41 @@ jobs:
- name: cargo test
run: cargo test --workspace --locked --no-fail-fast

# The output contract keeps every stable row of the newest 1.x release
# (docs/output-contract.md, "How CI holds it"). Release tags live on the
# upstream repository, so a run on a fork reads them there too. Before
# the first 1.x tag there is nothing to compare with; after it, a tag
# that cannot be listed, fetched or read fails the step. The control
# runs first: a baseline with a stable row this contract lacks must fail.
- name: The contract keeps every stable row of the newest 1.x release
env:
RELEASES: https://github.com/GeiserX/OwnGenome.git
MAJOR: '1' # the release line this branch keeps; the 2.0 change sets 2
run: |
contract=../assets/output_contract.tsv
planted="${RUNNER_TEMP}/contract-planted.tsv"
log="${RUNNER_TEMP}/contract-baseline-red.log"
{ cat "$contract"; printf 'file\t{sample}/gone/{sample}_gone.tsv\t-\t-\tbash\ttsv\tstable\t-\t-\n'; } > "$planted"
if cargo run --locked -q -p og -- dev contract --contract "$contract" --baseline "$planted" > "$log" 2>&1; then
cat "$log"
echo "ERROR: a stable row that is gone since the baseline passed"
exit 1
fi
cat "$log"
grep -F 'FAIL BREAKING: the stable file {sample}/gone/{sample}_gone.tsv' "$log"
echo "Control: a stable row that is gone since the baseline failed."
refs=$(git ls-remote --tags --refs "$RELEASES") || { echo "ERROR: could not list the tags of ${RELEASES}"; exit 1; }
tag=$(printf '%s\n' "$refs" | sed -n "s|^[0-9a-f]*[[:space:]]*refs/tags/\(v${MAJOR}\.[0-9][0-9]*\.[0-9][0-9]*\)$|\1|p" | sort -V | tail -n 1)
if [ -z "$tag" ]; then
echo "No ${MAJOR}.x release tag on ${RELEASES} yet: no release contract to compare with."
exit 0
fi
git fetch --no-tags --depth=1 "$RELEASES" "refs/tags/${tag}"
base="${RUNNER_TEMP}/contract-${tag}.tsv"
git show "FETCH_HEAD:assets/output_contract.tsv" > "$base"
echo "Baseline: the contract of ${tag}"
cargo run --locked -q -p og -- dev contract --contract "$contract" --baseline "$base"

# The browser checks of og-browser (tests/browser/README.md) ran in
# cargo test above, in the runner's Chrome. Two controls: a page error
# planted in the clean page must fail its test, and with no Chrome the
Expand Down
Loading
Loading