Skip to content
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

Fail startup with root-cause exception #156

Merged
merged 3 commits into from
Oct 9, 2024
Merged

Conversation

njhill
Copy link
Contributor

@njhill njhill commented Oct 5, 2024

If the gRPC server startup fails, the http server task can also fail for some other reason when cancelled. The current logic looks for an arbitrary failed task after this and raises an exception based on that.

We want to do this based on the root cause exception not the secondary one from the other task's cancellation. So that the root cause is not lost.

If the gRPC server startup fails, the http server task can also fail for some other reason when cancelled. The current logic looks for an arbitrary failed task after this and raises an exception based on that.

We want to do this based on the root cause exception not the secondary one from the other task's cancellation. So that the root cause is not lost.
@njhill njhill requested a review from dtrifiro October 5, 2024 00:44
@codecov-commenter
Copy link

codecov-commenter commented Oct 5, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 6 lines in your changes missing coverage. Please review.

Project coverage is 58.40%. Comparing base (9fc458a) to head (4e57f05).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/vllm_tgis_adapter/__main__.py 20.00% 3 Missing and 1 partial ⚠️
src/vllm_tgis_adapter/utils.py 71.42% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #156      +/-   ##
==========================================
+ Coverage   58.35%   58.40%   +0.05%     
==========================================
  Files          27       27              
  Lines        1616     1618       +2     
  Branches      206      207       +1     
==========================================
+ Hits          943      945       +2     
  Misses        581      581              
  Partials       92       92              

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

@dtrifiro
Copy link
Contributor

dtrifiro commented Oct 9, 2024

Can you solve the merge conflicts?

# Conflicts:
#	src/vllm_tgis_adapter/utils.py
@njhill
Copy link
Contributor Author

njhill commented Oct 9, 2024

@dtrifiro now resolved!

@dtrifiro dtrifiro added this pull request to the merge queue Oct 9, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Oct 9, 2024
@dtrifiro dtrifiro added this pull request to the merge queue Oct 9, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Oct 9, 2024
@dtrifiro dtrifiro merged commit a3620be into main Oct 9, 2024
3 checks passed
@dtrifiro dtrifiro deleted the root-cause-exception branch October 9, 2024 15:16
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