-
Notifications
You must be signed in to change notification settings - Fork 5
feat(nextly): create a single's table and its registry row in one service #556
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
03e2b32
feat(nextly): add the single metadata service with intent-first ordering
mobeenabdullah 103c173
refactor(nextly): move the single companion reconcile out of the handler
mobeenabdullah c18d391
feat(nextly): create a single's table and its registry row in one ser…
mobeenabdullah 66792c4
test(nextly): prove a single create reaches the database on every dia…
mobeenabdullah 3ac67ce
chore: add changeset for the single create schema-change service
mobeenabdullah 54fda4c
refactor(nextly): name the create result concretely
mobeenabdullah cd86b7a
fix(nextly): let a builder migration be re-run after it stops half way
mobeenabdullah 0413573
chore: widen the changeset to the mysql retry fix
mobeenabdullah ba8bf38
perf(nextly): load the schema machinery on demand in the single metad…
mobeenabdullah 00dcc12
fix(nextly): type the singles metadata service into the service map
mobeenabdullah e0927b5
fix(nextly): reject a create before it is recorded, and check the tab…
mobeenabdullah 2881d63
fix(nextly): let a companion reconcile be re-run like the table besid…
mobeenabdullah ea49e6e
fix(nextly): verify a builder table matches before recording it applied
mobeenabdullah 2add12b
fix(nextly): resume a create whose outcome was never recorded
mobeenabdullah 7cd3325
fix(nextly): compare nullability when checking a repaired table
mobeenabdullah c75d556
fix(nextly): reject a repair that leaves stale columns or indexes behind
mobeenabdullah fa5865f
fix(nextly): adopt only a create that recorded its own failure
mobeenabdullah 093cf83
fix(nextly): check only what the builder and the descriptor agree on
mobeenabdullah 95948af
fix(nextly): claim a failed create atomically before retrying it
mobeenabdullah File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| --- | ||
| "nextly": patch | ||
| "create-nextly-app": patch | ||
| "@nextlyhq/admin": patch | ||
| "@nextlyhq/admin-css": patch | ||
| "@nextlyhq/blocks-engine": patch | ||
| "@nextlyhq/blocks-react": patch | ||
| "@nextlyhq/ui": patch | ||
| "@nextlyhq/adapter-drizzle": patch | ||
| "@nextlyhq/adapter-postgres": patch | ||
| "@nextlyhq/adapter-mysql": patch | ||
| "@nextlyhq/adapter-sqlite": patch | ||
| "@nextlyhq/storage-s3": patch | ||
| "@nextlyhq/storage-uploadthing": patch | ||
| "@nextlyhq/storage-vercel-blob": patch | ||
| "@nextlyhq/plugin-form-builder": patch | ||
| "@nextlyhq/plugin-page-builder": patch | ||
| "@nextlyhq/plugin-seo": patch | ||
| "@nextlyhq/plugin-sdk": patch | ||
| "@nextlyhq/eslint-config": patch | ||
| "@nextlyhq/prettier-config": patch | ||
| "@nextlyhq/telemetry": patch | ||
| "@nextlyhq/tsconfig": patch | ||
| --- | ||
|
|
||
| Creating a Single from the Schema Builder now writes its table and its registry row as one | ||
| operation, so an interrupted create leaves a record of what it was doing instead of a table nothing | ||
| knows about. | ||
|
|
||
| On MySQL, retrying any Schema Builder migration that stopped part way now succeeds instead of | ||
| reporting the already-correct schema as a failed migration. MySQL cannot express "create this index | ||
| only if it is missing", so the retry previously failed the same way every time and left no way | ||
| forward. |
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.