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

fix review plugin and SDK error handling #548

Merged
merged 2 commits into from
Oct 30, 2024
Merged

Conversation

j-lanson
Copy link
Collaborator

Resolves #547 . Resolves #503 .

Separated into two commits - one fixes the rust SDK's handling of errors, the other updates the review plugin to run properly.

This commit addresses an outstanding bug in the plugin Rust SDK.
Previously, the SDK would print when an erorr occurred during
`handle_session()`, which executes a query, but it did not send an
"error" gRPC message to Hipcheck core, causing analysis to hang while
waiting for a message that would not come. This commit cleans up the
handling and logging of plugin-side internal errors.
@j-lanson j-lanson added type: bug Something isn't working product: hc Relates to the core "hc" binary product: rust-sdk Relates to the Rust plugin SDK labels Oct 30, 2024
@j-lanson j-lanson added this to the 3.8.0 milestone Oct 30, 2024
@j-lanson j-lanson self-assigned this Oct 30, 2024
@j-lanson j-lanson changed the title Jlanson/fix review plugin fix review plugin and SDK error handling Oct 30, 2024
@mchernicoff mchernicoff merged commit 186ca5d into main Oct 30, 2024
9 checks passed
@alilleybrinker alilleybrinker deleted the jlanson/fix-review-plugin branch November 5, 2024 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product: hc Relates to the core "hc" binary product: rust-sdk Relates to the Rust plugin SDK type: bug Something isn't working
Projects
Status: Done
2 participants