Repository navigation
Propose inactive Sites publish evidence transactions - #136
Draft
sidneyswift wants to merge 3 commits into
Draft
sidneyswift wants to merge 3 commits into
sidneyswift wants to merge 3 commits into
Conversation
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
This was referenced Nov 17, 2026
19 tasks
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.
Inactive Sites evidence persistence proposal for #2094. Executable SQL remains under
proposals/sites-publish-evidence-2094/, outside migrations. Keep this PR draft and unmerged; no apply, runtime grants, schema exposure, retention activation or publication gate is authorized.One immutable private record table, one publication evidence pointer, create-once capture, scoped read and stored-candidate publication transactions. Current proposal adds a required expected artist ID to
publish_candidate, compared null-safely under its existing site row lock before publication writes. This closes the artist-ID race between the final API read and SQL while preserving current attribution; it does not authorize artist transitions. Capture/read signatures, assessment records and API canonical golden vectors are unchanged and remain compatible with API #1263. API #1265 supplies the companion unwired publication wrapper.Validation at
afd214aa73dfd70b0f2b860fce90c12ceb23f28b: 30 disposable Unix-socket tests on each PostgreSQL15.10/17.7 (29 proposal tests plus one inherited prerequisite test). The prior 27 tests remain; new tests cover stable/null artist matches, conflicting artist changes with unchanged publication fields, and publication waiting behind an artist writer then conflicting. Existing repository CI is separate from this proposal suite. General paid/Context/artist-access/fan-configuration/Workflow authority remains an API obligation and is not made atomic by this artist-ID fence. See PROTOCOL.md for legacy-writer, pointer-ABA, retention and release gates.