Skip to content

fix: make RDS initializer wait for DB readiness#18

Merged
HarshCasper merged 2 commits intomainfrom
fix/actions-23991599722-rds-init-retry
Apr 7, 2026
Merged

fix: make RDS initializer wait for DB readiness#18
HarshCasper merged 2 commits intomainfrom
fix/actions-23991599722-rds-init-retry

Conversation

@HarshCasper
Copy link
Copy Markdown
Member

@HarshCasper HarshCasper commented Apr 7, 2026

Summary

  • add bounded retry/backoff when the RDS init Lambda connects to MySQL
  • close the DB connection in a finally block after running the init SQL script
  • prevent transient startup races where init fails with ECONNREFUSED and tests run against an uninitialized schema

@HarshCasper HarshCasper requested a review from remotesynth April 7, 2026 09:10
@HarshCasper HarshCasper merged commit e7459ba into main Apr 7, 2026
1 check passed
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.

2 participants