Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Author
|
The Verify Signed Commit Authors check fails, but not because of what this PR changes. A cloud Claude Code session signed commit e73c6a9 with its own SSH key, which isn't in git fetch origin arv/docs-1.11-mutators
git checkout arv/docs-1.11-mutators
git commit --amend --no-edit -S
git push --force-with-lease origin arv/docs-1.11-mutatorsGenerated by Claude Code |
Contributor
Author
|
Folded into #325, which has all the 1.11 docs and the release notes in one PR. This commit is there unchanged. Generated by Claude Code |
This branch was successfully deployed
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.
Documents three server mutator features from Zero 1.11. This is a draft until 1.11 ships.
Changes
contents/docs/mutators.mdx:#returning-dataanchor. Covers:dataon.clientand.server;datais typedReadonlyJSONValue;tx.retryOn(predicate). Covers:(error, attempt)and can be async;txcan't be used inside the predicate;Databasemust do.40001example is stated only for node-postgres and postgres.js. Drizzle wraps driver errors, and I didn't confirm Prisma's error shape.contents/docs/server-zql.mdx:isolationLevelfor each adapter (Drizzle, Kysely, Prisma, node-postgres, postgres.js). ForzeroNodePgit is the fourth argument. The section links toretryOn()for serialization failures.This was checked against the code at rocicorp/mono 22fa3c27e:
RetryPredicateinzql/src/mutate/custom.ts;MAX_MUTATOR_RUNSand mutation-result storage inzero-server/src/process-mutations.ts;TransactionOptionsand the adapter signatures, for examplezeroNodePg(schema, pg, lc, options)inadapters/pg.ts;MutatorResultDetailsinzero-client/src/client/custom.ts.Notes
assets/search-index.jsonis not regenerated, to avoid conflicts with the other 1.11 docs PRs. Regenerate it when merging.Checks
prettier --checkpasses, both pages compile as MDX, andvitest runpasses.🤖 Generated with Claude Code
https://claude.ai/code/session_01RRckJnCeGsYg9nCJSxBgTJ
Generated by Claude Code