test(parity): add error-case and edge-semantics coverage#384
Merged
vieiralucas merged 1 commit intomainfrom Apr 14, 2026
Merged
test(parity): add error-case and edge-semantics coverage#384vieiralucas merged 1 commit intomainfrom
vieiralucas merged 1 commit intomainfrom
Conversation
Expands parity from 7 happy-path tests to 15 covering the drift-prone surfaces: error codes, conditional writes, filter policies, FIFO, multipart upload, and data-key generation. New tests: - sqs: nonexistent-queue error code, FIFO queue with content-based dedup and ordering assertions - sns: subscription filter policy (matching + non-matching publish, only matching delivered) - s3: get-object-nonexistent error code, 5MiB multipart upload round-trip with byte-identical assertion - dynamodb: Query with KeyConditionExpression (composite key + sort order), conditional PutItem with ConditionalCheckFailedException - kms: GenerateDataKey + decrypt round-trip - secretsmanager: get-nonexistent error code
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.
Summary
Expands parity from 7 happy-path tests to 15, focused on the drift-prone surfaces that real-AWS comparison actually catches: error codes, conditional writes, filter policies, FIFO ordering, multipart upload, data-key generation.
New tests
Local run against fakecloud: 15/15 pass. Weekly real-AWS run will pick them up automatically on the next scheduled or dispatched tick.
Test plan
Summary by cubic
Expands the parity test suite from 7 to 15 to lock in real-AWS error codes and edge-case semantics. Covers SQS, SNS, S3, DynamoDB, KMS, and Secrets Manager to reduce drift in high-risk paths.
get_queue_urlon missing queue, S3get_objecton missing key, Secrets Managerget_secret_valueon missing secret, DynamoDB conditionalPutItemfailure code.Queryon composite key with sort order, KMSGenerateDataKey+Decryptround-trip.Written for commit 665370a. Summary will update on new commits.