fix: resolve flaky CLI tests and add GitHub Actions CI#297
Merged
RobinBlomberg merged 6 commits intoRobinBlomberg:masterfrom Feb 7, 2026
Merged
fix: resolve flaky CLI tests and add GitHub Actions CI#297RobinBlomberg merged 6 commits intoRobinBlomberg:masterfrom
RobinBlomberg merged 6 commits intoRobinBlomberg:masterfrom
Conversation
- Fix flaky tests by ensuring all test tables exist regardless of execution order - Modified cli.test.ts to use shared migrate() from fixtures - Tests now create all required tables (foo_bar, enum, partitioned_table) - Add GitHub Actions workflow for CI testing - Runs tests on push to master and pull requests - Uses wait-on for intelligent database readiness detection - Remove obsolete version attribute from docker-compose.yml - Add wait-on package for database health checking - Add docker:wait npm script for local convenience 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Use version from package.json packageManager field instead 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
GitHub Actions runners have docker compose (CLI plugin) not docker-compose (standalone tool) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
MySQL TCP port opens before DB is ready for connections. Add retry loop to wait for actual readiness. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Add healthchecks to docker-compose.yml for MySQL and Postgres - Use docker compose --wait flag to wait for services to be healthy - Simplifies CI workflow and ensures databases are fully ready - Updates docker:up script to include --wait flag MySQL healthcheck includes start_period to allow proper initialization time. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Owner
|
Works great! Thank you! ⭐ |
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.
🤖 Generated with Claude Code