Skip to content

Conversation

@jdhoffa
Copy link
Collaborator

@jdhoffa jdhoffa commented Apr 9, 2025

Description

This PR adds a new GitHub Actions workflow that builds and tests all services in the Lucidata system. The workflow builds each service as a separate job and then performs a system test by spinning up all components together.

Changes

  • Added .github/workflows/build.yml that:
    • Configures triggers for pushes to main, PRs targeting main, and manual runs
    • Sets up separate build jobs for each service (api, llm_engine, query_runner)
    • Implements a system test job that starts all services together
    • Performs health checks on the running system
    • Ensures graceful shutdown of all components

Implementation Details

  • Each build job uses Docker Buildx with GitHub Actions caching for faster builds
  • Services are built with appropriate tags to be used in the system test
  • The system test includes a 30-second wait period to allow services to initialize
  • API health endpoint is checked to verify system functionality
  • Cleanup runs in an always step to ensure resources are properly released

Testing

  • The workflow has been tested to ensure all services build properly
  • System tests verify that the services can run together in an integrated environment

Additional Notes

This implementation provides automated verification that all components can be built and work together, which will help catch integration issues early.

@jdhoffa jdhoffa requested a review from Copilot April 9, 2025 10:32
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

@jdhoffa jdhoffa merged commit 7927d07 into main Apr 9, 2025
6 of 7 checks passed
@jdhoffa jdhoffa deleted the gh_actions_to_build branch April 9, 2025 11:21
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