馃悰 Fix boot recovery for pending newsletters - #1
Draft
fmercurio wants to merge 2 commits into
Draft
Conversation
no ref Recover only recent, unmaterialized pending newsletters after an interrupted boot-time scheduling window while preserving the existing CAS-protected send path.
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.
Internal validation only
This draft PR exists only to run the fork's CI and support an isolated, no-egress staging smoke for the exact candidate SHA below. It is not an upstream pull request and must not be merged into the fork's
mainbranch as part of this validation.Candidate
e6915a2b66422fe03333e0573d173abd03fce980v6.57.0source base3a4688313f857e96a4a940dc5288074978360ea9Change
A narrowly bounded boot-time recovery path may requeue only recent, unmaterialized newsletters left
pendingbefore their in-memory batch job began. It preserves Ghost's existing transactional lock and never calls a provider directly.Local evidence
Safety boundary
submittingrecovery remains unchangedNo production, existing staging app, real SMTP/Mailgun provider, or recipient data is involved.