Protect legacy queue revisions and add fail-closed canary controls - #9
Merged
OneClickPostFactory merged 5 commits intoSep 9, 2026
Conversation
OneClickPostFactory
marked this pull request as ready for review
September 9, 2026 11:53
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.
Purpose
Complete the Worker side of the schema-first reliability rollout after production received the required claim, publication-ledger, and legacy-conflict safeguards.
Changes
unknownand block automatic resends.Duplicate-publication guarantee
This does not claim universal exactly-once delivery.
It guarantees that once an external dispatch may have happened, an ambiguous result cannot automatically authorise another dispatch.
The five historical conflicting queue identities are preserved under immutable holds. Their 11 rows cannot be edited, retried, released, scheduled, or assigned a publication intent.
Acceptance evidence
Exact Worker head:
263c2af33415538a6ea659ca7277e57425801de4live_posts=0.3a1f1473b21231643f9110d1a761bceb2fdd0d81./home/johnh/.local/state/oneclickpostfactory/persistent-staging/evidence/3a1f1473b21231643f9110d1a761bceb2fdd0d81.json.Production schema gate
Completed before this Worker merge:
20260907055000.supabase_migrations.schema_migrations.legacy-queue-revision-hold-v1.publication-legacy-queue-hold-v1.Rollout boundary
Merging this PR does not enable providers or send social posts.
The next phase is a provider-disabled, single-tenant canary with explicit observation before any provider activation or wider rollout.