Repository navigation
fix(posts): require an author to publish - #65
Open
rafalyovson wants to merge 1 commit into
Open
rafalyovson wants to merge 1 commit into
rafalyovson wants to merge 1 commit into
Conversation
Post 16 (Siri + Gemini) lost its authors and topics in a burst of saves on 2026-01-22 and stayed published for ten months with the JSON-LD author falling back to "Lyóvson Team". Payload now rejects publishing a post without an author; drafts may still leave it empty. Authors are a hasMany relationship stored in posts_rels, so no migration is needed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
Why
Post 16 (Siri + Gemini) lost its
authorsandtopicsrelationships in a burst of saves on 2026-01-22 and stayed published for ten months. Its JSON-LD author fell back to "Lyóvson Team", and it was missing from/rafaand/topics/tech. Rafa asked for authors to be required. Task: https://app.notion.com/p/41da881304bb81e791cfe98e68941b37Change
required: trueonposts.authors, plus regeneratedpayload-types.tsand a test fixture that now needsauthors.authorsis a hasMany relationship stored inposts_rels, so no column or migration changes.Checks
tsc --noEmit,pnpm lint,pnpm test,pnpm seo:checkand a production build (preview:experience:build) all pass.[1]and topics[4, 5]succeeds: Rafa Lyóvson; Tech and Business.Review
Independent
revieweragent (Opus) on4f0ec29..0134bfb: no findings. It confirmed:Note: post 16 itself is still unfixed in production. Restoring it is a separate production write.
REVIEW: PASS 0134bfb
🤖 Generated with Claude Code