Add guarded bulk database replacement - #1993
Closed
RhysSullivan wants to merge 1 commit into
Closed
RhysSullivan wants to merge 1 commit into
RhysSullivan wants to merge 1 commit into
Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
executor-cloud | e3a46ff | Sep 15 2026, 01:17 AM |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
executor-marketing | e3a46ff | Commit Preview URL Branch Preview URL |
Sep 15 2026, 01:15 AM |
RhysSullivan
added this pull request to stack #1995
September 15, 2026 01:12
RhysSullivan
removed this pull request from stack #1995
September 15, 2026 01:13
RhysSullivan
added this pull request to stack #1996
September 15, 2026 01:13
Contributor
Cloudflare previewTorn down — the PR is closed. |
@executor-js/cli
@executor-js/config
@executor-js/execution
@executor-js/sdk
@executor-js/codemode-core
@executor-js/runtime-quickjs
@executor-js/plugin-file-secrets
@executor-js/plugin-graphql
@executor-js/plugin-keychain
@executor-js/plugin-mcp
@executor-js/plugin-onepassword
@executor-js/plugin-openapi
executor
commit: |
RhysSullivan
removed this pull request from stack #1996
September 15, 2026 01:17
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.
Catalog rebuilds need to replace rows only while they still own their rebuild claim. Add a guarded
replaceManyoperation to Fuma's Drizzle, Kysely, and memory adapters, with parameter-budgeted inserts.The operation checks the guard's affected-row count before deleting or inserting rows. Transactional adapters roll back a missed guard. Drivers that cannot report an affected-row count fail rather than assume ownership. Adapters without transactions retain the documented weaker cross-writer guarantee; the next layer validates catalog generations before serving them.
Validation: four focused guard tests and the Fuma typecheck passed. This layer contains no catalog schema or MCP changes.