Add direct Ollama inference preflight and failure diagnostics - #52197
Merged
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix Ollama backend availability for BYOK test
Add direct Ollama inference preflight and failure diagnostics
Aug 12, 2026
pelikhan
marked this pull request as ready for review
August 12, 2026 01:46
Contributor
There was a problem hiding this comment.
Pull request overview
Adds Ollama inference preflight checks and post-agent diagnostics to the daily BYOK workflow.
Changes:
- Adds direct chat-completion validation.
- Captures Ollama process, model, and log diagnostics.
- Regenerates the compiled workflow.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/daily-byok-ollama-test.md |
Adds preflight inference and diagnostics. |
.github/workflows/daily-byok-ollama-test.lock.yml |
Regenerates the compiled workflow. |
Review details
Tip
Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 2/2 changed files
- Comments generated: 1
- Review effort level: Balanced
Comment on lines
+139
to
+140
| http://localhost:11434/v1/chat/completions \ | ||
| -d "{\"model\":\"${OLLAMA_MODEL}\",\"messages\":[{\"role\":\"user\",\"content\":\"Reply with one word confirming that inference works.\"}],\"stream\":false}")"; then |
Contributor
|
🎉 This pull request is included in a new release. Release: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Ollama warm-up and readiness probes succeeded, but inference through AWF returned proxy-generated HTTP 503 responses. Existing checks did not exercise the OpenAI-compatible chat endpoint or preserve post-failure server diagnostics.
Preflight inference
/v1/chat/completionsdirectly before AWF starts.Failure diagnostics
Workflow output