Skip to content

GitHub Issue Verification

Reena edited this page Nov 30, 2026 · 3 revisions

GitHub Issue Verification

This page checks each GitHub issue relevant to the BCB430 work against evidence. For every issue it gives:

  • what was reported, and what would prove it is fixed;
  • the commit and code path that address it;
  • the runs that reproduce the bug and test the fix;
  • a verdict per symptom.

Work is on feature/reena-bugfixes (PR #54). master, the production build and the public release site are untouched. The runs used a separate checkout and output directory on a development VM, with Slack, uploads and publishing disabled.

Verdicts

Verdict Meaning
Verified fixed Bug reproduced on the affected revision; absent on the fixed revision with the same inputs and conditions
Partially verified Some symptoms or conditions verified, others not (listed)
Still reproducible The bug occurs on the PR branch
Blocked The comparison couldn't run (reason and failed run recorded)

Where the only evidence is a unit test or code inspection, the issue's section says exactly what that proves. The full procedure is in How verification works.

Issues in scope

  • #23–#53 were opened by rmobmina. Their titles carry the BCB430 numbering ("BCB430 #1"–"#31"). The account ID behind the local GitHub credential resolves to that login, which also authored PR #54.
  • #22 was opened by mziehm and is included because it's central to the GO work.
  • Issues #1–#21 predate the project and are out of scope.

Evidence links point at a fixed commit, so they don't change later. Evidence for #23–#53 is at fd8bdc0; each section names its evidence type: real-input Docker run, controlled fixture, unit test or code inspection.

How verification works

Every verdict below comes from the same procedure. The aim is to show that the bug really happens on the old code, that the PR's fix makes it go away, and that the fix doesn't break the normal, successful case.

1. Write down what "fixed" means before running anything. Each issue section starts with Original symptom and pass criteria, taken from the issue's own "Expected behaviour" or "Tasks". For example, #23 passes only if an incomplete build exits non-zero, publishes nothing and leaves current_release alone.

2. Run the old code and the fixed code side by side.

  • Every check runs twice: once on master (11c38c7, the affected revision) and once on the PR branch.
  • Only the code revision changes between the two runs. The inputs, Docker image, settings and test harness are identical.
  • Each revision's code is taken straight from git (git archive <sha>) and run unchanged. The bug or fix is never copied into a test by hand.
  • Odd run numbers are master, even ones are the PR (SB-01 vs SB-02, UF-05 vs UF-06, …).

3. Make the failure happen on purpose, in a controlled environment. Most of these bugs only show up when something goes wrong: a download fails, UniProt hangs, a release is half-built, a certificate is bad. Waiting for that to happen in production isn't practical, and testing it there would risk the real release site. So each test builds a small fake world where exactly that failure happens, every time:

Test group What is real What is faked, and the failure it injects
Build sandbox (SB) The whole create_genesets_release.sh, run in the real build image The internet is a local file tree, which can return a 404 (Panther) or a page with no matching file (WikiPathways). Java steps can be made to fail (NCI, KEGG, Woodchuck conversion). Publishing goes to a scratch folder.
Cron / summaries (FX) The real cron, summaries and stats scripts docker, curl and perl are stand-ins that can be told to fail. README folders are scratch copies. Slack only writes to a log.
UniProt (UF) Each revision's GenesetTools Java, compiled from source A fake HTTPS rest.uniprot.org that can answer normally, stay "RUNNING" forever, hang, return HTTP 500 or return an error status. It records every request, which is how batching (#38) and taxId (#41) are checked.
Summary report (RM) Each revision's Geneset_tracking.Rmd, rendered in the production R 4.1.2 image (and R 4.4.2 for #44) A fake download.baderlab.org with good releases, a partial newest release, a log that returns 404, no server at all, or an untrusted certificate.
Login (LG) Each revision's BioCyc/DrugBank download functions A fake curl that records which login would be sent. The login files contain FAKEUSER:FAKEPASS.
Entrypoint (EP) The real build image, starting up through each revision's docker-entrypoint.sh The Java source, with a compile error added on purpose.

Every container runs with no network access, fake credentials and scratch output, so production, the public download site and live Slack can't be reached.

4. Also run the normal, successful case. A fix that stops bad output could also stop good output. So wherever that's possible, there is a matching success run on both revisions, and it must still work on the PR:

  • complete build still publishes: SB-03 / SB-04;
  • every README still updated: FX-03 / FX-04;
  • "Finished" still posted: FX-07 / FX-08 and FX-11 / FX-12;
  • full translation still completes: UF-01..04;
  • the report still renders on a complete site: RM-07 / RM-08;
  • a trusted certificate still works: RM-02.

5. Compare the results and record them.

  • Each run saves its exit code, logs, a file listing before and after, and what the fake services received.
  • Each issue's Before-and-after evidence quotes the deciding lines from these files and links them at a fixed commit.
  • Each row in the run registry gives the exact SHA, image, UTC start and finish, exit status and full command, so any run can be repeated.
  • Real logins found in old code are redacted before anything is saved. Host paths are replaced by placeholders.

6. Assign the verdict.

  • Verified fixed: the symptom appears on master, it is absent on the PR with identical inputs, and the success case still works.
  • Partially verified: only part of it could be shown. Either master's bug couldn't be reproduced on its own because an earlier bug stops master first (#45, #49, #50), or part of the fix depends on something a fixture can't test (live UniProt mapping for #41, a maintainer decision for #25 and #53).
  • Still reproducible: the PR branch still has the bug (#22).
  • Blocked: the comparison couldn't be run.

What this proves, and what it doesn't.

  • A controlled fixture proves how the code behaves: whether it stops, its exit codes, what gets published or skipped, and what requests it sends.
  • It does not prove anything that depends on real outside services: live UniProt translation and mapping quality, the real download site's certificate, or a production run. Those are listed under each issue's remaining gaps.
  • #22 is the exception: it used real GO input files, pinned to one release, in the production Docker entry point.
  • #53 is documentation, so it was checked by reading the README against the repository, not by running anything.

The scripts that run each test group are in pipeline/scripts/issue_verification/, with a summary in the evidence README.

Index

Issue Title Verdict Tested commit Evidence
#22 GOALL GMTs contain duplicate IDs Still reproducible on the PR branch (no fix committed). Proposed fix (go-basic.obo) verified effective in test b918aa8 (baseline 11c38c7) #22 section, runs
#23 (BCB430 #1) Build publishes and updates current_release even when steps fail Verified fixed b3487ab (baseline 11c38c7) section, evidence
#24 (BCB430 #2) Downloads don't detect HTTP errors (curl missing --fail) Verified fixed b3487ab (baseline 11c38c7) section, evidence
#25 (BCB430 #3) Mouse PFOCR uses the human PFOCR file: confirm intent and handle missing file Partially verified: (a) verified for WikiPathways. (b) needs a maintainer decision. b3487ab (baseline 11c38c7) section, evidence
#26 (BCB430 #4) Rat WikiPathways written to wrong folder (RATSOURCE vs RatSOURCE) Verified fixed b3487ab (baseline 11c38c7) section, evidence
#27 (BCB430 #5) Mouse "GO + AllPathways" files missing all pathways due to file name typos Verified fixed b3487ab (baseline 11c38c7) section, evidence
#28 (BCB430 #6) Mouse ensembl stats use undefined variable ENSMBL Verified fixed b3487ab (baseline 11c38c7) section, evidence
#29 (BCB430 #7) Comment missing "#" causes "create: command not found" in every build log Verified fixed b3487ab (baseline 11c38c7) section, evidence
#30 (BCB430 #8) "Huamn" typo in published Woodchuck GMT file name Verified fixed b3487ab (baseline 11c38c7) section, evidence
#31 (BCB430 #9) Woodchuck translation summary never created (checks for mouse taxid 10090) Verified fixed b3487ab (baseline 11c38c7) section, evidence
#32 (BCB430 #10) Rat Reactome doesn't pass taxid, so species check is skipped Verified fixed (argument passed) b3487ab (baseline 11c38c7) section, evidence
#33 (BCB430 #11) Version info not saved for HumanCyc, NCI and NetPath static sources Verified fixed b3487ab (baseline 11c38c7) section, evidence
#34 (BCB430 #12) Empty GMT files created when BioPAX parsing fails Verified fixed b3487ab (baseline 11c38c7) section, evidence
#35 (BCB430 #13) Rat build still downloads go.obo over http Verified fixed b3487ab (baseline 11c38c7) section, evidence
#36 (BCB430 #14) Remove hard-coded BioCyc and DrugBank credentials from scripts Verified fixed (current tree) 198774f (baseline 11c38c7) section, evidence
#37 (BCB430 #15) UniProt job status check can loop forever (attempt = attempt++) Verified fixed (polling termination) 2af66ed (baseline 11c38c7) section, evidence
#38 (BCB430 #16) UniProt ID batching skips one ID per 1000 and drops the last ID Verified fixed (batching correctness) 2af66ed (baseline 11c38c7) section, evidence
#39 (BCB430 #17) UniProt web service errors are swallowed and GMT written with partial results Verified fixed 2af66ed (baseline 11c38c7) section, evidence
#40 (BCB430 #18) GenesetTools exits with status 0 on bad arguments or failed GMT load Verified fixed 2af66ed (baseline 11c38c7) section, evidence
#41 (BCB430 #19) Taxid filter commented out for Gene_Name/GeneID UniProt lookups Partially verified: the request parameter is proven. The effect on live mapping (fewer cross-species hits) is not. 2af66ed (baseline 11c38c7) section, evidence
#42 (BCB430 #20) Summary README replaced even when the R report fails Verified fixed bc72f19 (baseline 11c38c7) section, evidence
#43 (BCB430 #21) Slack always posts "Finished" regardless of build outcome Verified fixed bc72f19 (baseline 11c38c7) section, evidence
#44 (BCB430 #22) Geneset_tracking.Rmd crashes on R 4.3+ ("||" used with a vector) Verified fixed 2bf69ef (baseline 11c38c7) section, evidence
#45 (BCB430 #23) Failed log download not detected in Geneset_tracking.Rmd Partially verified: the fixed behaviour is shown; the original crash was not reproduced in isolation. 2bf69ef (baseline 11c38c7) section, evidence
#46 (BCB430 #24) Geneset_tracking.Rmd continues with no data when download site is unreachable Verified fixed 5de142c (baseline 11c38c7) section, evidence
#47 (BCB430 #25) Stats table never initialised if newest release has no summary file Verified fixed 5de142c (baseline 11c38c7) section, evidence
#48 (BCB430 #26) miR and Disease/Phenotype figures never drawn (inverted NULL check) Verified fixed 2bf69ef (baseline 11c38c7) section, evidence
#49 (BCB430 #27) ggplots inside if blocks are saved as blank PNGs Partially verified: the fixed behaviour is shown; the original blank PNG was not reproduced. 2bf69ef (baseline 11c38c7) section, evidence
#50 (BCB430 #28) Drug, miR and Disease figures never shown in the summary report Partially verified: the fixed behaviour is shown; the master failure is confounded with #48 and #49. 2bf69ef (baseline 11c38c7) section, evidence
#51 (BCB430 #29) SSL certificate verification disabled in Geneset_tracking.Rmd Verified fixed 5de142c (baseline 11c38c7) section, evidence
#52 (BCB430 #30) Remove the jar rebuild from docker-entrypoint.sh Verified fixed (start-up rebuild and silent fallback) bd14480 (baseline 11c38c7) section, evidence
#53 (BCB430 #31) Document external files the build needs that can't be in the repo Partially verified: the documentation is accurate. The NetPath and MSigDB rows still say "check whether they can be added". 2bf69ef (baseline 11c38c7) section, evidence

#22 — GOALL GMTs contain duplicate IDs

Opened 14 Apr 2026 by mziehm; open. The PR #54 description doesn't claim to fix it.

Original symptom and pass criteria

The report, quoted:

"the GOALL GMT files contain duplicate GO term IDs with different gene symbols assigned … Human_GOALL_no_GO_iea_April_01_2026_symbol.gmt contains 1296 duplicate GO terms; Human_GOALL_with_GO_iea_April_01_2026_symbol.gmt contains 1344 … e.g. GO:0051716 have different gene sets in the two entries. The subset GO GMTs (CC, MF, BP) do not seem to be affected. I haven't checked whether other identifier types (e.g., Entrez, UniProt) show the same behavior."

# Symptom Proven fixed when, on identical inputs
S1 GOALL contains duplicate GO IDs GOALL lines = unique GO IDs (0 duplicates), no-IEA and with-IEA
S2 The duplicate copies carry different genes (GO:0051716) Each GO ID has one row, and its genes equal its own-namespace branch file's row
S3 BP, MF and CC files "not affected" No BP, CC or MF file changes membership for any term in its own namespace
S4 Other ID types unknown Same result for UniProt, and (after translation) symbol, Entrez and Ensembl
— The fix must not damage anything else No GO ID added; terms removed are listed and counted; no remaining term changes genes, name or description

Root cause, confirmed:

  • createGo follows every relationship in go.obo, including cross-namespace part_of / regulates links.
  • So the MF file also receives BP terms that MF terms point to: 1,318 of them with no-IEA, on the pinned release.
  • GOALL is a plain cat of the three files (create_genesets_release.sh:1214–1222 on the branch), so every BP term that is also in the MF file appears twice.
  • go-basic.obo is GO's filtered ontology without cross-namespace links.

Fix commit and code path

Affected code download_GOhuman_data → download_file ${URL}/go.obo (create_genesets_release.sh:213) → GOOBO=${GOSRC}/go.obo (:1187) → createGo --obofile (:482, :490) → GOALL cat (:1214–1222)
Fix on the PR branch None. The branch still downloads go.obo, the same as master 11c38c7 (:165). The Human GO block is byte-identical on both (go_block_sha256=73aa6d41…)
Proposed fix Download go-basic.obo at :213–214, a one-line change. It isn't committed
Would production pick it up? No. Production runs create_genesets_cronjob.sh → create_genesets_release.sh from master, so the change must be committed and merged first. The only go-basic use on the branch is the Snakemake analysis rule (pipeline/Snakefile:147), which the production build doesn't run
Measurement tooling (test harnesses, not fixes) ad7d01c: run_go_only_test.sh options GO_STOP_AFTER_CREATEGO and LEGACY_REPO. b918aa8: run driver. 0c2b3ae: goall_compare.py. Earlier: eb16019, issue22_report.py. Docker image fixes: bae79c9, aed093a

Run list

All six runs execute the production Human GO block unchanged, through run_go_only_test.sh in image geneset_build:reena-aed093a (sha256:cbb5780a2ded…). Each runs createGo for 3 branches × 2 IEA settings, then the block's own UniProt GOALL cat lines. They stop before UniProt translation.

Run Code GAF Ontology Start → end (UTC, 30 Nov 2026) Exit Record
I22-01 master 11c38c7 pinned go.obo 14:54:23 → 14:55:04 0 I22-01
I22-02 branch b918aa8 pinned go.obo 14:55:04 → 14:55:44 0 I22-02
I22-03 branch b918aa8 pinned go-basic.obo 14:55:44 → 14:56:23 0 I22-03
I22-04 master 11c38c7 pinned go-basic.obo 14:56:23 → 14:57:04 0 I22-04
I22-05 branch b918aa8 original go.obo 14:57:04 → 14:57:41 0 I22-05
I22-06 branch b918aa8 original go-basic.obo 14:57:41 → 14:58:19 0 I22-06

Inputs

  • Pinned and compatible: GO release 2026-08-05. The GAF (a0afba19…) and both ontologies come from that one release:
    • the GAF was generated 2026-07-28 against GO 2026-07-26;
    • go.obo (d3593751…) and go-basic.obo (b08d45b2…) are both data-version: releases/2026-07-26;
    • checksums, URLs.
  • Original: 30 Nov. The live EBI GAF (ae23c8d7…, generated 2026-11-04 against GO 2026-10-23) with the same two ontology files. These inputs produced the earlier "37 / 4" numbers.

Held fixed within each comparison: GAF bytes, createGo jar, GO block, harness, image, and the --exclude IEA filter. Only the ontology file changes.

Before-and-after evidence

S1 and S2: the GOALL files written by the production cat lines (UniProt), pinned release. Source: goall_compare.tsv.

no IEA: go.obo (I22-02) no IEA: go-basic (I22-03) with IEA: go.obo (I22-02) with IEA: go-basic (I22-03)
GOALL lines 21,466 20,148 22,433 21,102
Unique GO IDs 20,184 20,148 21,103 21,102
Duplicate GO IDs 1,282 0 1,330 0
Duplicates whose copies differ in genes 1,210 0 1,171 0

Master and branch give the same result:

  • master + go.obo (I22-01) and branch + go.obo (I22-02): 8/8 GMT files byte-identical;
  • master + go-basic (I22-04) and branch + go-basic (I22-03): 8/8 identical (master_vs_branch.txt).

So the bug is the same in production code and on the PR branch.

The reporter's example, GO:0051716 (goall_examples_pinned_branch_no_GO_iea.txt):

BEFORE (go.obo)   5602 genes  cellular response to stimulus%GObp%GO:0051716  …
BEFORE (go.obo)   1606 genes  cellular response to stimulus%GOmf%GO:0051716  …
AFTER  (go-basic) 5602 genes  cellular response to stimulus%GObp%GO:0051716  …

The duplicate is a BP term carried into the MF file. The surviving row is the BP-file row, unchanged.

S3 and the no-damage check: what go-basic changes. Source: report_pinned/issue22_membership.tsv and goall_compare.tsv.

Pinned release no IEA with IEA
BP file: terms with identical genes, go.obo vs go-basic 13,099 / 13,099 13,799 / 13,799
CC file: identical 2,009 / 2,009 2,110 / 2,110
MF file: MF terms identical 5,040 / 5,040 5,193 / 5,193
MF file: BP terms that go-basic removes from it 1,318 1,331
GOALL single-copy IDs, genes identical 18,866 (0 changed) 19,772 (0 changed)
GOALL duplicated IDs whose surviving row equals one original copy 1,282 / 1,282 1,330 / 1,330
Name or description changed 0 0
GO IDs added to GOALL 0 0
GO IDs removed from GOALL 36 1
  • No branch file contains a GO ID twice (checked in every run), which agrees with "subset files not affected".
  • But the MF file under go.obo holds 1,318 BP-namespace terms, so it isn't clean either.

What "37 / 4" counts, reproduced exactly:

  • They are the GO IDs removed from GOALL by go-basic.
  • These are BP-namespace terms whose genes reach them only through MF annotations and a cross-namespace link. They therefore appear only in the MF file, once in GOALL, and aren't duplicates. go-basic removes them along with the duplicates.
  • On the original 30 Nov inputs (I22-05 → I22-06), it's 37 (no IEA) / 4 (with IEA), the same numbers as before (list).
  • On the pinned release, it's 36 / 1 (list).
  • These are the real cost of the fix. Examples: GO:0009224 CMP biosynthetic process (4 genes) and GO:0015714 phosphoenolpyruvate transport (1 gene); with IEA, GO:0018260 protein guanylylation (2 genes).

Original 30 Nov inputs, for comparison (I22-05 → I22-06): duplicates 1,274 → 0 (no IEA) and 1,319 → 0 (with IEA). Copies with different genes: 1,202 / 1,169 → 0. No remaining term changes genes.

S4: other ID types

  • UniProt: reproduced and fixed (above).
  • Symbol, Entrez and Ensembl: these GOALL files are the same cat of the per-branch files after UniProt translation. Translation keeps set names, so the duplicate set IDs carry through by construction.
  • Not run: translation needs the UniProt ID-mapping service, which was not completing jobs on 30 Nov (Docker Reproduction, run 1).
  • The reporter's own file was not re-downloaded. The lab download server is only used 9 pm–8 am Toronto. The closest re-measured count is GO release 2026-08-05: 1,282 / 1,330, versus the report's 1,296 / 1,344 on the April release.

Separate: the 9 "GO ID not found" sets (GAF/OBO release mismatch, not issue #22)

The production build downloads the newest EBI GAF but current.geneontology.org/ontology/go.obo, which on 30 Nov was still GO 2026-07-26. The GAF was built against GO 2026-10-23, so it uses 9 newer GO IDs (60 annotation lines) the ontology doesn't contain. createGo writes each as a set named GO ID not found in OBO file ontology definitions:

GO ID not found in OBO file ontology definitions%GObp%GO:0120578   3 genes
GO ID not found in OBO file ontology definitions%GOcc%GO:7770114  17 genes
…  (9 rows; list in report_original/gaf_obo_mismatch.tsv)
Run Inputs Ontology "not found" rows in GOALL (no IEA / with IEA)
I22-05 original (mismatched) go.obo 9 / 9
I22-06 original (mismatched) go-basic.obo 9 / 9
I22-02 pinned (same release) go.obo 0 / 0

Switching to go-basic does not fix this. Using an ontology that matches the GAF's !go-version does. This problem has no GitHub issue yet (gaf_obo_mismatch.tsv).

Supporting context (a different question). On the same live inputs, the Snakemake GO module and the legacy Java tool agree on all 43,406 gene sets (parity). That shows the pipeline reproduces the legacy build, duplicates included. It doesn't test this fix.

Addendum: the 36 / 1 GO IDs that go-basic removes, and why they were there

Full list with names, gene counts and the incoming cross-namespace links: goall_removed_terms_explained.tsv (pinned release 2026-08-05, PR b918aa8, runs I22-02 → I22-03).

Mechanism. createGo propagates each annotation up the go.obo graph, including part_of links that cross namespaces. An MF term that is part_of a BP term therefore carries its genes into that BP term, and the BP term is written to the MF file. GOALL is cat of the three branch files, so:

  • a BP term with BP annotations of its own appears twice: the 1,282 / 1,330 duplicates;
  • a BP term with no BP annotations in that file appears once, only via the MF file. These are the 36 / 1 removed IDs.

For all 37 rows, the BP file has 0 non-IEA BP annotations to the term or its BP descendants. 33 have a direct incoming MF part_of link; the other 4 inherit one through a child (for example GO:0015714 via GO:0089722). With IEA, 35 of the 36 do have IEA BP annotations, so they stay in the BP file and only lose their MF-file duplicate. That is why the with-IEA count is 1.

GO ID (removed) Genes (MF file) Cross-namespace link in go.obo 2026-08-05
GO:0009224 CMP biosynthetic process 4 GO:0043771 cytidine kinase activity (MF): relationship: part_of GO:0009224
GO:0015714 phosphoenolpyruvate transport 1 GO:0089721 PEP transmembrane transporter activity (MF): relationship: part_of GO:0089722, and GO:0089722 is_a: GO:0015714
GO:0018260 protein guanylylation (the only one removed with IEA as well) 2 GO:0044600 protein guanylyltransferase activity (MF): relationship: part_of GO:0018260

go-basic.obo has none of these part_of lines (checked for GO:0043771 and GO:0089721).

Is the expected GOALL behaviour documented? No. The repository only defines GOALL by its cat lines in create_genesets_release.sh; no README, comment or release note says whether GOALL should hold one row per GO ID, or whether BP terms reached only through MF annotations belong in it. GO itself documents go-basic as the version without cross-ontology relations, guaranteed to be acyclic and safe for annotation propagation. This needs a maintainer decision. Options:

  • (a) use go-basic and accept losing these 36 / 1 terms (recommended; it matches GO's guidance and the subset files);
  • (b) keep go.obo and de-duplicate GOALL by GO ID, which also needs a rule for merging gene lists;
  • (c) document current behaviour as intended.

Translated (symbol, Entrez, Ensembl) GOALL outputs remain unverified while UniProt ID mapping is down. The 9 mismatched-release IDs are a separate problem; see the section below.

Verdict and remaining gaps

Symptom Verdict Evidence
S1 duplicate GO IDs in GOALL Still reproducible on PR branch b918aa8 (and master 11c38c7): 1,282 / 1,330. With go-basic.obo: 0 / 0 I22-01, I22-02 vs I22-03, I22-04
S2 copies with different genes Still reproducible: 1,210 / 1,171. With go-basic: 0; every surviving row equals its own-branch copy same
S3 subset files Confirmed not duplicated. The MF file contains 1,318 BP terms under go.obo; go-basic removes them and changes nothing else report_pinned
S4 other ID types UniProt: as S1. Symbol, Entrez, Ensembl: Blocked (UniProt ID-mapping outage); expected by construction —

Overall: Still reproducible. No fix is committed on the PR branch, and production would not pick one up. The proposed one-line fix (download go-basic.obo) is verified effective on the production code with pinned, compatible inputs. It removes every duplicate, changes no remaining term, and drops 36 / 1 GO IDs (37 / 4 on the 30 Nov inputs).

Remaining gaps

  1. Commit the go-basic.obo change and re-run I22-02 / I22-03 on that commit.
  2. Decide whether losing those 36 / 1 cross-namespace-only BP terms is acceptable (maintainer decision; see the addendum above).
  3. Re-check the symbol, Entrez and Ensembl GOALL files once UniProt translation works.
  4. Re-count the reporter's April files during the download window.
  5. Open an issue for the GAF/OBO release mismatch.

Run registry (#23–#53)

One row per execution. Full docker run commands, image IDs and harness SHAs are in each folder's runs.tsv. Evidence root: pipeline/results/issue_verification/ at fd8bdc0 (README).

  • Every run: --network none, fake credentials, Slack as a logging stand-in, scratch output. Production, the public download site and live Slack were not touched.
  • Baseline is master 11c38c7. PR SHAs differ between groups only because verification scripts were committed in between: git diff b3487ab 2bf69ef -- GeneSetTools Docker_instance (excluding tests and run_go_only_test.sh) is empty, so every PR run tested the same build code. Current PR head is listed in the final summary.
  • Images: build geneset_build:reena-aed093a (sha256:cbb5780a2ded…); summaries risserlin/bcb420-base-image:winter2022 (R 4.1.2, the production base, sha256:e36febf9dff8…); issue_verif_r44 (rocker/tidyverse:4.4.2 + RCurl, a test image for #44 only, sha256:0c4a8225eb48…).

Whole-build sandbox (SB)

Fixture inputs are generated by GeneSetTools/tests/shell/fakes/make_sandbox.py at the harness commit, identically for both revisions. Each run has its own scratch publish directory mounted at /mnt/build/EM_Genesets (publish_before.txt / publish_after.txt). The tested script's SHA-256 is in script_sha256.txt.

Command: run_build_sandbox.sh RUN_ID REVISION CASE OUT_ROOT · runs.tsv

Run Tested SHA Case Started (UTC) Finished (UTC) Exit Evidence
SB-01 11c38c7 convert_fail 15:11:35Z 15:11:45Z 0 evidence
SB-02 b3487ab convert_fail 15:11:46Z 15:11:56Z 1 evidence
SB-03 b3487ab success 15:11:57Z 15:12:10Z 0 evidence
SB-04 11c38c7 success 15:12:11Z 15:12:24Z 0 evidence
SB-05 11c38c7 failures 15:12:24Z 15:12:37Z 0 evidence
SB-06 b3487ab failures 15:12:38Z 15:12:49Z 0 evidence

Cron / summaries / stats fixtures (FX)

Stand-ins for curl, docker and perl; README destinations and stats directories are scratch folders. Slack is a logging stand-in.

Command: run_cron_fixture.sh RUN_ID REVISION CASE OUT_ROOT · runs.tsv

Run Tested SHA Case Started (UTC) Finished (UTC) Exit Evidence
FX-01 11c38c7 summaries_fail 15:14:55Z 15:14:56Z 0 evidence
FX-02 bc72f19 summaries_fail 15:14:56Z 15:14:57Z 1 evidence
FX-03 11c38c7 summaries_ok 15:14:58Z 15:14:58Z 0 evidence
FX-04 bc72f19 summaries_ok 15:14:59Z 15:14:59Z 0 evidence
FX-05 11c38c7 cron_fail 15:15:00Z 15:15:01Z 0 evidence
FX-06 bc72f19 cron_fail 15:15:01Z 15:15:02Z 0 evidence
FX-07 11c38c7 cron_ok 15:15:02Z 15:15:03Z 0 evidence
FX-08 bc72f19 cron_ok 15:15:03Z 15:15:04Z 0 evidence
FX-09 11c38c7 stats_fail 15:15:05Z 15:15:06Z 0 evidence
FX-10 bc72f19 stats_fail 15:15:07Z 15:15:09Z 0 evidence
FX-11 11c38c7 stats_ok 15:15:09Z 15:15:10Z 0 evidence
FX-12 bc72f19 stats_ok 15:15:10Z 15:15:11Z 0 evidence

UniProt fake-service fixtures (UF)

Each revision's src/*.java is compiled with its own lib/ and run against fake_uniprot_https.py, served as rest.uniprot.org over HTTPS inside a --network none container. Input GMTs are generated by the harness (same for both revisions). timeout 700 caps each run. Summary: uniprot_summary.tsv.

Command: run_uniprot_fixture.sh RUN_ID REVISION CASE OUT_ROOT · runs.tsv

Run Tested SHA Case Started (UTC) Finished (UTC) Exit Evidence
UF-01 11c38c7 ok_2500 15:17:38Z 15:18:08Z 0 evidence
UF-02 2af66ed ok_2500 15:17:39Z 15:18:08Z 0 evidence
UF-03 11c38c7 ok_2000 15:17:38Z 15:18:08Z 0 evidence
UF-04 2af66ed ok_2000 15:17:38Z 15:18:03Z 0 evidence
UF-05 11c38c7 running 15:17:38Z 15:29:31Z 124 (timeout) evidence
UF-06 2af66ed running 15:17:38Z 15:26:09Z 1 evidence
UF-07 11c38c7 run_hang 15:17:39Z 15:29:31Z 124 (timeout) evidence
UF-08 2af66ed run_hang 15:17:38Z 15:22:52Z 1 evidence
UF-09 11c38c7 run_500 15:18:03Z 15:18:13Z 0 evidence
UF-10 2af66ed run_500 15:18:08Z 15:18:14Z 1 evidence
UF-11 11c38c7 status_err 15:18:08Z 15:18:14Z 0 evidence
UF-12 2af66ed status_err 15:18:09Z 15:18:15Z 1 evidence
UF-13 11c38c7 symbol_taxid 15:18:13Z 15:18:29Z 0 evidence
UF-14 2af66ed symbol_taxid 15:18:14Z 15:18:31Z 0 evidence
UF-15 11c38c7 bad_args 15:18:15Z 15:18:20Z 0 evidence
UF-16 2af66ed bad_args 15:18:15Z 15:18:21Z 1 evidence
UF-17 11c38c7 missing_gmt 15:18:20Z 15:18:30Z 0 evidence
UF-18 2af66ed missing_gmt 15:18:21Z 15:18:25Z 1 evidence
UF-19 11c38c7 convert_missing 15:18:25Z 15:18:29Z 0 evidence
UF-20 2af66ed convert_missing 15:18:29Z 15:18:33Z 1 evidence

Login fixture (LG)

Each revision's download_biocyc_data / download_drugbank_data are loaded unchanged and called with a logging fake curl and login files containing FAKEUSER:FAKEPASS. Logins hard-coded in the tested revision are replaced by <REDACTED> before anything is saved.

Command: run_login_fixture.sh RUN_ID REVISION OUT_ROOT · runs.tsv

Run Tested SHA Started (UTC) Finished (UTC) Evidence
LG-01 11c38c7 15:32:07Z 15:32:08Z evidence
LG-02 198774f 15:32:09Z 15:32:09Z evidence

Summary report fixtures (RM)

Each revision's Geneset_tracking.Rmd is rendered unchanged against a fake https://download.baderlab.org/EM_Genesets/ built by the same code as GeneSetTools/tests/r/test_geneset_tracking.R: three good releases, a partial newest release (no summary file, one listed log returns 404) and an empty 2019 release. complete removes the partial release. Both revisions get options(geneset_tracking.download_tries=2, geneset_tracking.max_wait=0) (only the PR reads them). timeout 900 caps each run.

Command: run_rmd_fixture.sh RUN_ID REVISION CASE IMAGE OUT_ROOT · runs.tsv

Run Tested SHA Case Image Started (UTC) Finished (UTC) Exit Evidence
RM-01 11c38c7 partial R 4.1.2 prod base 15:20:22Z 15:20:28Z 0 evidence
RM-02 5de142c partial R 4.1.2 prod base 15:20:28Z 15:20:38Z 0 evidence
RM-03 11c38c7 unreachable R 4.1.2 prod base 15:20:38Z 15:20:40Z 0 evidence
RM-04 5de142c unreachable R 4.1.2 prod base 15:20:41Z 15:20:42Z 0 evidence
RM-05 11c38c7 untrusted R 4.1.2 prod base 15:20:42Z 15:35:43Z 124 (timeout) evidence
RM-06 5de142c untrusted R 4.1.2 prod base 15:35:43Z 15:35:47Z 0 evidence
RM-07 11c38c7 complete R 4.1.2 prod base 15:36:04Z 15:36:13Z 0 evidence
RM-08 2bf69ef complete R 4.1.2 prod base 15:36:13Z 15:36:23Z 0 evidence
RM-09 11c38c7 complete R 4.4.2 test 15:36:23Z 15:36:30Z 0 evidence
RM-10 2bf69ef complete R 4.4.2 test 15:36:30Z 15:36:41Z 0 evidence
RM-11 11c38c7 partial R 4.4.2 test 15:36:41Z 15:36:46Z 0 evidence
RM-12 2bf69ef partial R 4.4.2 test 15:36:46Z 15:36:58Z 0 evidence

Entrypoint fixtures (EP)

Only docker-entrypoint.sh changes between runs; the GeneSetTools code (PR head) and the starting GenesetTools.jar are the same for every run.

Command: run_entrypoint_fixture.sh RUN_ID REVISION CASE OUT_ROOT · runs.tsv

Run Tested SHA Case Started (UTC) Finished (UTC) Exit Evidence
EP-01 11c38c7 valid 15:32:56Z 15:33:05Z 0 evidence
EP-02 bd14480 valid 15:33:06Z 15:33:07Z 0 evidence
EP-03 11c38c7 broken_src 15:33:08Z 15:33:10Z 0 evidence
EP-04 bd14480 broken_src 15:33:11Z 15:33:11Z 0 evidence
EP-05 bd14480 build_step 15:33:12Z 15:33:14Z 0 evidence

All runs were on 2026-11-30. Exit columns: build_exit (SB), script_exit (FX), java_exit (UF), rscript_exit (RM: the R process; render failures are recorded in result.tsv), docker_exit (EP). LG runs record per-function exits in calls.txt.


#23 — Build publishes and updates current_release even when steps fail

Issue #23 (BCB430 #1). Affected revision: master 11c38c7. Tested PR SHA: b3487ab (same build code as the current PR head). Evidence type: Controlled fixture (real create_genesets_release.sh of each revision in the build image, fake internet and Java stand-ins).

Original symptom and pass criteria

If the main outputs are missing or empty, the build must exit non-zero, publish nothing and leave current_release on the previous release. A complete build must still publish.

Fix commit and code path

13eba7d. check_release_outputs (create_genesets_release.sh:736) checks every species' *AllPathways*.gmt. The publish step is gated on it (create_genesets_release.sh:2252).

Run list

SB-01 (master) / SB-02 (PR): convert_fail (Woodchuck conversion fails, so its combined files come out empty). SB-04 (master) / SB-03 (PR): success. Each run has a separate scratch publish destination. Rows are in the run registry.

Before-and-after evidence

  • SB-01, master, failed step: exit 0. 419 files published; current_release → November_30_2026/; Slack "[data build complete". The 5 empty Woodchuck entrezgene GMTs were published with them (SB-01/publish_after.txt, SB-01/current_release_after.txt).
  • SB-02, PR, same failure: exit 1. 0 files published (publish_before = publish_after); current_release still October_01_2026/. The build log has ERROR: …/Woodchuck_AllPathways_November_30_2026_entrezgene.gmt is missing or empty, then release November_30_2026 is incomplete - not publishing it (SB-02/build.log). Slack gets "ERROR: release November_30_2026 is incomplete - not published".
  • Success case: SB-03 (PR) exit 0, published 578 files, current_release → November_30_2026/. SB-04 (master) published 575 (SB-03/publish_after.txt).

Verdict and remaining gaps

Verified fixed.

Gaps: The check covers the combined *AllPathways* files, as the issue proposes. In SB-06, Panther, WikiPathways, NCI and KEGG all fail; the PR logs each failure but still publishes (672 entries), because the combined files are not empty (SB-06/build.log). Whether a single source failing should block a release is a maintainer decision.


#24 — Downloads don't detect HTTP errors (curl missing --fail)

Issue #24 (BCB430 #2). Affected revision: master 11c38c7. Tested PR SHA: b3487ab (same build code as the current PR head). Evidence type: Controlled fixture (real create_genesets_release.sh of each revision in the build image, fake internet and Java stand-ins).

Original symptom and pass criteria

A failed HTTP download must be reported and must not be saved as data. Good downloads must be unaffected.

Fix commit and code path

24f0322: download_file helper (curl -f plus error message) used for source downloads in create_genesets_release.sh.

Run list

SB-05 (master) / SB-06 (PR): failures (Panther BioPAX removed from the fake internet, so it returns 404). Success: SB-04 / SB-03. Rows are in the run registry.

Before-and-after evidence

  • SB-05, master: the 404 HTML page is saved as SRC/Panther/BioPAX.tar.gz, with no log message (SB-05/output_files.tsv).
  • SB-06, PR: ERROR: Panther download failed (https://data.pantherdb.org/…/BioPAX.tar.gz); no file is saved (SB-06/build.log).
  • Downloads made without -f (SB-05/curl.log vs SB-06): master 14 of 35, PR 0 of 35.
  • Success case: SB-03 and SB-04 both complete and publish.

Verdict and remaining gaps

Verified fixed.


#25 — Mouse PFOCR uses the human PFOCR file: confirm intent and handle missing file

Issue #25 (BCB430 #3). Affected revision: master 11c38c7. Tested PR SHA: b3487ab (same build code as the current PR head). Evidence type: Controlled fixture (real create_genesets_release.sh of each revision in the build image, fake internet and Java stand-ins); code inspection for PFOCR.

Original symptom and pass criteria

(a) If no WikiPathways/PFOCR file name is found on the download page, stop that source with an error instead of saving the page. (b) Decide whether Mouse should use the human PFOCR file, and make that explicit.

Fix commit and code path

0b961f3: check_scraped_filename for WikiPathways and PFOCR. The PFOCR source species is now an explicit PFOCR_SOURCE_SPECIES="Homo_sapiens" with a comment pointing to this issue (create_genesets_release.sh:138).

Run list

SB-05 (master) / SB-06 (PR): failures (Homo_sapiens removed from the fake WikiPathways index). Success: SB-04 / SB-03. Rows are in the run registry.

Before-and-after evidence

  • SB-05, master: the WikiPathways HTML index page (808 bytes) is saved as WikiPathways_Homo_sapiens_entrezgene.gmt (SB-05/output_files.tsv).
  • SB-06, PR: ERROR: could not find a WikiPathways file for Homo_sapiens on the download page - WikiPathways not downloaded; no file is saved (SB-06/build.log).
  • PFOCR missing-name path: same function, checked by code inspection only (not separately run).
  • Mouse PFOCR still uses the human file on both revisions (SB-03, SB-04). This is unchanged on purpose until a maintainer decides.

Verdict and remaining gaps

Partially verified: (a) verified for WikiPathways. (b) needs a maintainer decision..

Gaps: Maintainer decision on Mouse PFOCR. Why the Mus_musculus PFOCR file is much smaller was not investigated.


#26 — Rat WikiPathways written to wrong folder (RATSOURCE vs RatSOURCE)

Issue #26 (BCB430 #4). Affected revision: master 11c38c7. Tested PR SHA: b3487ab (same build code as the current PR head). Evidence type: Controlled fixture (real create_genesets_release.sh of each revision in the build image, fake internet and Java stand-ins).

Original symptom and pass criteria

Rat WikiPathways must be downloaded into SRC_Rat/WikiPathways and included in the Rat AllPathways file.

Fix commit and code path

3737743: RATSOURCE → RatSOURCE.

Run list

SB-04 (master) / SB-03 (PR), success; also visible in SB-01 and SB-05. Rows are in the run registry.

Before-and-after evidence

  • Master: mkdir: cannot create directory '/WikiPathways': Permission denied and line 1726: cd: /WikiPathways: No such file or directory (SB-05/build.log). The Rat AllPathways file contains 0 WikiPathways (WP_ Rattus) sets.
  • PR: files are in SRC_Rat/WikiPathways, and the Rat AllPathways file contains the fixture's 1 Rat WikiPathways set (SB-03/output_files.tsv).

Verdict and remaining gaps

Verified fixed.


#27 — Mouse "GO + AllPathways" files missing all pathways due to file name typos

Issue #27 (BCB430 #5). Affected revision: master 11c38c7. Tested PR SHA: b3487ab (same build code as the current PR head). Evidence type: Controlled fixture (real create_genesets_release.sh of each revision in the build image, fake internet and Java stand-ins).

Original symptom and pass criteria

Every Mouse GO_AllPathways file must exist under its intended name and contain the pathway sets.

Fix commit and code path

a27f154: adds the missing _ in the Mouse GO + AllPathways file names.

Run list

SB-04 (master) / SB-03 (PR), success. Rows are in the run registry.

Before-and-after evidence

  • Mouse GO_AllPathways files: master has 16 files; 12 contain the pathway sets and 4 have malformed names without them. PR has 16 files; all 16 contain the pathway sets and none are misnamed (SB-04/output_files.tsv, SB-03/output_files.tsv).

Verdict and remaining gaps

Verified fixed.


#28 — Mouse ensembl stats use undefined variable ENSMBL

Issue #28 (BCB430 #6). Affected revision: master 11c38c7. Tested PR SHA: b3487ab (same build code as the current PR head). Evidence type: Controlled fixture (real create_genesets_release.sh of each revision in the build image, fake internet and Java stand-ins).

Original symptom and pass criteria

Mouse/Summary_GeneSet_Counts_ensembl.txt must be produced.

Fix commit and code path

8434d84: ENSMBL → ENSEMBL.

Run list

SB-04 (master) / SB-03 (PR), success. Rows are in the run registry.

Before-and-after evidence

  • Master: the file is missing. PR: present, 37 lines (output_files.tsv).

Verdict and remaining gaps

Verified fixed.


#29 — Comment missing "#" causes "create: command not found" in every build log

Issue #29 (BCB430 #7). Affected revision: master 11c38c7. Tested PR SHA: b3487ab (same build code as the current PR head). Evidence type: Controlled fixture (real create_genesets_release.sh of each revision in the build image, fake internet and Java stand-ins).

Original symptom and pass criteria

No create: command not found in the build log.

Fix commit and code path

c205826: adds the missing #.

Run list

All SB runs; decisive: SB-05 (master) / SB-06 (PR). Rows are in the run registry.

Before-and-after evidence

  • Master: ./create_genesets_release.sh: line 2113: create: command not found (SB-05/build.log). PR: 0 occurrences in any run.

Verdict and remaining gaps

Verified fixed.


#30 — "Huamn" typo in published Woodchuck GMT file name

Issue #30 (BCB430 #8). Affected revision: master 11c38c7. Tested PR SHA: b3487ab (same build code as the current PR head). Evidence type: Controlled fixture (real create_genesets_release.sh of each revision in the build image, fake internet and Java stand-ins).

Original symptom and pass criteria

No published file name contains Huamn.

Fix commit and code path

c7cc87a.

Run list

SB-04 (master) / SB-03 (PR). Rows are in the run registry.

Before-and-after evidence

  • Master publishes Woodchuck_Huamn_GOBP_AllPathways_with_GO_iea_November_30_2026_symbol.gmt (SB-04/publish_after.txt). PR: 0 files with Huamn.

Verdict and remaining gaps

Verified fixed.


#31 — Woodchuck translation summary never created (checks for mouse taxid 10090)

Issue #31 (BCB430 #9). Affected revision: master 11c38c7. Tested PR SHA: b3487ab (same build code as the current PR head). Evidence type: Controlled fixture (real create_genesets_release.sh of each revision in the build image, fake internet and Java stand-ins).

Original symptom and pass criteria

The Woodchuck translation summary must be created.

Fix commit and code path

4ace0c8: checks for the woodchuck (9995) conversion logs instead of mouse (10090).

Run list

SB-04 (master) / SB-03 (PR). Rows are in the run registry.

Before-and-after evidence

  • Woodchuck translation summary: master MISSING; PR present (1,820 bytes) (output_files.tsv).

Verdict and remaining gaps

Verified fixed.

Gaps: Translation itself is a stand-in in the sandbox, so the summary's content is fixture data. Real translated outputs remain unverified while UniProt ID mapping is down.


#32 — Rat Reactome doesn't pass taxid, so species check is skipped

Issue #32 (BCB430 #10). Affected revision: master 11c38c7. Tested PR SHA: b3487ab (same build code as the current PR head). Evidence type: Controlled fixture (real create_genesets_release.sh of each revision in the build image, fake internet and Java stand-ins).

Original symptom and pass criteria

Rat Reactome toGSEA must be called with --species 10116, so the species check runs.

Fix commit and code path

a78a204.

Run list

SB-05 (master) / SB-06 (PR); the Java stand-in logs its arguments. Rows are in the run registry.

Before-and-after evidence

  • Master: toGSEA … --speciescheck --source Reactome --species (empty). PR: … --species 10116 (SB-06/java.log).

Verdict and remaining gaps

Verified fixed (argument passed).

Gaps: The Java species filter itself ran as a stand-in. That it then drops non-rat entries is code behaviour, not exercised here.


#33 — Version info not saved for HumanCyc, NCI and NetPath static sources

Issue #33 (BCB430 #11). Affected revision: master 11c38c7. Tested PR SHA: b3487ab (same build code as the current PR head). Evidence type: Controlled fixture (real create_genesets_release.sh of each revision in the build image, fake internet and Java stand-ins).

Original symptom and pass criteria

The Human versions file must record HumanCyc, NCI and NetPath.

Fix commit and code path

69ddb8d.

Run list

SB-04 (master) / SB-03 (PR). Rows are in the run registry.

Before-and-after evidence

  • Lines for humancyc / NCI / NetPath in the Human versions file: master 0 / 0 / 0; PR 1 / 1 / 1.

Verdict and remaining gaps

Verified fixed.


#34 — Empty GMT files created when BioPAX parsing fails

Issue #34 (BCB430 #12). Affected revision: master 11c38c7. Tested PR SHA: b3487ab (same build code as the current PR head). Evidence type: Controlled fixture (real create_genesets_release.sh of each revision in the build image, fake internet and Java stand-ins).

Original symptom and pass criteria

When BioPAX parsing fails, no empty GMT is created and the failure is logged. Successful parsing is unaffected.

Fix commit and code path

fed2c73.

Run list

SB-05 (master) / SB-06 (PR): failures (NCI-Nature toGSEA fails). Success: SB-04 / SB-03. Rows are in the run registry.

Before-and-after evidence

  • SB-05, master: 8 empty NCI GMTs (0 bytes each). SB-06, PR: none, plus ERROR: no gmt made from NCI-Nature_Curated.bp3.owl (see biopax_process.err) (SB-06/build.log).
  • Success runs: 0 empty GMTs on both.

Verdict and remaining gaps

Verified fixed.


#35 — Rat build still downloads go.obo over http

Issue #35 (BCB430 #13). Affected revision: master 11c38c7. Tested PR SHA: b3487ab (same build code as the current PR head). Evidence type: Controlled fixture (real create_genesets_release.sh of each revision in the build image, fake internet and Java stand-ins).

Original symptom and pass criteria

Every go.obo download uses https.

Fix commit and code path

23d316a.

Run list

SB-04 (master) / SB-03 (PR). Rows are in the run registry.

Before-and-after evidence

  • curl.log: master has 2× http://current.geneontology.org/ontology/go.obo and 2× https; PR has 4× https (SB-03/curl.log).

Verdict and remaining gaps

Verified fixed.


#36 — Remove hard-coded BioCyc and DrugBank credentials from scripts

Issue #36 (BCB430 #14). Affected revision: master 11c38c7. Tested PR SHA: 198774f (same build code as the current PR head). Evidence type: Controlled fixture (unchanged functions with a fake curl) + code inspection.

Original symptom and pass criteria

No BioCyc/DrugBank user:password in the scripts. The downloads take the login from files outside git.

Fix commit and code path

21a9c22: download_biocyc_data / download_drugbank_data read ${TOOLDIR}/biocyc_login and drugbank_login. Those files are in .gitignore and documented in Docker_instance/README.md.

Run list

LG-01 (master) / LG-02 (PR). The sandbox never reaches these functions (their calls are commented out in both revisions), so they are called directly. Rows are in the run registry.

Before-and-after evidence

  • LG-01, master: with FAKEUSER:FAKEPASS in both login files, all 3 curl calls still sent the hard-coded login, shown as <REDACTED> in LG-01/curl.log. 11 hard-coded -u user:password occurrences across 4 scripts (LG-01/hardcoded_logins_per_file.txt).
  • LG-02, PR: all 3 calls send FAKEUSER:FAKEPASS from the login files (LG-02/curl.log); 0 hard-coded logins in any script. (The redactor's 1 match on the PR is the placeholder in the test that checks for hard-coded logins.)

Verdict and remaining gaps

Verified fixed (current tree).

Gaps: The old credentials remain in git history. Account owners should rotate them. No real credential was used or printed in this verification.


#37 — UniProt job status check can loop forever (attempt = attempt++)

Issue #37 (BCB430 #15). Affected revision: master 11c38c7. Tested PR SHA: 2af66ed (same build code as the current PR head). Evidence type: Controlled fixture (fake HTTPS UniProt service, each revision's Java compiled from source).

Original symptom and pass criteria

When a UniProt job never finishes, or a request hangs, GenesetTools must stop with an error in bounded time.

Fix commit and code path

9d36bb5: at most 100 status checks, plus HTTP timeouts. a6f78ea makes the timeout override property be in seconds.

Run list

UF-05 (master) / UF-06 (PR): running (status is always RUNNING). UF-07 / UF-08: run_hang (/run never answers). Rows are in the run registry.

Before-and-after evidence

  • running: master was still polling after 140 status checks and was killed at 700 s (exit 124). PR stopped after 100 checks, exit 1, 497.8 s (UF-06/stderr.txt).
  • run_hang: master had no request timeout and was killed at 700 s (exit 124). PR: HttpTimeoutException: request timed out, exit 1, 301.6 s (UF-08/stderr.txt).

Verdict and remaining gaps

Verified fixed (polling termination).

Gaps: Live translation and mapping quality are not verified: the UniProt ID-mapping service was not completing jobs on 30 Nov.


#38 — UniProt ID batching skips one ID per 1000 and drops the last ID

Issue #38 (BCB430 #16). Affected revision: master 11c38c7. Tested PR SHA: 2af66ed (same build code as the current PR head). Evidence type: Controlled fixture (fake HTTPS UniProt service).

Original symptom and pass criteria

Every input ID is sent exactly once, and no request is made for a job that was not created.

Fix commit and code path

957b682.

Run list

UF-01 / UF-02: 2,500 IDs. UF-03 / UF-04: 2,000 IDs. Rows are in the run registry.

Before-and-after evidence

  • 2,500 IDs: master sent 2,497 unique (never sent Q01833, Q02186, Q02347), so 2,497 were mapped. PR sent 2,500 / 2,500.
  • 2,000 IDs: master sent 1,999 and made 3 requests for job null. PR sent 2,000 / 2,000, with 0 null requests (summary, UF-01/server_requests.jsonl).

Verdict and remaining gaps

Verified fixed (batching correctness).

Gaps: Live translation and mapping quality are not verified: the UniProt ID-mapping service was not completing jobs on 30 Nov.


#39 — UniProt web service errors are swallowed and GMT written with partial results

Issue #39 (BCB430 #17). Affected revision: master 11c38c7. Tested PR SHA: 2af66ed (same build code as the current PR head). Evidence type: Controlled fixture (fake HTTPS UniProt service) + build sandbox.

Original symptom and pass criteria

A UniProt service error must give a non-zero exit, write no partial GMT, and be reported by the build script.

Fix commit and code path

c16dc44.

Run list

UF-09 / UF-10: run_500. UF-11 / UF-12: status_err. Build-script level: SB-05 / SB-06 (FAKE_FAIL_TRANSLATE=KEGG). Success: UF-02 / UF-04. Rows are in the run registry.

Before-and-after evidence

  • run_500: master exit 0, polled job null 3 times and wrote an output GMT with 0 mapped genes. PR: exit 1, Uniprot did not return a job id (HTTP status 500), no output (UF-10/stderr.txt).
  • status_err: master exit 0 and wrote a GMT. PR: exit 1, no GMT.
  • Build script: SB-06 logs ERROR: translating July2011_Human_KEGG_symbol.gmt from symbol to UniProt failed (see translate_process.err); SB-05 is silent (SB-06/build.log).
  • Success: UF-02 / UF-04 exit 0 with complete output.

Verdict and remaining gaps

Verified fixed.

Gaps: Live translation and mapping quality are not verified: the UniProt ID-mapping service was not completing jobs on 30 Nov.


#40 — GenesetTools exits with status 0 on bad arguments or failed GMT load

Issue #40 (BCB430 #18). Affected revision: master 11c38c7. Tested PR SHA: 2af66ed (same build code as the current PR head). Evidence type: Controlled fixture (each revision's Java compiled from source).

Original symptom and pass criteria

Exit 1 on bad arguments and on a missing or unloadable GMT.

Fix commit and code path

353c8cf.

Run list

UF-15 / UF-16: bad_args. UF-17 / UF-18: missing_gmt. UF-19 / UF-20: convert_missing. Rows are in the run registry.

Before-and-after evidence

  • bad_args: exit 0 → 1.
  • missing_gmt: master printed a stack trace and exit 0, yet still contacted the service and wrote output_t_existsymbol.gmt. PR: unable to load GMT file does_not_exist.gmt…, exit 1, no requests, no output (UF-18/stdout.txt).
  • convert_missing: master printed a stack trace, exit 0, and left an empty output_out.gmt. PR: exit 1.

Verdict and remaining gaps

Verified fixed.


#41 — Taxid filter commented out for Gene_Name/GeneID UniProt lookups

Issue #41 (BCB430 #19). Affected revision: master 11c38c7. Tested PR SHA: 2af66ed (same build code as the current PR head). Evidence type: Controlled fixture (fake HTTPS UniProt service).

Original symptom and pass criteria

Gene_Name/GeneID lookups are restricted to the build's species (taxId), so other species' hits are not used.

Fix commit and code path

52787a3.

Run list

UF-13 (master) / UF-14 (PR): symbol_taxid, Human. Rows are in the run registry.

Before-and-after evidence

  • Gene_Name → UniProtKB request: master sends no taxId; PR sends taxId=9606. The UniProtKB_AC follow-up request is unchanged on both (UF-14/server_requests.jsonl).

Verdict and remaining gaps

Partially verified: the request parameter is proven. The effect on live mapping (fewer cross-species hits) is not..

Gaps: Live translation and mapping quality are not verified: the UniProt ID-mapping service was not completing jobs on 30 Nov.


#42 — Summary README replaced even when the R report fails

Issue #42 (BCB430 #20). Affected revision: master 11c38c7. Tested PR SHA: bc72f19 (same build code as the current PR head). Evidence type: Controlled fixture (stand-ins for docker/curl/perl).

Original symptom and pass criteria

A species' README.html is replaced only when its report rendered; a failure is reported with exit 1. When all species succeed, all are replaced.

Fix commit and code path

e474849.

Run list

FX-01 / FX-02: summaries_fail (Mouse and Rat R renders fail). FX-03 / FX-04: summaries_ok. Rows are in the run registry.

Before-and-after evidence

  • FX-01, master: exit 0. Human replaced, Rat README replaced with an empty file, Mouse unchanged; the R error is not captured (FX-01/readme_after.tsv).
  • FX-02, PR: exit 1. Only Human replaced; ERROR: Mouse summary failed, README not updated (and Rat); the R error is saved in processing_output_Mouse… (FX-02/readme_after.tsv).
  • Success: FX-03 / FX-04 replace all three on both.

Verdict and remaining gaps

Verified fixed.


#43 — Slack always posts "Finished" regardless of build outcome

Issue #43 (BCB430 #21). Affected revision: master 11c38c7. Tested PR SHA: bc72f19 (same build code as the current PR head). Evidence type: Controlled fixture (Slack = logging stand-in).

Original symptom and pass criteria

Slack reports failure when the build or stats step fails, sends a valid content type, and still reports success when it succeeds.

Fix commit and code path

e172efc.

Run list

FX-05 / FX-06 cron_fail, FX-07 / FX-08 cron_ok, FX-09 / FX-10 stats_fail, FX-11 / FX-12 stats_ok. Release-script posts in SB-01..06. Rows are in the run registry.

Before-and-after evidence

  • cron_fail: master posts "Finished Geneset build - see log file for details" with Content-type: plication/json. PR posts "Geneset build FAILED - see November_30_2026_build.log" with application/json (FX-06/slack.log).
  • stats_fail: master "Finished Geneset Stats build…"; PR "Geneset Stats build FAILED for at least one species - see November_2026_geneset_summary.log".
  • Success cases (FX-07/08, FX-11/12): "Finished" on both.
  • Release script: all 19 of master's Slack posts use plication/json; the PR has none.

Verdict and remaining gaps

Verified fixed.

Gaps: Live Slack was not contacted.


#44 — Geneset_tracking.Rmd crashes on R 4.3+ ("||" used with a vector)

Issue #44 (BCB430 #22). Affected revision: master 11c38c7. Tested PR SHA: 2bf69ef (same build code as the current PR head). Evidence type: Controlled fixture (each revision's Rmd rendered unchanged; the fake site serves the PR's test layout; both revisions render the same site).

Original symptom and pass criteria

The report renders on R ≥ 4.3 when there are several log files, and still renders on the production R 4.1.2.

Fix commit and code path

e1b0c12.

Run list

RM-09 (master) / RM-10 (PR): complete, R 4.4.2. RM-07 / RM-08: complete, R 4.1.2. Rows are in the run registry.

Before-and-after evidence

  • RM-09, master, R 4.4.2: render error 'length = 3' in coercion to 'logical(1)' (RM-09/result.tsv).
  • RM-10, PR, R 4.4.2: renders with no error, all 10 figures (RM-10/result.tsv).
  • R 4.1.2 (production base): both render (RM-07, RM-08).

Verdict and remaining gaps

Verified fixed.

Gaps: R 4.4 image is a test image, not the production summaries image.


#45 — Failed log download not detected in Geneset_tracking.Rmd

Issue #45 (BCB430 #23). Affected revision: master 11c38c7. Tested PR SHA: 2bf69ef (same build code as the current PR head). Evidence type: Controlled fixture + code inspection.

Original symptom and pass criteria

A log whose download fails is skipped, with a message, instead of crashing on read.table.

Fix commit and code path

02656eb.

Run list

RM-01 / RM-02 partial (one listed log returns 404), R 4.1.2; RM-11 / RM-12, R 4.4.2. Rows are in the run registry.

Before-and-after evidence

  • PR (RM-02, RM-12): [safe_download.file] …/Human_Reactome_symbol_translation_summary.log not found (404), the log is skipped, and the report renders (RM-02/rscript.log).
  • Master: on the same input it stops earlier, at #47 ('by' must match numbers of columns), so the failed-log path is never reached. Code inspection: master tests dest_log_file, which is the destination path and is never NULL/NA.

Verdict and remaining gaps

Partially verified: the fixed behaviour is shown; the original crash was not reproduced in isolation..

Gaps: Reproducing master's crash needs a site where #47 does not fire first. That would need a fifth fixture case.


#46 — Geneset_tracking.Rmd continues with no data when download site is unreachable

Issue #46 (BCB430 #24). Affected revision: master 11c38c7. Tested PR SHA: 5de142c (same build code as the current PR head). Evidence type: Controlled fixture.

Original symptom and pass criteria

If the release list can't be read, stop with a clear error.

Fix commit and code path

2d09d09.

Run list

RM-03 (master) / RM-04 (PR): unreachable (no server). Rows are in the run registry.

Before-and-after evidence

  • Master: carries on and fails later with object 'num_sets' not found, leaving a 0-byte Overall_geneset_stats.png (RM-03/result.tsv).
  • PR: Could not read the list of releases from https://download.baderlab.org/EM_Genesets/; no figures (RM-04/result.tsv).

Verdict and remaining gaps

Verified fixed.


#47 — Stats table never initialised if newest release has no summary file

Issue #47 (BCB430 #25). Affected revision: master 11c38c7. Tested PR SHA: 5de142c (same build code as the current PR head). Evidence type: Controlled fixture.

Original symptom and pass criteria

When the newest release has no summary file, the report still renders from the releases that have one. Complete sites are unaffected.

Fix commit and code path

5bac269, 10bf6b1.

Run list

RM-01 / RM-02 partial, R 4.1.2; RM-11 / RM-12 partial, R 4.4.2. Success: RM-07 / RM-08 complete. Rows are in the run registry.

Before-and-after evidence

  • Master: 'by' must match numbers of columns, no figures (RM-01, RM-11) (RM-01/result.tsv).
  • PR: renders with no error, all 10 figures (RM-02, RM-12) (RM-02/result.tsv).
  • Complete site: both revisions render (RM-07, RM-08).

Verdict and remaining gaps

Verified fixed.


#48 — miR and Disease/Phenotype figures never drawn (inverted NULL check)

Issue #48 (BCB430 #26). Affected revision: master 11c38c7. Tested PR SHA: 2bf69ef (same build code as the current PR head). Evidence type: Controlled fixture.

Original symptom and pass criteria

The miR and Disease/Phenotype figures are drawn when their data exists.

Fix commit and code path

331f7a9.

Run list

RM-07 (master) / RM-08 (PR): complete, R 4.1.2. Rows are in the run registry.

Before-and-after evidence

  • Master: neither figure is created. PR: Mir_identifier_stats.png 24,143 B, Disease_identifier_stats.png 23,351 B (RM-08/result.tsv).

Verdict and remaining gaps

Verified fixed.


#49 — ggplots inside if blocks are saved as blank PNGs

Issue #49 (BCB430 #27). Affected revision: master 11c38c7. Tested PR SHA: 2bf69ef (same build code as the current PR head). Evidence type: Controlled fixture + code inspection.

Original symptom and pass criteria

ggplots drawn inside if blocks are written to non-blank PNGs.

Fix commit and code path

00aeef1: wraps them in print().

Run list

RM-08, RM-10 (PR); RM-07, RM-09 (master). Rows are in the run registry.

Before-and-after evidence

  • PR: the Drug / miR / Disease figures are 23–29 KB, versus a 444-byte blank PNG of the same size (RM-08/result.tsv).
  • Master: none of the three plots is reached in the fixture. miR and Disease are blocked by #48. The Drug figure file is not created on master, and the reason was not isolated. So the blank-PNG symptom was not reproduced.

Verdict and remaining gaps

Partially verified: the fixed behaviour is shown; the original blank PNG was not reproduced..

Gaps: Reproduce by applying only #48 to master, or by rendering one of the blocks on its own.


#50 — Drug, miR and Disease figures never shown in the summary report

Issue #50 (BCB430 #28). Affected revision: master 11c38c7. Tested PR SHA: 2bf69ef (same build code as the current PR head). Evidence type: Controlled fixture + code inspection.

Original symptom and pass criteria

The Drug, miR and Disease figures appear in the rendered report.

Fix commit and code path

8f045e1: the chunk is no longer include=FALSE, and file.exists() replaces exists().

Run list

RM-07 / RM-08, RM-09 / RM-10, RM-11 / RM-12. Rows are in the run registry.

Before-and-after evidence

  • PR: in_report is TRUE for all three in every rendered run (RM-02, RM-08, RM-10, RM-12) (RM-08/result.tsv).
  • Master: FALSE in RM-07. But master also never creates those files (#48, #49), so its absence isn't caused by this bug alone. Code inspection confirms include=FALSE and exists() on a path in master.

Verdict and remaining gaps

Partially verified: the fixed behaviour is shown; the master failure is confounded with #48 and #49..


#51 — SSL certificate verification disabled in Geneset_tracking.Rmd

Issue #51 (BCB430 #29). Affected revision: master 11c38c7. Tested PR SHA: 5de142c (same build code as the current PR head). Evidence type: Controlled fixture.

Original symptom and pass criteria

SSL certificates are verified: an untrusted server is refused, and a trusted one works.

Fix commit and code path

0a18b2e: removes ssl.verifypeer = FALSE and ssl.verifyhost = FALSE.

Run list

RM-05 (master) / RM-06 (PR): untrusted (self-signed certificate). Success: RM-02 partial with the certificate added to the image's CA store. Rows are in the run registry.

Before-and-after evidence

  • RM-05, master: accepts the untrusted server for the release list (verification off). The file downloads then fail and retry with exponential backoff (15 tries, 2^(i-1) s) until the harness kills it at 900 s (exit 124) (RM-05/rscript.log).
  • RM-06, PR: refuses in 1.1 s, Could not read the list of releases from https://download.baderlab.org/EM_Genesets/ (RM-06/result.tsv).
  • Trusted certificate: RM-02 renders (R 4.1.2 production base image, after update-ca-certificates). ssl_verify_off_in_rmd: master TRUE, PR FALSE.

Verdict and remaining gaps

Verified fixed.

Gaps: Not tested against the real download site from the production summaries container (production untouched). That image needs a CA store that trusts the site's real certificate chain. The PR's error message doesn't distinguish a certificate failure from an unreachable site.


#52 — Remove the jar rebuild from docker-entrypoint.sh

Issue #52 (BCB430 #30). Affected revision: master 11c38c7. Tested PR SHA: bd14480 (same build code as the current PR head). Evidence type: Controlled fixture (real build image, entrypoint swapped per revision).

Original symptom and pass criteria

The container doesn't rebuild the jar on start. A failed jar build is visible (non-zero exit) and doesn't replace the previous jar.

Fix commit and code path

437887b: the entrypoint only runs exec "$@"; there is a new explicit step, GeneSetTools/build_jar.sh.

Run list

EP-01 / EP-02 valid, EP-03 / EP-04 broken_src (compile error added), EP-05 build_step (PR build_jar.sh on broken source). Rows are in the run registry.

Before-and-after evidence

  • EP-01, master: ant runs at every start (8.9 s) and the jar changes.
  • EP-03, master, broken source: BUILD FAILED, yet the container command still runs and exits 0. This is the silent fallback to the old jar (EP-03/container.log).
  • EP-02 / EP-04, PR: no ant, jar unchanged, start in 0.4–0.8 s.
  • EP-05, PR explicit build: ERROR: GenesetTools.jar did not compile, the previous GenesetTools.jar has been kept, command_exit=1; jar SHA-256 unchanged (EP-05/container.log).

Verdict and remaining gaps

Verified fixed (start-up rebuild and silent fallback).

Gaps: Two items in the issue's task list are still open: deciding how the jar gets deployed, and finding why production's builds have failed since 2024 (EP-01 shows ant succeeds in this image on valid source).


#53 — Document external files the build needs that can't be in the repo

Issue #53 (BCB430 #31). Affected revision: master 11c38c7. Tested PR SHA: 2bf69ef (same build code as the current PR head). Evidence type: Code/documentation inspection.

Original symptom and pass criteria

The README lists every required file that can't be in the repo, with where it lives and how to get it. The NetPath and MSigDB rows are resolved.

Fix commit and code path

6122f2f: section "Files the build needs that aren't in the repo" in Docker_instance/README.md.

Run list

None (documentation). Rows are in the run registry.

Before-and-after evidence

  • The section (README.md:66) lists all six files from the issue, plus biocyc_login / drugbank_login.
  • Checked against the PR tree: none of the listed files is tracked. The only MSigDB GMTs in git are under old_versions/. .gitignore covers slack_webhook, geneset_tracking/slack_webhook, biocyc_login and drugbank_login.

Verdict and remaining gaps

Partially verified: the documentation is accurate. The NetPath and MSigDB rows still say "check whether they can be added"..

Gaps: Licence decisions for NetPath and MSigDB 2026.1. A build from a fresh clone that follows the README was not attempted.


Clone this wiki locally