Skip to content

Fix:#58 Fail CI if Ollama model not found #62

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

Kdmeenaa
Copy link

@Kdmeenaa Kdmeenaa commented Jul 4, 2025

/claim #58
/issue : #58
Fixes #58

This ensures that if any model used in the Ollama integration tests is missing or not pulled correctly, the CI job will fail by scanning Ollama container logs for "model .* not found" errors. This prevents false-positive test passes when models are not actually running.

@@ -149,6 +149,12 @@ jobs:
golem-cli worker invoke test:llm/ollama-1 test5
golem-cli worker invoke test:llm/ollama-1 test6
golem-cli worker invoke test:llm/ollama-1 test7
- name:Fail CI if "model not found" errors exist
run: |
Copy link
Contributor

Choose a reason for hiding this comment

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

Better to check the output the worker invokes and fail the step immediately

@mschuwalow
Copy link
Contributor

Closing as the issue is fixed, thank you for your work though!

@mschuwalow mschuwalow closed this Jul 18, 2025
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.

BUG: Ollama test suite in CI is a false positive. It succeeds even though the tests don't run to completion
2 participants