Skip to content

refactor: Add transaction support and fix multiple bugs (Claude Code experiment)#16

Merged
ATMackay merged 1 commit intomainfrom
feat/claude-experiment
Mar 17, 2026
Merged

refactor: Add transaction support and fix multiple bugs (Claude Code experiment)#16
ATMackay merged 1 commit intomainfrom
feat/claude-experiment

Conversation

@ATMackay
Copy link
Owner

  • Add database transaction support for atomic purchase operations
  • Fix recreate-schema flag reading from wrong config key
  • Fix SQL query to use proper parameter binding (WHERE key = ?)
  • Propagate context through promotions engine for better cancellation support
  • Improve error messages and wrap errors with %w for better error chains
  • Optimize SKU validation with pre-compiled regex
  • Fix variable naming (elapsed_micro -> elapsedMicro)
  • Simplify return statements and improve code clarity
  • Add error logging when response writing fails
  • Update Makefile target naming (generate-mocks -> mocks)

- Add database transaction support for atomic purchase operations
- Fix recreate-schema flag reading from wrong config key
- Fix SQL query to use proper parameter binding (WHERE key = ?)
- Propagate context through promotions engine for better cancellation support
- Improve error messages and wrap errors with %w for better error chains
- Optimize SKU validation with pre-compiled regex
- Fix variable naming (elapsed_micro -> elapsedMicro)
- Simplify return statements and improve code clarity
- Add error logging when response writing fails
- Update Makefile target naming (generate-mocks -> mocks)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@ATMackay ATMackay merged commit 026d3ec into main Mar 17, 2026
3 checks passed
@ATMackay ATMackay deleted the feat/claude-experiment branch March 17, 2026 12:15
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