Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
T
Tidal
  • Overview
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • PLN
  • Tidal
  • Repository

Switch branch/tag
  • Tidal
  • armada
  • tide-table
  • build_catalog_view.py
Find file
BlameHistoryPermalink
  • PLN (Algolia)'s avatar
    fix(catalog): rebuild view+generated catalogs, stop as_of freeze · f1fa4847
    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 view↔generated 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.
    PLN (Algolia) authored Sep 05, 2026
    f1fa4847
build_catalog_view.py 17.2 KB
EditWeb IDE
×

Replace build_catalog_view.py

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.