Skip to content

Keep the observation date and the social card in step with the data - #94

Merged
jbspeakr merged 1 commit into
mainfrom
claude/project-thread-72xrf7
Nov 7, 2026
Merged

jbspeakr merged 1 commit into
mainfrom
claude/project-thread-72xrf7

Conversation

@jbspeakr

@jbspeakr jbspeakr commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator

Requested by Jan · project thread

What was going on

The home plate's "last observation" date was already read from data/observations/ at build time, and every merge to main redeploys. The live page shows 2026-11-03 today, which matches the newest observation (the scanner run merged in #90). A 2026-10-22 you may have seen is the fifth row of the Latest observations list (one row per server and requirement), or a cached copy of the page from before #90's deploy.

What did not follow the data was the social card (public/og.png): it draws the matrix but was only refreshed by hand with pnpm generate:brand.

Changes

  • lastObservationDate(data) in src/lib/atlas.ts is the one source of the date, used by the home plate and the social card, with a unit test.
  • The social card's foot now reads 39 servers × 23 requirements · last observation 2026-11-03, like the home plate.
  • deploy.yml restores Playwright's Chromium (same cache key as ci.yml) and runs pnpm generate:brand before pnpm build, so the published card always matches the deployed data with no extra commit. A unit test pins that order; every new step keeps the stale-commit gate.
  • public/og.png regenerated; docs/development.md notes the deploy step.

Not covered: the README pictures under docs/assets/readme/ still need pnpm generate:readme by hand, since GitHub serves them from the repository rather than the deployed site.

Checks

pnpm check passes locally.


Generated by Claude Code

The home plate's "last observation" date was already read from the data at
build time; it now comes from one helper, lastObservationDate, with a unit test.
The social card (public/og.png) draws the same matrix and now prints the same
date, and the deploy workflow regenerates it from the deployed data before
every build, so a merged observation PR updates both without a manual
`pnpm generate:brand`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0175HbpkBt7vwjM2ctcU5Xam
@jbspeakr jbspeakr self-assigned this Nov 6, 2026
@jbspeakr
jbspeakr merged commit 930c5f4 into main Nov 7, 2026
2 checks passed
@jbspeakr
jbspeakr deleted the claude/project-thread-72xrf7 branch November 7, 2026 17:16
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.

2 participants