ci: stop waiting ~9 minutes on an unreachable cache
Validate game templates / validate (push) Successful in 14s
Validate game templates / boot-test (push) Skipped
Validate game templates / publish (push) Skipped

Validate took ~10 minutes, of which ~10 seconds was work: setup-go's
cache restore and save each waited ~4.7 minutes for a connect timeout,
because the runners' built-in cache server sits on a network job
containers can't reach. Turn off setup-go caching (three small modules
aren't worth it) and the game-test runner's cache server, so any cache
step skips at once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
gregandClaude Opus 5.5 committed 2026-10-25 11:12:55 -04:00
1 parent c23442e8fa
commit d02ed01d26
2 files changed
+14

No files matched your search

+9
View File
@@ -30,6 +30,9 @@ jobs:
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version-file: go.mod go-version-file: go.mod
# Three small modules aren't worth caching, and the runners' cache server is unreachable
# from job containers: each restore/save attempt timed out after ~4.7 minutes.
cache: false
- name: Validate - name: Validate
run: | run: |
@@ -69,6 +72,9 @@ jobs:
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version-file: go.mod go-version-file: go.mod
# Three small modules aren't worth caching, and the runners' cache server is unreachable
# from job containers: each restore/save attempt timed out after ~4.7 minutes.
cache: false
# Secrets named in a game's test.yaml must be listed here to reach the boot test # Secrets named in a game's test.yaml must be listed here to reach the boot test
- name: Boot test changed games - name: Boot test changed games
@@ -93,6 +99,9 @@ jobs:
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version-file: go.mod go-version-file: go.mod
# Three small modules aren't worth caching, and the runners' cache server is unreachable
# from job containers: each restore/save attempt timed out after ~4.7 minutes.
cache: false
# Unlike the node-agent notify, a failure here fails the run, because the panel would # Unlike the node-agent notify, a failure here fails the run, because the panel would
# otherwise keep serving the previous templates silently. # otherwise keep serving the previous templates silently.
+5
View File
@@ -3,6 +3,11 @@ runner:
capacity: 1 capacity: 1
timeout: 3h timeout: 3h
cache:
# The built-in cache server listens on the runner container's own network, which job containers
# can't reach: every cache restore/save waited ~4.7 minutes for a timeout. Off, they skip at once.
enabled: false
container: container:
# Empty = use the host's Docker and mount it into job containers, which the boot test needs # Empty = use the host's Docker and mount it into job containers, which the boot test needs
# to start the node-agent and game containers # to start the node-agent and game containers