Skip to content

parity(ses): fix all parity.md findings#2359

Merged
agbishop merged 3 commits into
mainfrom
polecat/amber/go-amxb2
Jun 25, 2026
Merged

parity(ses): fix all parity.md findings#2359
agbishop merged 3 commits into
mainfrom
polecat/amber/go-amxb2

Conversation

@agbishop

Copy link
Copy Markdown
Collaborator

SES (Classic) parity. Validated unit + scoped integration. GH006-safe PR.

🤖 Generated with Claude Code

…ability

- Handler.StartWorker: track janitor goroutine with cancel+done channel (was fire-and-forget)
- Handler.Shutdown: new method joins janitor goroutine; implements service.Shutdowner
- Compile assertions: var _ service.BackgroundWorker/Shutdowner = (*Handler)(nil)
- InMemoryBackend: add region/accountID fields initialized to config defaults
- WithRegion/WithAccountID: functional options for per-instance configuration
- Region()/AccountID(): return stored fields instead of hardcoded constants
- Error messages: "failed the check in region %s" uses strings.ToUpper(b.region)
  instead of hardcoded "US-EAST-1"
- backendSnapshot: persist region/accountID; Restore applies them with fallback
- parity_b_test.go: table tests for Shutdowner, idempotent StartWorker,
  GetSendQuota tracking, WithRegion/WithAccountID, region in error messages

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

Executed-By: gopherstack/polecats/amber
@agbishop agbishop enabled auto-merge (squash) June 25, 2026 10:21
@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: Thu, 25 Jun 2026 12:02:29 GMT

@agbishop agbishop merged commit bcd4ba7 into main Jun 25, 2026
25 checks passed
@agbishop agbishop deleted the polecat/amber/go-amxb2 branch June 25, 2026 12:13
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