Skip to content

build: enforce verified JR7 WAR inventory and remove diagnostic exceptions - #8

Merged
rftd merged 2 commits into
masterfrom
chore/dependency-provenance
Oct 23, 2026
Merged

rftd merged 2 commits into
masterfrom
chore/dependency-provenance

Conversation

@rftd

@rftd rftd commented Oct 23, 2026 •

Copy link
Copy Markdown
Owner

Buildomatic and Docker/CI now require a successful build against the reviewed JR7 WAR inventory. Remove the diagnostic checker and its failure-log allowance; a checksum mismatch or any other Ant failure stops the build.

Independently download and verify all 18 added/changed inventory artifacts against official Maven Central/Jaspersoft published checksums. Record SHA-256, POM hashes, source URLs and retired coordinates. SiteMesh's current official artifact matches both published SHA-1/SHA-256; Artifactory records republication on 2024-07-25 under the same version. Preserve the historical digest and document that the historical binary/source JAR was not recovered, so no byte-for-byte source equivalence or reproducible-build claim is made.

Add an offline WAR guard that validates all 326 inventory SHA-1 entries and 34 reviewed SHA-256 pins, including all 16 JR7 JARs excluded by the inherited Ant scanner. Enforce the complete JAR filename set (plus 25 explicitly listed in-tree outputs at the build version); reject altered, missing, extra and duplicate libraries, including unknown JR/server-prefixed JARs. Keep the original Ant comparator/scanner, application dependencies/versions, legal notices, security checks and runtime tests unchanged.

Validation for final HEAD a6ceed7c993c4aa3bb275cc13948343660f747db:

  • Legacy full build — SUCCESS: frontend/WAR, successful strict Ant comparison and actual WAR hash/filename checks, database/sample loading, REST PDF/XLSX, viewer/native reports/maps and Chromium visualizations.
  • Local Docker environment — SUCCESS: complete image build/bootstrap, strict dependency checks, persistence/key protection, REST/browser/native reports/maps and sandboxed Chromium exports.
  • Seventeen guard tests passed, including tampered historical/JR7 bytes, incorrect SHA-256 with matching SHA-1, unexpected modules, duplicate ZIP entries and malformed provenance. The original Buildomatic CheckMasterList and new guard also passed locally against the existing actual WAR. All 79 native report definitions/catalog synchronization and shell/YAML checks passed.
  • The pinned inventory has explicit LF checkout attributes, validated with core.autocrlf=true, so Windows checkouts preserve its reviewed file digest.

See jasperserver/deps/README.md for the evidence, exact scope and future update procedure. This closes the enumerated migration integrity exception; broader regression, dependency security/license review and PDF accessibility remain separate release work. No database/key changes or library upgrades are included.

@rftd
rftd marked this pull request as ready for review October 23, 2026 23:49
@rftd
rftd merged commit 48ff06f into master Oct 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant