Skip to content

Conversation

@michaelmoore-s1
Copy link
Contributor

Reduces duplication and adds caching to speed up CI runs.

Changes

  • Created composite action for common setup steps (checkout + uv install + dependency caching)
  • Refactored Docker workflow to build image once and share via artifacts instead of rebuilding for each test
  • Consolidated 3 separate Docker mode test jobs into a single matrix job
  • Added uv dependency caching to all workflows

Benefits

  • Faster CI: Dependencies now cached across runs
  • Less waste: Docker image built once instead of 4+ times per run
  • Easier to maintain: Common setup logic in one place

- Add composite action for common setup (checkout + uv + caching)
- Refactor Docker tests to use matrix strategy and artifact sharing
- Add uv dependency caching across all workflows
- Preserve Docker build cache configuration
Composite action can't include checkout since workflows need to checkout first to access the action. Moved checkout steps back to individual workflows.
Add docker-compose override to use pre-built image artifact instead of triggering a build in the proxy test job.
- Increase retry attempts from 10/15/30 to 20/20/40
- Increase sleep intervals from 1-2s to 2-3s for more reliable health checks
- Add --retry-all-errors and better timeouts to curl commands
- Show curl errors for better debugging (removed 2>/dev/null)
- Give containers more time to become healthy before failing
@michaelmoore-s1 michaelmoore-s1 changed the title Optimize GitHub Actions workflows chore: Optimize GitHub Actions workflows Nov 9, 2025
@michaelmoore-s1 michaelmoore-s1 merged commit 5ba2c12 into main Nov 9, 2025
20 checks passed
@michaelmoore-s1 michaelmoore-s1 deleted the improve-github-actions branch November 9, 2025 19:08
@github-actions
Copy link

github-actions bot commented Nov 9, 2025

AI Analysis

Here are some suggestions to consider:

  • Keep the new composite action and Docker image artifact flow as-is; I didn't spot any high-impact issues and this should make CI runs noticeably smoother. Great work!

These suggestions are generated by gpt-5-codex as an experimental capability. It may make mistakes. You do not need to follow all these suggestions.

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