Skip to content

Name the reason each provider failed when all of them fail - #92

Merged
tonythethompson merged 1 commit into
followup/exit3-wordingfrom
followup/provider-failure-reason
Dec 2, 2026
Merged

tonythethompson merged 1 commit into
followup/exit3-wordingfrom
followup/provider-failure-reason

Conversation

@tonythethompson

@tonythethompson tonythethompson commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Refs #73 (stack 3 of 5, base followup/exit3-wording).

Without --require-provider, an exception from a provider's run is caught and the provider moves on. When every provider failed, the error named the providers and dropped the reasons, so the real exception text never reached the user. The reason was already in the fallback chain.

The message now lists each provider with its reason, from one helper shared by the run and session-open paths. The first part of the text is unchanged.

🤖 Generated with Claude Code

View guided diff Turn on auto-fix

@amazon-q-developer

Copy link
Copy Markdown
Contributor

Warning

Amazon Q Developer for GitHub: end of support

On January 30, 2027, AWS will discontinue support for the Amazon Q Developer for GitHub App. New app installations will no longer be available starting November 18, 2026.

For capabilities similar to the Amazon Q Developer for GitHub App, explore Kiro and the Kiro GitHub App. For more information about the end of support, see Amazon Q Developer end-of-support announcement on the AWS DevOps Blog.

@coderabbitai

coderabbitai Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 59 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 792d8a95-c518-4c92-af36-178d5717f202
Commits

Reviewing files that changed from the base of the PR and between ced1abc and 1896cdf.

Files selected for processing: 2

  • src/LinML.Session/InferencePipeline.cs
  • tests/LinML.Cli.Tests/AllProvidersFailedTests.cs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-02T05:53:27.530577Z 53f71fc PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@amazon-q-developer amazon-q-developer Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The changes are well-scoped and correct. The two inline string.Join expressions that only listed provider names were replaced with a shared AllProvidersFailedMessage helper that includes each provider's failure reason from the fallback chain. Both the Execute and OpenSession paths now consistently surface the actual exception text to the user.

No logic errors, security issues, or crash risks found. The new test covers the expected output format. Ready to merge.


You can now have the agent implement changes and create commits directly on your pull request's source branch. Simply comment with /q followed by your request in natural language to ask the agent to make changes.

@kilo-code-bot

kilo-code-bot Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (2 files)
  • docs/compatibility.md
  • verification/model-zoo/README.md
Previous Review Summaries (2 snapshots, latest commit e18918c)

Current summary above is authoritative. Previous snapshots are kept for context only.

Previous review (commit e18918c)

Status: No Issues Found | Recommendation: Merge

Files Reviewed (2 files)
  • src/LinML.Session/InferencePipeline.cs
  • tests/LinML.Cli.Tests/AllProvidersFailedTests.cs

Previous review (commit 53f71fc)

Status: No Issues Found | Recommendation: Merge

Files Reviewed (2 files)
  • src/LinML.Session/InferencePipeline.cs
  • tests/LinML.Cli.Tests/AllProvidersFailedTests.cs

Reviewed by ernie-5.5-flash-preview:free · Input: 22.5K · Output: 2.8K · Cached: 137.5K

@tonythethompson
tonythethompson added this pull request to stack #95 December 2, 2026 06:37
@tonythethompson
tonythethompson force-pushed the followup/provider-failure-reason branch from 53f71fc to e18918c Compare December 2, 2026 06:38
Without --require-provider, an exception thrown by a provider's run is
caught and the provider moves on. When every provider failed, the error
named the providers and dropped the reasons, so the real exception text
(for example an ORT message) never reached the user. The reason was in the
fallback chain the whole time.

The message now lists each provider with its reason, from one helper shared
by the run and session-open paths. The text of the first part is unchanged.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
@tonythethompson
tonythethompson force-pushed the followup/provider-failure-reason branch from e18918c to 1896cdf Compare December 2, 2026 09:13
@tonythethompson
tonythethompson merged commit e0c24c6 into main Dec 2, 2026
7 checks passed
@tonythethompson
tonythethompson deleted the followup/provider-failure-reason branch December 2, 2026 09:13
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.

1 participant