Repository navigation
fix(lastcode): keep checkpoint migrations replayable - #95
Merged
lastobelus merged 1 commit intoAug 25, 2026
Merged
Conversation
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.
A nightly replay gave upstream and LastCode the same migration number, leaving checkpoint 1185 with a manifest that referenced missing renumbered files. The checkpoint smoke gate did not typecheck the server, so that invalid tree was published.
This reserves upstream migration 42 in LastCode source, shifts the LastCode migrations to 43-47, and adds an idempotent migration 48 bridge for databases that already recorded the old LastCode IDs. Projection upserts accept the two fields absent from pre-annotation events, while reads remain strict. The checkpoint smoke gate now runs the migration compatibility regression and typechecks the server before publication.
Validation:
Implemented with GPT-5.6 Codex in T3 Code.