Skip to content

fix: added check for podman compose inside startup checks#1266

Merged
lucaseduoli merged 10 commits into
release-0.4.1from
fix/podman_compose
Mar 27, 2026
Merged

fix: added check for podman compose inside startup checks#1266
lucaseduoli merged 10 commits into
release-0.4.1from
fix/podman_compose

Conversation

@lucaseduoli
Copy link
Copy Markdown
Collaborator

This pull request expands and improves support for Podman Compose in the startup checks utility. The main focus is to ensure environments using Podman have the necessary compose tooling available, whether as a built-in subcommand or a standalone binary, and to provide automated installation options for podman-compose across platforms.

The most important changes are:

Compose availability checks:

  • The compose_available() function now checks for both Docker Compose and Podman Compose, including the built-in podman compose subcommand and the standalone podman-compose binary. This ensures broader compatibility with different container runtimes and installation methods. [1] [2]

Podman Compose installation:

  • Added a new install_podman_compose() function that installs the standalone podman-compose binary if it is not present, supporting macOS (via Homebrew) and Linux/WSL (via pip3 or the system package manager). This function is robust to different environments and provides user prompts and error handling.

Startup check flow improvements:

  • Updated the run_startup_checks() function to always attempt installing podman-compose when Podman is the selected runtime, regardless of whether the built-in compose subcommand is available. This helps ensure all required dependencies are present for OpenRAG to function reliably with Podman.

@lucaseduoli lucaseduoli self-assigned this Mar 25, 2026
@github-actions github-actions Bot added backend 🔷 Issues related to backend services (OpenSearch, Langflow, APIs) bug 🔴 Something isn't working. labels Mar 25, 2026
@lucaseduoli lucaseduoli changed the base branch from release-0.4.0 to release-0.4.1 March 26, 2026 00:08
@github-actions github-actions Bot added bug 🔴 Something isn't working. and removed bug 🔴 Something isn't working. labels Mar 26, 2026
@mpawlow mpawlow self-requested a review March 26, 2026 13:47
Copy link
Copy Markdown
Collaborator

@mpawlow mpawlow left a comment

Choose a reason for hiding this comment

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

@lucaseduoli

Code Review 1

  • See PR comments: (a) to (e)
  • Note: Functional Review still pending

Comment thread src/tui/utils/startup_checks.py
Comment thread src/tui/utils/startup_checks.py
Comment thread src/tui/utils/startup_checks.py Outdated
Comment thread src/tui/utils/startup_checks.py Outdated
Comment thread src/tui/utils/startup_checks.py Outdated
@github-actions github-actions Bot added bug 🔴 Something isn't working. and removed bug 🔴 Something isn't working. labels Mar 26, 2026
Copy link
Copy Markdown
Collaborator

@mpawlow mpawlow left a comment

Choose a reason for hiding this comment

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

@lucaseduoli

Code Review 2

  • ✅ LGTM / Approved
  • See PR comments: (2a) to (2c)
    • New PR comments are all Minor severity
  • 🚧 Functional Review 1 is in progress...

Comment thread src/tui/utils/startup_checks.py
Comment thread src/tui/utils/startup_checks.py
Comment thread src/tui/utils/startup_checks.py
Comment thread src/tui/utils/startup_checks.py
Comment thread src/tui/utils/startup_checks.py Outdated
Copy link
Copy Markdown
Collaborator

@mpawlow mpawlow left a comment

Choose a reason for hiding this comment

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

Functional Review 1

  • ✅ LGTM / Approved
  • Successfully ran 3 sanity simulated tests on my VM:
    • Scenario A — Happy path: podman-compose already installed
    • Scenario B — Not installed, user declines
    • Scenario C — Full run_startup_checks() with podman as runtime

@github-actions github-actions Bot added the lgtm label Mar 26, 2026
@lucaseduoli lucaseduoli enabled auto-merge (squash) March 27, 2026 14:10
@github-actions github-actions Bot added bug 🔴 Something isn't working. and removed bug 🔴 Something isn't working. labels Mar 27, 2026
@lucaseduoli lucaseduoli merged commit b11ad58 into release-0.4.1 Mar 27, 2026
6 checks passed
@github-actions github-actions Bot deleted the fix/podman_compose branch March 27, 2026 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend 🔷 Issues related to backend services (OpenSearch, Langflow, APIs) bug 🔴 Something isn't working. lgtm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants