Skip to content

fix(storage): return guarded unpublish row - #1212

Merged
mdorman merged 2 commits into
mainfrom
issue-786-return-unpublished-post
Aug 27, 2026
Merged

fix(storage): return guarded unpublish row#1212
mdorman merged 2 commits into
mainfrom
issue-786-return-unpublished-post

Conversation

@mdorman

@mdorman mdorman commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Summary

  • make standalone unpublish atomically guard Post owner and live state
  • return the complete draft-state PostRecord from backend-parity UPDATE … RETURNING
  • remove web-layer pre-read and stale-record replay; derive feed events and SavedPost from the returned row

Verification

  • focused dual-backend unpublish lane after rebase
  • cargo xtask precommit
  • cargo xtask prepush
  • final Standards review: no findings
  • final Spec review: no findings

Closes #786

@mdorman
mdorman added this pull request to the merge queue Aug 27, 2026
Merged via the queue into main with commit 0d81d52 Aug 27, 2026
7 checks passed
@mdorman
mdorman deleted the issue-786-return-unpublished-post branch August 27, 2026 12:20
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.

storage: unpublish_post should return the PostRecord it wrote

1 participant