Skip to content

CI Redis service has no health check #251

Description

@DeFiVC

Problem

In .github/workflows/ci.yml lines 47-48, the Redis service container lacks a health check. The test job may start before Redis is accepting connections.

Fix

Add a health check:

redis:
  image: redis:7
  ports:
    - 6379:6379
  options: >-
    --health-cmd "redis-cli ping"
    --health-interval 10s
    --health-timeout 5s
    --health-retries 5

Scope

  • .github/workflows/ci.yml -- add Redis health check

Acceptance Criteria

  1. Redis has a health check
  2. Tests wait for Redis to be ready
  3. CI is more reliable

Technical Context

  • .github/workflows/ci.yml:47-48 -- Redis service

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programbugSomething isn't workinglow

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions