ci(workflow): remove the 4 Cache pip wheels steps entirely — act_runner's cache backend has been broken for 11+ days and the cached path (~/.cache/pip) wasn't even the primary install tool's cache anyway (uv uses ~/.cache/uv). Net cost ~30s/job of wheel downloads. Long-term: mount ~/.cache/uv as a docker volume at the runner level (skips actions/cache entirely) or fix the runner-side cache backend.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
+11
-64
@@ -24,22 +24,17 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Cache pip wheels
|
# Cache step removed 2026-05-26: act_runner's cache backend has been
|
||||||
# continue-on-error: act_runner's cache backend has been broken on
|
# broken on this homelab runner since 2026-05-15 (first as request-
|
||||||
# this homelab setup since 2026-05-15 — bolt.db + cache/ dir exist
|
# timeout warnings, then as hard "Cannot find module .../dist/restore/
|
||||||
# but the action's JS bundle now fails to load at all
|
# index.js" failures that tank the whole job). The cache step targeted
|
||||||
# ("Cannot find module .../dist/restore/index.js"), hard-failing
|
# ~/.cache/pip but the install below uses `uv pip install` primarily,
|
||||||
# the whole job. The install step that follows handles cold caches
|
# whose own cache lives at ~/.cache/uv — so the cache step's real
|
||||||
# natively (uv pip / pip install both work without it), so net
|
# benefit was marginal even when working. Cost of removal: ~30s of
|
||||||
# cost of disabling the cache here is ~30s of wheel downloads per
|
# wheel downloads per job. Future re-enable: mount ~/.cache/uv as a
|
||||||
# job. Re-enable once the runner-side cache backend is fixed.
|
# docker volume at the runner level (skips actions/cache entirely),
|
||||||
continue-on-error: true
|
# or fix the runner-side cache backend (clear /var/run/act/actions/*,
|
||||||
uses: actions/cache@v4
|
# pin act_runner version, etc.).
|
||||||
with:
|
|
||||||
path: ~/.cache/pip
|
|
||||||
key: pip-${{ runner.os }}-py314-${{ hashFiles('requirements.txt') }}
|
|
||||||
restore-keys: |
|
|
||||||
pip-${{ runner.os }}-py314-
|
|
||||||
|
|
||||||
- name: Install Python deps
|
- name: Install Python deps
|
||||||
# ruff is pre-installed in the ci-python image (see CI-Runner/CI-python/
|
# ruff is pre-installed in the ci-python image (see CI-Runner/CI-python/
|
||||||
@@ -133,22 +128,6 @@ jobs:
|
|||||||
--health-retries 10
|
--health-retries 10
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Cache pip wheels
|
|
||||||
# continue-on-error: act_runner's cache backend has been broken on
|
|
||||||
# this homelab setup since 2026-05-15 — bolt.db + cache/ dir exist
|
|
||||||
# but the action's JS bundle now fails to load at all
|
|
||||||
# ("Cannot find module .../dist/restore/index.js"), hard-failing
|
|
||||||
# the whole job. The install step that follows handles cold caches
|
|
||||||
# natively (uv pip / pip install both work without it), so net
|
|
||||||
# cost of disabling the cache here is ~30s of wheel downloads per
|
|
||||||
# job. Re-enable once the runner-side cache backend is fixed.
|
|
||||||
continue-on-error: true
|
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: ~/.cache/pip
|
|
||||||
key: pip-${{ runner.os }}-py314-${{ hashFiles('requirements.txt') }}
|
|
||||||
restore-keys: |
|
|
||||||
pip-${{ runner.os }}-py314-
|
|
||||||
- name: API integration shard (resolve service IPs, migrate, test)
|
- name: API integration shard (resolve service IPs, migrate, test)
|
||||||
run: |
|
run: |
|
||||||
set -eux
|
set -eux
|
||||||
@@ -207,22 +186,6 @@ jobs:
|
|||||||
--health-retries 10
|
--health-retries 10
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Cache pip wheels
|
|
||||||
# continue-on-error: act_runner's cache backend has been broken on
|
|
||||||
# this homelab setup since 2026-05-15 — bolt.db + cache/ dir exist
|
|
||||||
# but the action's JS bundle now fails to load at all
|
|
||||||
# ("Cannot find module .../dist/restore/index.js"), hard-failing
|
|
||||||
# the whole job. The install step that follows handles cold caches
|
|
||||||
# natively (uv pip / pip install both work without it), so net
|
|
||||||
# cost of disabling the cache here is ~30s of wheel downloads per
|
|
||||||
# job. Re-enable once the runner-side cache backend is fixed.
|
|
||||||
continue-on-error: true
|
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: ~/.cache/pip
|
|
||||||
key: pip-${{ runner.os }}-py314-${{ hashFiles('requirements.txt') }}
|
|
||||||
restore-keys: |
|
|
||||||
pip-${{ runner.os }}-py314-
|
|
||||||
- name: Importer integration shard (resolve service IPs, migrate, test)
|
- name: Importer integration shard (resolve service IPs, migrate, test)
|
||||||
run: |
|
run: |
|
||||||
set -eux
|
set -eux
|
||||||
@@ -281,22 +244,6 @@ jobs:
|
|||||||
--health-retries 10
|
--health-retries 10
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Cache pip wheels
|
|
||||||
# continue-on-error: act_runner's cache backend has been broken on
|
|
||||||
# this homelab setup since 2026-05-15 — bolt.db + cache/ dir exist
|
|
||||||
# but the action's JS bundle now fails to load at all
|
|
||||||
# ("Cannot find module .../dist/restore/index.js"), hard-failing
|
|
||||||
# the whole job. The install step that follows handles cold caches
|
|
||||||
# natively (uv pip / pip install both work without it), so net
|
|
||||||
# cost of disabling the cache here is ~30s of wheel downloads per
|
|
||||||
# job. Re-enable once the runner-side cache backend is fixed.
|
|
||||||
continue-on-error: true
|
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: ~/.cache/pip
|
|
||||||
key: pip-${{ runner.os }}-py314-${{ hashFiles('requirements.txt') }}
|
|
||||||
restore-keys: |
|
|
||||||
pip-${{ runner.os }}-py314-
|
|
||||||
- name: Core integration shard (everything not api / importer / migration / phash / sidecar / scan / archive / backfill)
|
- name: Core integration shard (everything not api / importer / migration / phash / sidecar / scan / archive / backfill)
|
||||||
run: |
|
run: |
|
||||||
set -eux
|
set -eux
|
||||||
|
|||||||
Reference in New Issue
Block a user