Four places in our blog tooling, the digest, social, lesson and daily_backfill, now get a post’s URL id from one function, and that id carries no date.

One function for the URL id

The commit is titled “blog: URLs carry no date.” It adds blog/urls.py, whose url_id is the one place that turns a post file name into its URL id. The digest, social, lesson and daily_backfill code all use it. It pairs with a matching commit in the landing site’s repo.

The gate

The split-gate fell back to a full local run, and 16057 passed.

The work_date commit

The same day’s log has a second commit about dates, the work_date backfill provenance: 394 of 695 published posts sourced, plus a line in the Analyses index.

Why a redate can’t leave a dated URL

Because url_id is the one place that turns a post file name into a URL id, and all four paths use it, a redate can never leave a dated URL behind.