Skip to content

parity(dax): fix all parity.md findings#2363

Closed
agbishop wants to merge 6 commits into
mainfrom
polecat/amber/go-2juze
Closed

parity(dax): fix all parity.md findings#2363
agbishop wants to merge 6 commits into
mainfrom
polecat/amber/go-2juze

Conversation

@agbishop

Copy link
Copy Markdown
Collaborator

DAX parity. Validated unit + scoped integration. GH006-safe PR.

🤖 Generated with Claude Code

…ror mapping

- IncreaseReplicationFactor: guard used raw loop index i instead of
  offset j=i-existingCount, silently ignoring caller-supplied AZs
  when the cluster already had nodes
- RebootNode: empty NodeId returned ErrNodeNotFound; AWS returns
  InvalidParameterValue. Add recovery goroutine that restores node
  status to available after 1s, mirroring real DAX behaviour
- UpdateParameterGroup: did not mark dependent clusters pending-reboot
  or populate NodeIDsToReboot; now scans all clusters using the group
- writeBackendError: flattened every DynamoDB error to ValidationException;
  now maps ConditionalCheckFailed, ResourceNotFound, TransactionCanceled,
  TransactionConflict, and ProvisionedThroughputExceeded to their
  correct DAX error codes
- handleGetItem: decoded ConsistentRead from the wire but discarded it
  with _; now passes it through to the DynamoDB backend
- nameRef: O(n²) linear scan replaced with O(1) reverse map
- schemaFor: cache was never invalidated on table drop/recreate;
  now fetches live on every call for correctness

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Executed-By: gopherstack/polecats/amber
@agbishop agbishop enabled auto-merge (squash) June 25, 2026 14:00
@agbishop

agbishop commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator Author

📊 Code Coverage Report

Metric Value Status
Total Coverage 0.0%
82.4%
New Code Coverage N/A (0/0 stmts)

Tip

This project maintains a minimum coverage threshold of 85%. Maintain or improve coverage on new code to ensure long-term stability.


Last updated: Fri, 26 Jun 2026 00:04:26 GMT

agbishop and others added 5 commits June 25, 2026 09:40
…utes

GetQueueAttributes read q.messages, q.delayedCount, and q.inFlightMessages
without holding q.mu, while ReceiveMessage writes them under q.mu.Lock.
This caused a data race detected by -race in TestIntegration_Lambda_SQS_ESM.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@agbishop agbishop disabled auto-merge June 25, 2026 23:50
@agbishop

Copy link
Copy Markdown
Collaborator Author

Folded into parity-sweep #2342 (single accumulating PR per workflow)

@agbishop agbishop closed this Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant