fix(schema): allow spreadsheetEvents.operation row_delta to unblock prod Convex deploy#502
Closed
HomenShum wants to merge 1 commit into
Closed
fix(schema): allow spreadsheetEvents.operation row_delta to unblock prod Convex deploy#502HomenShum wants to merge 1 commit into
HomenShum wants to merge 1 commit into
Conversation
…rod Convex deploy Production Vercel deploys have errored since ~18:37 UTC: vercel-build.sh runs convex deploy, which fails schema validation — a spreadsheetEvents doc in shared prod has operation 'row_delta', not in the union. Root cause: PR #498's applyRowDelta feature (which DOES add this literal + emitting code + test) was run against shared prod Convex out-of-band before its schema change merged (the AGENT_COORDINATION out-of-band-write hazard). Every queued deploy since (incl. #496/#497/#500/#501/#499) is blocked, so nothing merged since 18:37 is live. Forward-port the exact literal #498 adds (v.literal('row_delta')) into main's union so prod data validates. Additive/expand pattern — non-destructive, reversible, no conflict when #498 merges (same line). Precedent: #477 'tolerate lastActivityAt'. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
P0 — production deploys broken since ~18:37 UTC
vercel-build.shrunsconvex deployon every production build. It has been failing schema validation:The live CDN is serving bytes from the last successful deploy (
Last-Modified 18:37, ~3.7h stale). Everything merged since 18:37 — #496, #497, #500 (host-write security), #501, #499 (type-scale) — is NOT live.Root cause
row_deltais a legitimate operation introduced by PR #498 (spreadsheets.ts applyRowDelta+ schema literal + test). That feature was run against shared prod Convex out-of-band (the AGENT_COORDINATION hazard), writing aspreadsheetEventsdoc withoperation: "row_delta"— but #498's schema addition never reachedmain, so main's validator rejects the doc and blocks all deploys.Fix
Forward-port the exact literal #498 adds:
v.literal("row_delta")into main's union. Additive / expand pattern — non-destructive, reversible, zero conflict when #498 merges (same line). Direct precedent: #477 'tolerate lastActivityAt'.Verification plan
Follow-ups (flagged, not in this PR)
convex dev/deploy against shared prod from a feature worktree.🤖 Generated with Claude Code