Skip to content

Conversation

nacx
Copy link
Contributor

@nacx nacx commented Oct 10, 2025

What type of PR is this?

This PR adds the ability to notify async runner errors to the main control loop, so that they can be handled beyond just logging. This is especially useful in the standalone scenario, where one would want to terminate the process when certain errors occur, for example, if the local envoy proxy fails to start.

What this PR does / why we need it:

Which issue(s) this PR fixes:

This helps improve the overall standalone experience for the envoy AI Gateway: envoyproxy/ai-gateway#1304

Copy link

codecov bot commented Oct 10, 2025

Codecov Report

❌ Patch coverage is 45.12195% with 45 lines in your changes missing coverage. Please review.
✅ Project coverage is 71.02%. Comparing base (c68db79) to head (5f33360).

Files with missing lines Patch % Lines
internal/provider/file/file.go 40.00% 9 Missing ⚠️
internal/cmd/server.go 11.11% 8 Missing ⚠️
internal/provider/runner/runner.go 0.00% 8 Missing ⚠️
internal/infrastructure/manager.go 0.00% 7 Missing ⚠️
internal/gatewayapi/runner/runner.go 57.14% 3 Missing ⚠️
internal/infrastructure/runner/runner.go 0.00% 3 Missing ⚠️
internal/utils/test/errors.go 72.72% 2 Missing and 1 partial ⚠️
internal/infrastructure/host/infra.go 0.00% 2 Missing ⚠️
internal/globalratelimit/runner/runner.go 0.00% 1 Missing ⚠️
internal/message/errors.go 90.00% 1 Missing ⚠️

❌ Your patch check has failed because the patch coverage (45.12%) is below the target coverage (60.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7189      +/-   ##
==========================================
- Coverage   71.04%   71.02%   -0.02%     
==========================================
  Files         229      231       +2     
  Lines       41099    41144      +45     
==========================================
+ Hits        29198    29223      +25     
- Misses      10181    10201      +20     
  Partials     1720     1720              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@nacx nacx marked this pull request as ready for review October 10, 2025 10:32
@nacx nacx requested a review from a team as a code owner October 10, 2025 10:32
@nacx
Copy link
Contributor Author

nacx commented Oct 10, 2025

/retest

@nacx nacx force-pushed the termiante-errors branch from 366b26f to d8d0531 Compare October 11, 2025 09:40
@nacx
Copy link
Contributor Author

nacx commented Oct 14, 2025

/retest

Signed-off-by: Ignasi Barrera <[email protected]>
zhaohuabing
zhaohuabing previously approved these changes Oct 20, 2025
Copy link
Member

@zhaohuabing zhaohuabing left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@nacx
Copy link
Contributor Author

nacx commented Oct 22, 2025

/retest

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.

3 participants