Skip to content

ci: add Presto healthcheck to docker-compose #39

Description

@dtsong

Problem

Presto service in docker-compose.yml (lines 93-105) has no healthcheck. The --wait flag returns immediately, meaning tests can hit Presto before the JVM coordinator finishes startup, causing flaky CI.

Fix

Add healthcheck using Presto's /v1/info endpoint:

healthcheck:
  test: ["CMD", "curl", "-f", "http://localhost:8080/v1/info"]
  interval: 10s
  timeout: 5s
  retries: 12
  start_period: 30s

Acceptance Criteria

  • Presto service has healthcheck in docker-compose.yml
  • make up-full waits for Presto to be ready before returning

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1-highHigh priority, next 2-4 weeksciCI/CD pipelinetriage

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions