Release v1.0.8: Complete 89-Flag CLI & var2vcf Parity, Direct BGZF/Tabix/CSI Streaming, Tier-1 Engine Accelerations, Adversarial Security Hardening, and 657-Test Suite¶
[!NOTE] Historical Release Document: This document records the release certification for
v1.0.8(engine fingerprintbb09a4d1d4de46bf). For the currentv1.0.9release certification, seedocs/release/v1.0.9-pr.md.
Target Branch: main
Source Branch: release/v1.0.8
Release Fingerprint: bb09a4d1d4de46bf (perf_fingerprint 96a2fc98744b17c7)
Repository: https://github.com/palakpsheth/VarDictRust
Author / Maintainer: Palak Sheth palakpsheth@gmail.com
Governing Manifesto: rewrites.bio
Acceptance Gate: 8/8 Items PASS (harness/acceptance.sh)
Release Recertification Receipt (bb09a4d1d4de46bf): validated vs VarDictJava 1.8.3, dataset micro + s1a-s9 + 17-modality extended + 18-slice multimodal + HG008/SEQC2/HG002(chr20)/Amplicon + 5 truth cohorts + chr1 scale, cmd bash harness/recertify.sh && bash harness/pr_check.sh && bash harness/acceptance.sh
Overview¶
This pull request prepares and certifies VarDictRust v1.0.8 off main (759b9c4), consolidating 17 pull requests (PR #86–PR #89, PR #97–PR #108, PR #114):
- Complete 89-Flag CLI Surface, Consolidated
var2vcfPost-Filters & Direct BGZF/Tabix/CSI Streaming (Issue #93, Issue #94, PR #100, PR #102, PR #104–PR #108): - Adds native
--output <PATH>streaming to plain or multithreaded BGZF (.gz/.bgz) files with atomicStagedFileTarget.tmp.<pid>.<seq>staging andFile::sync_allverification, pure-Rust--tbi/--index(.vcf.gz.tbi) and--csi(.vcf.gz.csi) index writers honoring symbolic SVINFO/ENDspans,--no-end(var2vcf_valid.pl -E),--stats-json <PATH>,--parity/--compat vardictjava-1.8.3, andUPSTREAM.tomlreference comparator provenance. - Completes all 16 consolidated
var2vcf_valid.pl/var2vcf_paired.plVCF post-filter, threshold, genotype, and sliding-windowCluster<N>bpflags (--pass-only,--paired-strict,--vcf-pval,--min-splitreads,--no-pstd-filter,--vcf-af,--vcf-min-depth,--vcf-min-vd,--vcf-qmean,--vcf-mapq,--vcf-pmean,--vcf-sn,--vcf-max-nm,--vcf-gt-freq,--vcf-msi,--vcf-cluster-dist), Commons-CLI single-dash long aliases,-T/--trim,-n <REGEXP>,-VS SILENT|LENIENT, clustered boolean-prefix short options (-pz,-pz0,-uk,-ua,-pR),RAYON_NUM_THREADS, GRCh38 HLA/alt-contig colon-name parsing (HLA-A*01:01:01:01:100-200), zero-dependency--completions {bash,zsh,fish}and--manpage(vardictrust(1)) generators, and thedocs/migration.mdRosetta Stone guide (0unexercisedCLI flags remaining across all89flags in7functional groups). - Cross-Tile
.varDeduplication & Zero-Output-Diff Tier-1 Engine Accelerations (Issue #90, Issue #91, PR #98–PR #107): - Adds
SplitVarDeduper(SPLIT_VAR_RETENTION_WINDOW_BP = 200_000) cross-tile.varboundary deduplication acrossSimpleModeandSomaticModewhile preserving within-tile multiplicity and-pshifted-singleton position-0 companion triples. - Delivers hot-path CPU, heap-allocation, and RSS optimizations across single-
Match/ pureS/Mmodify_cigarfast-paths, 32-shardBGZF_BLOCK_CACHE, LUT/vectorized BAM sequence decode,FxHashSet<DupKey>-tdedup, sharedArc<[u8]>Referencespans, parallel multi-tilemax_read_lengthpre-scans, 64 MiB CRAM worker stacks, inline single-alleleVariationEntries+JavaHashMapdelta logs, SomaticCompactRefSiteelision, algebraic/LRUFisherExact(f80_sum_iter), single-bufferPairedVcfRecord/SingleVcfRecord, and--pass-onlyFisher short-circuiting. - Comprehensive Pre-
v1.0.8Adversarial Security, Arithmetic & Supply-Chain Hardening + 657-Test Suite (PR #86–PR #89, PR #97, PR #107, PR #114): - Hardens
.fai/.gzi/.crai/CRAM container & slice-header allocation caps and out-of-bounds landmark guards beforenoodlescontainer/slice reads, rejects control/newline/NUL injection across-G,-R,-N,.faicontigs, and BED inputs before##fileformat=VCFv4.2emission while preserving SAM=(Seq::Eq) bases and single-BAM colon paths (chr17:100-200.bam), neutralizes C0/C1/OSC terminal escapes onstderrdiagnostics, closes temp-file/profiling TOCTOU and0555read-only-parent symlink overwrite vectors viaO_CREAT | O_EXCL(0600/0700) +O_NOFOLLOW, eliminatesstderrEPIPEpanics and hostile CIGAR/coordinate overflows acrosscrates/vardictrust-core, hardenswiki.yml,release.yml(origin/mainancestor tag guard),deny.toml,dependabot.yml, andpackaging/nf-core/modules/vardictrust/main.nf, and expands the workspace test suite from519to657tests alongside the certified 92-chromosome per-contig parity receipt (docs/validation/chr-parity-v107.md).
Acceptance Gate & PR Check Certification¶
Both bash harness/pr_check.sh (6/6 stages) and bash harness/acceptance.sh (8/8 items) pass under certified engine fingerprint bb09a4d1d4de46bf (perf_fingerprint 96a2fc98744b17c7):
item 1: PASS (Unit tests: 657 total workspace tests: 460 lib + 110 corpus_parity + 29 engine_behavior + 2 amplicon_stream_mem + 3 cram_stack + 28 cli + 3 profile_smoke + 21 robustness + 1 version)
item 2: PASS (Level 2: 91/92 static expected matches + UB-4 isolated; micro live oracle smoke.sh PASS)
item 3: PASS (Level 3: 17/17 benchmarks MATCH: micro + 10 slices + HG008 + SEQC2 exome + SEQC2 slices + HG002 + Amplicon + 17-mode extended + 18-slice multimodal)
item 4: PASS (Robustness: crash corpus + HG008 CRAM twin PASS)
item 5: PASS (Level 5 Scale & Perf-Budget PASS)
item 6: PASS (Level 4 Truth set: HG008, SEQC2, HG002, HG005, NA24385 b37 EQUAL across all 5 cohorts)
item 7: PASS (Hygiene: fmt, clippy, audit, deny, gitleaks 0 leaks)
item 8: PASS (Distribution: --version metadata 1.0.8, musl-ci PASS)
fingerprint bb09a4d1d4de46bf
Key Documentation & Validation Artifacts¶
- Project README & Documentation:
README.md - VarDictJava + R + Perl Migration Guide:
docs/migration.md - Omnibus Master Empirical Validation Report:
docs/validation/omnibus-empirical-validation.md - 92-Chromosome Per-Contig Parity Receipt (
v1.0.7):docs/validation/chr-parity-v107.md&benchmarks/chr-parity-v107.json(92 / 92 MATCHacross 5 cohorts, including full 22-autosomeGIAB HG0028,111,171variants) - Master Seven-Level Test Matrix & CI/CD Audit:
docs/testing/test-matrix-and-ci-audit.md - Release Engineering & Packaging Runbook:
CONTRIBUTING.md §9 - Historical Release Certifications:
docs/release/v1.0.7-pr.md,docs/release/v1.0.6-pr.md,docs/release/v1.0.5-pr.md,docs/release/v1.0.4-pr.md,docs/release/v1.0.3-pr.md,docs/release/v1.0.1-pr.md&docs/release/v1.0.0-pr.md