From c80cc29936e1039b505a968cffba4c6f30f74bf8 Mon Sep 17 00:00:00 2001 From: TheFlow Date: Sat, 7 Feb 2026 16:10:29 +1300 Subject: [PATCH] fix: Resolve stale CSS caching and CI test failure - Add ?v= cache-bust parameters to CSS references in index.html, home-ai.html, and timeline.html (were missing, causing stale CSS) - Fix version.json: disable forceUpdate (was causing 10s auto-reload loops), fix minVersion paradox (was 0.2.1 > current 0.1.3) - Fix update-cache-version.js: stop always setting forceUpdate=true, add 7 missing HTML files to cache-bust list, add bare CSS/JS reference detection - Fix ClaudeAPI.test.js: generateBlogTopics now takes context object, not positional arguments - Add spacing between honesty note and Koha section Co-Authored-By: Claude Opus 4.6 --- public/home-ai.html | 2 +- public/index.html | 4 ++-- public/timeline.html | 2 +- public/version.json | 4 ++-- scripts/update-cache-version.js | 13 ++++++++++++- tests/unit/ClaudeAPI.test.js | 8 +++++++- 6 files changed, 25 insertions(+), 8 deletions(-) diff --git a/public/home-ai.html b/public/home-ai.html index 094b0a13..156aff3e 100644 --- a/public/home-ai.html +++ b/public/home-ai.html @@ -21,7 +21,7 @@ - +