From a9dcd60d3f0465b44bb80c8ff8fcc6c80886e9f7 Mon Sep 17 00:00:00 2001 From: Broque Thomas <26755000+Nezreka@users.noreply.github.com> Date: Sat, 2 May 2026 21:13:20 -0700 Subject: [PATCH] Bust Docker layer cache to rebuild dev nightly image MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit User reported (eN1gma) the dev nightly Docker image fails to start with ``ModuleNotFoundError: No module named 'requests'`` despite ``requests>=2.31.0`` being correctly listed in requirements.txt. Local Docker builds + python imports both work — the issue is a poisoned GHA Docker layer cache: the ``pip install -r requirements.txt`` step is cached based on the file's content hash, so once a bad layer (e.g. an aborted/incomplete pip install from a previous run) makes it into the cache, every subsequent build reuses it. Touching this comment changes the requirements.txt hash, which forces ``cache-from: type=gha`` in dev-nightly.yml to skip the poisoned layer and run a fresh ``pip install``. The next dev nightly build (or push-to-dev triggered build) will produce a clean image. No functional change. --- requirements.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/requirements.txt b/requirements.txt index 16d2b801..a52eda81 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,8 @@ # SoulSync requirements # Web application dependencies only +# (cache-bust 2026-05-02: dev nightly image was serving a poisoned layer +# with missing dependencies; touching this comment forces the GHA Docker +# layer cache to invalidate the pip-install step on the next build.) # Core web framework Flask>=3.0.0