Skip to content

Stamp DATA_VINTAGE from the tile build and add a scheduled refresh PR workflow#11

Merged
tylerpearson merged 1 commit into
mainfrom
advisor/008-data-refresh-automation
Jul 1, 2026
Merged

Stamp DATA_VINTAGE from the tile build and add a scheduled refresh PR workflow#11
tylerpearson merged 1 commit into
mainfrom
advisor/008-data-refresh-automation

Conversation

@tylerpearson

Copy link
Copy Markdown
Owner

Executes plans/008-automated-data-refresh.md. Advisor-reviewed: diff read, 30 pytest re-run, action pins independently verified against upstream (create-pull-request v8 = 5f6978f, tippecanoe 2.79.0).

  • pipeline/build_tiles.py now stamps DATA_VINTAGE into web/src/config.ts and web/index.html on every successful tile build (anchored regex, fails loudly if patterns drift); 5 new tests
  • .github/workflows/data-refresh.yml: monthly cron + workflow_dispatch, builds tippecanoe from a pinned tag, runs make data, and opens a human-reviewed PR only when the tile file actually changed. Never auto-merges.

Post-merge operator step: trigger one workflow_dispatch run to prove the loop end-to-end.

🤖 Generated with Claude Code

https://claude.ai/code/session_01HNxgKNjtfeKtxYvN34KbGs

… workflow

Adds stamp_vintage() to pipeline/build_tiles.py so a successful tippecanoe
build rewrites the DATA_VINTAGE constant in web/src/config.ts and its mirror
in web/index.html, replacing the hand-maintained comment. Adds a monthly
(+ workflow_dispatch) GitHub Actions workflow that runs the full pipeline and
opens a PR when the tiles change, so the maintainer always reviews a refresh
before it merges and deploys.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying ca-mvum with  Cloudflare Pages  Cloudflare Pages

Latest commit: c2cb892
Status:⚡️  Build in progress...

View logs

@tylerpearson tylerpearson merged commit 6ab718f into main Jul 1, 2026
2 of 3 checks passed
@tylerpearson tylerpearson deleted the advisor/008-data-refresh-automation branch July 1, 2026 22:23
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