Repository navigation
Allow Dec 8 publication beside cancelled calendar placeholder - #95
Merged
Merged
Conversation
ow
marked this pull request as ready for review
November 19, 2026 22:32
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.
Problem and change
The Nov 19 production Cron discovered the official Dec 8, 17:30 council meeting (source 2399, eSCRIBE
a9d4b010-6031-4b91-b569-4ff05e542571) but held publication because cancelled Dec 7 meeting 411 is an unmatched annual-schedule placeholder within 14 days. The same guard blocks document reconciliation.Add a forward migration that excludes explicitly Cancelled placeholders from the nearby-date guard in
apply_calendar_syncandreconcile_calendar_source. Dec 7 remains a separate cancelled record; Dec 8 can get its own Planned meeting. Active and unknown-status placeholders still hold possible reschedules. Exact-date matching, established identities, duplicate protections and grants are unchanged. No existing row is updated by the migration.Validation
512dd8678f42d91a1df193c3ff473a1dde6929e9: CI, Web types.git diff --checkpasses. Migration lint and SQL contracts passed in CI.link_token_hash: string | null,dedicated_scope: boolean | null) using the standard generator/patch against production metadata with read-only sessions. Fresh main reproduced the identical stale-artifact diff. Existing local auth schema is older; this is a metadata-only refresh, with no auth behavior or schema changes. Exact diff and absence of existing secrets were verified before push; independent review found no issues.Release coordination — draft, do not merge yet
This is the only reopened Open Langford work. No production mutation, sync trigger, migration application or deployment has been performed for this PR.
20261119150000_cancelled_calendar_placeholder.sql; do not run manual Wrangler deployment.claim_calendar_sync('manual')lease andapply_calendar_syncwith exactly the freshly verified Dec 8 event in one short database transaction. The existing CLI--applyimports the full feed, so it is not the single-event path.created=1, updated=0, held=0, a distinct Planned public record linked to source 2399, and meeting 411 unchanged before commit. Roll back on any mismatch. This also updates the sync receipt and public-content-version trigger, not just the source/new meeting. After commit, reversal would need fresh dependency/content checks; it is not an unconditional delete. Never attach the GUID to meeting 411.