Cache busting is broken - ${packageTimestamp} is never substituted in HTML resources
After the dark mode / Bootstrap 5.3.8 rewrite in 6cc4171a3, users can hit a TypeError at topology.html:307 where Mustache.render receives undefined because #topology-summary-template isn't found in the fetched topology-page-template.html. The root cause is a stale main.bundle.js (with old template IDs) being served alongside the new templates, or vice versa.
topology.html:25 references the bundle as:
<script src="/dist/main.bundle.js?_ts=${packageTimestamp}" ...>
However, ${packageTimestamp} is never expanded.
In storm-webapp/pom.xml (lines 143–148), the WEB-INF/**/. resource does not have
This means the "cache-busting" query parameter is actually a constant across deploys, and the browser keeps serving whatever version it already has cached. Additionally, topology-page-template.html and other AJAX-fetched templates have no cache-busting parameter at all.
Workaround is to hard-reload (Cmd/Ctrl+Shift+R) or clear site data for the Storm UI origin.
@rzo1 Hard refresh also not worked.
@Gowtham-Gowts The next release (most likely 3.0.0) will fix the broken package timestamp replacement. Since your screenshot does not contain the new light/dark mode toggle, it is definitly a caching issue in your environment.
@rzo1 by looking at the comments and actions, no action was undertaken for version 2.8.7. Should we remove it from milestone 2.8.7?
@reiabreu https://github.com/apache/storm/commit/fd8db6127c0c374b6bbac8649abd9fcccb8f5853