Skip to content

ci(pages): exclude game dump from Pages deploy (fixes syncing_files timeout) - #46

Merged
Seungpyo1007 merged 1 commit into
mainfrom
fix/pages-exclude-games-dump
Jul 16, 2026
Merged

ci(pages): exclude game dump from Pages deploy (fixes syncing_files timeout)#46
Seungpyo1007 merged 1 commit into
mainfrom
fix/pages-exclude-games-dump

Conversation

@Seungpyo1007

Copy link
Copy Markdown
Member

Problem

After #45 fixed the setup-python crash, deploy-pages now runs to completion — and fails at the deploy step:

Current status: syncing_files
...
Error: Timeout reached, aborting!

Root cause: deploy-pages regenerates the full static dump (python -m app.dump) and uploads it to GitHub Pages. Since the game category grew to ~962k records (Wikidata + RAWG, 2026-07-12), the _site artifact holds ~1M per-record files, which exceeds the fixed GitHub Pages deployment window — the sync never finishes.

This was latent: deploy-pages last succeeded at #41 (before the big game import), then failed at setup-python (cache:pip / Node 24) so the size problem was masked until now.

Fix

Mirror the TechAPI homepage workflow (which already does this and deploys reliably): after assembling _site, drop the games dir and strip it from the index manifest.

rm -rf _site/v1/games
# remove collections.games from _site/v1/index.json
  • Every other collection (cpus, gpus, socs, smartphones, tablets, watches, pdas, laptops, monitors, software, brands) is still published.
  • Games remain available as versioned data in the TechAPI repo.
  • Brings the artifact from ~1M files down to ~150k — the same size TechAPI Pages deploys successfully.

No engine/runtime code touched — deploy assembly only.

deploy-pages regenerates the full static dump (`python -m app.dump`) and
uploads it to GitHub Pages. Since the game category grew to ~962k records,
the artifact holds ~1M per-record files and the deploy step times out at
`Current status: syncing_files` / `Error: Timeout reached, aborting!`.

Mirror the TechAPI homepage workflow: after assembling `_site`, drop
`_site/v1/games` and remove `games` from `_site/v1/index.json`. Games stay
available as versioned data in the TechAPI repo; every other collection is
still published. This keeps the deploy within the Pages sync window.

(Latent since the ~1M import on 2026-07-12; only surfaced now that the
setup-python crash in #45 was fixed and the deploy step actually runs.)
@Seungpyo1007
Seungpyo1007 merged commit 2df57e2 into main Jul 16, 2026
1 check passed
@Seungpyo1007
Seungpyo1007 deleted the fix/pages-exclude-games-dump branch July 16, 2026 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant