Repository navigation
feat: parity batch 14 (DLM event policies, AppSync conflict handlers and Elasticsearch sources, Service Quotas enforcement, Spanner backups, Datastore index operations, Workflows connectors, Azure disk import) - #2548
Conversation
ModifySnapshotAttribute emits a snapshot-shared event, including the legacy attribute form, and DLM event-based policies copy the snapshot across regions with retention. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
CreateIndex and DeleteIndex run as long-running operations with wait and cancel; queries use READY indexes only. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
The interpreter records step entries served over REST. Executions log start and finish to Cloud Logging. Connectors cover Cloud Tasks, KMS, Logging, Cloud Build and Workflow Executions with operation polling. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
…erences, identity assignment restrictions Managed disks and snapshots import a fixed VHD from a page blob through a new seam to the blob service. Container groups take configuration from a profile revision. User-assigned identities enforce assignmentRestrictions and accept flexible federated credentials. Deleting a private-link target disconnects its endpoints; Event Grid resources are private-link targets. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
…unt; stricter VHD and URI checks The import probe requires the storage account to exist and asks the blob service to authorize the read, so a SAS or public container is needed and private blobs are not disclosed. Source URIs with userinfo, dot segments or foreign path-style hosts are refused. The VHD footer must carry the fixed disk fields and a size aligned to 1 MiB. ReadTail clamps its length. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
…nd Datastore operation consistency The interpreter stops emitting step events and variable snapshots once the recording caps are reached. Connectors that Workflows does not offer are removed. An unknown stepEntries view is rejected. A DLM copy finishing after its policy was deleted is not tracked. ModifySnapshotAttribute validates the legacy OperationType. Restored index operations report FAILED metadata. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
…ayouts, Elasticsearch data sources Versioned DynamoDB data sources honour SyncConfig with the documented merge rules and the Lambda RESOLVE, REJECT and REMOVE contract. Elasticsearch endpoints are served by the OpenSearch engine. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
…d into the printed schema Backups capture rows at version_time, persist across snapshots and restore through an optimize operation. GetDatabaseDdl prints the schema after ALTER, GRANT and REVOKE statements are applied. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
… untagged resources, CodeBuild source auth Service Quotas reports usage and can enforce applied limits for RDS, CloudFormation and load balancers. Resource Explorer lists ECS, RDS, IAM, CloudWatch Logs, CloudFormation and load balancer resources whether or not they are tagged. CodeBuild validates and resolves source auth through Secrets Manager and CodeConnections. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
…ync Elasticsearch mirror Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
…e and replica paths honour limits, Resource Explorer dedupe, CodeBuild imported ARN credentials Usage sources no longer run under the Service Quotas lock, which could deadlock against CloudFormation provisioning with enforcement on. Read replicas and restores count against the RDS limits. A tagged resource is no longer returned again as untagged. CodeBuild resolves imported Secrets Manager and CodeConnections credentials and checks their account and Region. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
…, mirror lifecycle; Spanner backup capture bound and GRANT grammar Clients can no longer write _version, _ttl, _lastChangedAt or _deleted. Lambda conflict handler payloads and resolved items are bounded and the handler ARN is validated. Elasticsearch mirrors are removed with their domain or last data source. Spanner backups stop capturing at the size cap, and GRANT accepts the schema and ALL-objects forms from the reference. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
Same-named Elasticsearch domains in different regions shared one engine domain and replaced each other's data. Mirrors are now named per account and region, and a user's own OpenSearch domain is never reused. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
…on on stop Cancelling a session only closed the backend connection. When the backend had already ended cleanly, the proxy kept waiting on a read from a silent client, so Close and Reset waited out their full bound and left the session goroutines behind. The hijacked client connection is now closed when the session context ends. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
|
Important Review skippedToo many files! This PR contains 218 files, which is 118 over the limit of 100. To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch. Upgrade to a paid plan to raise the limit. CodeRabbit couldn't verify your organization's usage billing state, so no usage-priced review was started. Retry after the billing service recovers.
|
There was a problem hiding this comment.
Devin Review found 4 potential issues.
11 flags not posted on this PR by your GitHub settings — view them in Devin Review. (Configure)
| return out | ||
| } | ||
|
|
||
| infos := encryptionInfo(b.keyChecker(), r.enc) |
There was a problem hiding this comment.
🔴 Encrypted backups deadlock Spanner
When a customer-managed backup finishes, backupView deadlocks while loading the key checker. The caller holds the write lock that keyChecker tries to read-lock. The backup never completes, and other Spanner requests block.
Learn more
The backup view clones the stored backup and looks up encryption metadata. finishBackup, finishCopy, and UpdateBackup call it while holding the backend write lock. For customer-managed encryption, keyChecker tries to acquire a read lock on that same mutex. Get and list also call the helper under a read lock, which is unsafe when a writer is queued.
Example: A customer creates a backup using a valid KMS key. Row capture succeeds, but the operation stalls before publishing its result and later requests cannot acquire the backend lock.
Recommended fix: Clone backup state and capture the key checker under the caller's lock, then release the lock before expanding encryption information. Add an end-to-end test that completes and reads an encrypted backup.
Was this helpful? React with 👍 or 👎 to provide feedback.
| if vars { | ||
| ev.Vars = sc.snapshot() | ||
| } |
There was a problem hiding this comment.
🔴 Parallel workflow history can crash server
With detailed history enabled, loggedStep snapshots shared variables while another parallel branch assigns them. doAssign locks writes, but the snapshot reads those maps unlocked. Concurrent map access can terminate the server.
Learn more
hostFor enables variable snapshots for detailed execution history. doParallel gives each branch a local scope that points to the same parent scope. scope.set writes a shared variable into its owning scope, which can be that parent. The exit snapshot walks both scopes without taking the lock used by doAssign.
Example: Two parallel branches repeatedly update a shared counter. One branch finishes a step and starts copying parent variables while the other assigns the next value. The Go runtime can terminate the process.
Recommended fix: Hold r.x.mu while taking the snapshot, release it before invoking StepLog, and add a race-enabled test with detailed history and parallel shared assignments.
| if vars { | |
| ev.Vars = sc.snapshot() | |
| } | |
| if vars { | |
| r.x.mu.Lock() | |
| ev.Vars = sc.snapshot() | |
| r.x.mu.Unlock() | |
| } |
Was this helpful? React with 👍 or 👎 to provide feedback.
| if od, err := bk.DescribeDomain(name); err == nil { | ||
| if tags, _ := bk.ListTags(od.ARN); tags[esMirrorTag] == mirrorStamp(d) { | ||
| _ = bk.DeleteDomainNow(name) | ||
| } |
There was a problem hiding this comment.
🔴 Data source deletion erases search indexes
Deleting the last AppSync data source calls ReleaseOpenSearch while its Elasticsearch domain still exists. removeDomainLocked deletes the backing indexes, so reconnecting the same domain returns no documents.
Learn more
ensureEngineDomain provisions the OpenSearch domain that actually stores documents for the Elasticsearch endpoint. DeleteDataSource releases that domain when no AppSync configuration references it. DeleteDomainNow cascades through removeDomainLocked, deleting the indexes. The original Elasticsearch resource stays live, but the next request recreates an empty backing domain.
Example: Index a document through an AppSync resolver, detach the resolver, and replace its data source. A new resolver pointed at the same Elasticsearch endpoint can no longer find the document.
Recommended fix: Tie the backing index lifetime to the Elasticsearch domain generation, not to AppSync data-source references. Add a regression test that deletes and recreates a data source while the domain stays live.
Was this helpful? React with 👍 or 👎 to provide feedback.
| if req.token, req.username, err = r.resolveSourceAuth(ctx, src); err != nil { | ||
| return err | ||
| } |
There was a problem hiding this comment.
🟥 CodeBuild tokens sent to unverified hosts
In Docker mode, fetchGitSource forwards a usable source secret to the configured Git host. secretSourceCredentials checks account, region, and server type, but never verifies the host. A repository operator can receive the token.
Was this helpful? React with 👍 or 👎 to provide feedback.
…orted types Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
📊 Code Coverage Report
📄 Impacted Files Breakdown
Tip This project maintains a minimum coverage threshold of 85%. Maintain or improve coverage on new code to ensure long-term stability. Last updated: Sat, 21 Nov 2026 19:06:51 GMT |
Summary
Closes open parity items across eleven services. Every feature commit was followed by an independent review pass; the review fixes are separate commits.
AWS
ModifySnapshotAttributeform the trigger depends on. Open list is now empty.AUTOMERGEandLAMBDAconflict handlers; Elasticsearch data sources backed by a mirror scoped per account and region.--enforce-service-quotas.Azure
Importreads the source blob through a seam between the ARM and blob services.GCP
ALTERandGRANTfolded into the printed schema.Still open after this change
AppSync 2 (introspection models, delta sort key order), Datastore 1, Workflows 2, Spanner 1, Service Quotas 2, Resource Explorer 1.
Test plan
go build ./...,go vet ./...(pluse2eandintegrationtags),go fix -diffempty./dashboard/...with-race -shuffle on -short./internal/appwith-race -shuffle on -short, leak suitegolangci-linton touched packages,./internal/app/...,./dashboard/...,./test/guards/...desktopmodule tidy and build🤖 Generated with Claude Code
https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY