Repository navigation
docs: README v1.3 section + marketing version bump, with drift guard - #178
Merged
Merged
Conversation
No-release hygiene after the v1.1-v1.3 same-day releases: - README: banner points at v1.3; new "What's New in v1.3 - Streaming Contracts" section (matches the v1.1/v1.2 format). - landing/index.html status bar + footer, both OG SVGs, and the docs OG card badge bumped v1.2 -> v1.3; landing OG PNG re-rendered from the SVG (headless Chromium, 1200x630, font-faithful). Plus the fix for WHY these keep going stale (the served OG card sat at v0.20.1 for months): - scripts/sync_marketing_version.py binds every marketing version string to pyproject.toml. `--check` mode (now a CI lint step) fails the build on drift; write mode is wired into scripts/release.py so a release can't trip its own gate. - scripts/render_og_image.py: pinned headless-Chromium rasterizer for the OG PNG (kept out of the sync script to avoid CI font-fallback drift). - docs/CLAUDE.md documents the workflow. Claude-Session: https://claude.ai/code/session_01L1JWChKMs9yTyK92qquhJa
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No-release hygiene after the v1.1–v1.3 same-day releases (the docs site was current via #172, but README/landing/OG had drifted again).
Freshness
The actual fix for the recurring drift
scripts/sync_marketing_version.pybinds every marketing version string topyproject.toml.--check(added as a CI lint step) fails the build on drift — this is what would have caught the v0.20.1 card and every v1.x lag immediately. Write mode is wired intoscripts/release.pyso a release can't trip its own gate.scripts/render_og_image.py: pinned headless-Chromium rasterizer for the OG PNG. Deliberately kept out of the sync script so CI never re-renders with a different font stack.Verified:
sync_marketing_version.py --checkpasses clean; drift injection → exit 1 with a precise message; write mode fixes it. Scripts are ruff-clean + formatted; ci.yml validates. Nosrc//tests/changes.Note on test-count figures: the landing shows 7,788 (a local full-suite count). The suite grew to 7,944 collected; CI reports ~7,600 passing (
--extra dev, serve tests skipped). I left the number untouched this pass rather than guess — standardizing the count source is better folded into a follow-up (it's within noise either way).https://claude.ai/code/session_01L1JWChKMs9yTyK92qquhJa