ci(pages): exclude game dump from Pages deploy (fixes syncing_files timeout) - #46
Merged
Merged
Conversation
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.)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
After #45 fixed the
setup-pythoncrash,deploy-pagesnow runs to completion — and fails at the deploy step:Root cause:
deploy-pagesregenerates the full static dump (python -m app.dump) and uploads it to GitHub Pages. Since thegamecategory grew to ~962k records (Wikidata + RAWG, 2026-07-12), the_siteartifact holds ~1M per-record files, which exceeds the fixed GitHub Pages deployment window — the sync never finishes.This was latent:
deploy-pageslast succeeded at #41 (before the big game import), then failed atsetup-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.No engine/runtime code touched — deploy assembly only.