Skip to content

Fix redis-cli command not found error#2

Merged
bloboss merged 2 commits into
mainfrom
claude/fix-redis-cli-not-found-01CPhNXDL8tgzNu39xhKAJCH
Nov 15, 2025
Merged

Fix redis-cli command not found error#2
bloboss merged 2 commits into
mainfrom
claude/fix-redis-cli-not-found-01CPhNXDL8tgzNu39xhKAJCH

Conversation

@bloboss

@bloboss bloboss commented Nov 15, 2025

Copy link
Copy Markdown
Owner

No description provided.

The workflow was failing because redis-cli is not installed on GitHub
Actions runners (Ubuntu host). The manual health check was redundant
since service containers already have built-in health checks configured.

Problem:
- Line 88 in .github/workflows/test.yml tried to run redis-cli on host
- redis-cli only exists inside the Redis container, not on the runner
- This caused "command not found" errors in CI/CD pipeline

Solution:
- Removed manual redis-cli ping check from setup step
- GitHub Actions automatically waits for service health checks
- Redis service has --health-cmd "redis-cli ping" configured
- No behavioral change - Redis is still verified before tests

Other redis-cli usage verified as correct:
- docker-compose.test.yml: Health check runs inside container ✅
- Makefile: Uses docker-compose exec to run inside container ✅

Fixes CI/CD pipeline failures related to missing redis-cli command.
@bloboss bloboss merged commit e80aa3d into main Nov 15, 2025
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