Commit f1fa4847 by PLN (Algolia)

fix(catalog): rebuild view+generated catalogs, stop as_of freeze

catalog.generated.json was stale since 2026-06-23 (73 tracks / 23 gigs) and
missing opal-festival-2026 + cosmicfest-2026 entirely — it never got rebuilt
after catalog_view.json picked those gigs up on 2026-09-02. Re-ran the
pipeline (build_catalog_view.py then build_catalog.py):

  catalog_view.json:      81 tracks / 25 gigs / 63 takes (unchanged — was
                           already current, only as_of + minor EDA-coverage
                           deltas moved)
  catalog.generated.json: 73→81 tracks, 23→25 gigs, now carries both missing
                           2026 gigs, both validate clean against models.Catalog,
                           and track-id sets match viewgenerated exactly
                           (no silent drops either direction)

Root cause of the as_of staleness: build_catalog_view.py hardcoded
`AS_OF = "2026-06-06"` as a literal instead of stamping the actual build
date, so every regeneration since kept reporting the same frozen date no
matter when it ran. Now computed as `date.today().isoformat()`. Checked the
other suspected bug (a next/content/lives hardcoded path) — not present;
LIVES already points at .../www/content/lives without next/ since 6e51fff.
parent d81816a6
...@@ -44,7 +44,7 @@ REPO = HERE.parent.parent # …/Sound/Tidal ...@@ -44,7 +44,7 @@ REPO = HERE.parent.parent # …/Sound/Tidal
LIVES = Path("/home/pln/Work/Web/www/content/lives") # app hoisted out of next/ in 6e51fff LIVES = Path("/home/pln/Work/Web/www/content/lives") # app hoisted out of next/ in 6e51fff
TAKE_MAP = HERE / "take_gig_map.md" TAKE_MAP = HERE / "take_gig_map.md"
OUT = HERE / "catalog_view.json" OUT = HERE / "catalog_view.json"
AS_OF = "2026-06-06" AS_OF = date.today().isoformat() # stamp the actual build date, not a frozen literal
FUZZY_DAYS = 3 FUZZY_DAYS = 3
# ingredient `type`s that are not a loaded sound source # ingredient `type`s that are not a loaded sound source
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment