Skip to content

fix: replace Ollama curl installer with brew install to prevent CI failure - #19

Merged
bobbravo2 merged 2 commits into
copilot/add-ollama-installationfrom
copilot/fix-copilot-issue
Jul 28, 2026
Merged

fix: replace Ollama curl installer with brew install to prevent CI failure#19
bobbravo2 merged 2 commits into
copilot/add-ollama-installationfrom
copilot/fix-copilot-issue

Conversation

Copilot AI commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

The macOS E2E CI job was failing because the Ollama curl installer downloads a .app bundle and then calls open -a Ollama to launch it — which errors out on headless runners with Unable to find application named 'Ollama'.

Changes

  • install.sh: Replace curl -fsSL https://ollama.com/install.sh | sh with brew install ollama, which installs the CLI binary only and skips the GUI launch step
-  curl -fsSL https://ollama.com/install.sh | sh
+  brew install ollama

This keeps the script consistent with how every other tool is installed (via Homebrew) and eliminates the dependency on the external installer's macOS-specific launch behavior.

…aunch failure in CI

Co-authored-by: bobbravo2 <348865+bobbravo2@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix issue with Copilot integration fix: replace Ollama curl installer with brew install to prevent CI failure Jul 28, 2026
Copilot AI requested a review from bobbravo2 July 28, 2026 11:56
@bobbravo2
bobbravo2 marked this pull request as ready for review July 28, 2026 12:01

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 611299100d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread install.sh
if ! command -v ollama &>/dev/null; then
echo "🦙 Ollama not found. The work needs a local model stack. Installing..."
curl -fsSL https://ollama.com/install.sh | sh
brew install ollama

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Update the documented Ollama installation method

When users consult the install-method table, README.md:48 still directs them to the old curl ... | sh installer, which can reproduce the headless GUI-launch failure this change is intended to eliminate and contradicts the actual provisioning behavior. Update that row to show brew install ollama.

Useful? React with 👍 / 👎.

@bobbravo2
bobbravo2 merged commit 9410ce9 into copilot/add-ollama-installation Jul 28, 2026
2 checks passed
@bobbravo2
bobbravo2 deleted the copilot/fix-copilot-issue branch July 28, 2026 12:17
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