[
https://issues.apache.org/jira/browse/NIFI-16346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre Villard updated NIFI-16346:
----------------------------------
Fix Version/s: 2.13.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
> Replace Webpack Content Hash with Project Version in Registry UI
> ----------------------------------------------------------------
>
> Key: NIFI-16346
> URL: https://issues.apache.org/jira/browse/NIFI-16346
> Project: Apache NiFi
> Issue Type: Improvement
> Components: NiFi Registry
> Reporter: David Handermann
> Assignee: David Handermann
> Priority: Major
> Fix For: 2.13.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The NiFi Registry web UI production webpack configuration includes a content
> hash in JavaScript and CSS bundle filenames. Webpack 4 computes this hash
> from the module graph rather than the emitted file contents, which produces
> different filenames across rebuilds even when the bundle bytes are identical.
> The production configuration should be updated to include the Maven project
> version in bundle filenames instead of the content hash, defaulting to
> SNAPSHOT when the version is not provided, so cache-busting is preserved
> across releases while supporting reproducible builds.
> This issue is visible in the [diffoscope
> evaluation|https://github.com/jvm-repo-rebuild/reproducible-central/blob/d0e94ea4d3c0cd1b30d85885e81b54596044a6cf/content/org/apache/nifi/nifi/nifi-2.12.0.diffoscope]
> of NiFi 2.12.0.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)