Skip to content

fix(ci): start ollama server manually when systemd is unavailable#881

Merged
starpit merged 1 commit into
IBM:mainfrom
starpit:fix/ci-ollama-startup
Feb 18, 2026
Merged

fix(ci): start ollama server manually when systemd is unavailable#881
starpit merged 1 commit into
IBM:mainfrom
starpit:fix/ci-ollama-startup

Conversation

@starpit
Copy link
Copy Markdown
Member

@starpit starpit commented Feb 18, 2026

Summary

  • GHA runners don't always have systemd running, causing the ollama install script to silently fail to start the server
  • Added a check after install: if the API isn't already responding, start ollama serve manually in the background
  • The existing retry loop then handles waiting for readiness regardless of which path started the server

Test plan

  • Verify CI passes on Ubuntu runners (the affected platform)
  • Confirm macOS path is unaffected

🤖 Generated with Claude Code

GHA runners don't always have systemd running, so the ollama install
script silently fails to start the server. Start it manually if the
API isn't already responding after install.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Nick Mitchell <nickm@us.ibm.com>
@starpit starpit merged commit 72bcf7a into IBM:main Feb 18, 2026
36 checks passed
@starpit starpit deleted the fix/ci-ollama-startup branch February 18, 2026 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant