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

[Access] Handle script canceled and timeout errors #5036

Merged
merged 2 commits into from
Nov 20, 2023

Conversation

peterargue
Copy link
Contributor

Closes: #5030

Explicitly handle FVM errors for context cancelation and timeouts, and return the appropriate errors to the client.

@codecov-commenter
Copy link

codecov-commenter commented Nov 17, 2023

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (66cb9b6) 56.20% compared to head (b28e867) 56.76%.
Report is 27 commits behind head on master.

Files Patch % Lines
engine/access/rpc/backend/backend_scripts.go 83.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5036      +/-   ##
==========================================
+ Coverage   56.20%   56.76%   +0.56%     
==========================================
  Files         973      723     -250     
  Lines       90624    69158   -21466     
==========================================
- Hits        50938    39260   -11678     
+ Misses      35883    26844    -9039     
+ Partials     3803     3054     -749     
Flag Coverage Δ
unittests 56.76% <83.33%> (+0.56%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Co-authored-by: Gregor G. <75445744+sideninja@users.noreply.github.com>
@peterargue peterargue enabled auto-merge November 20, 2023 17:52
@peterargue peterargue added this pull request to the merge queue Nov 20, 2023
Merged via the queue into master with commit 6948717 Nov 20, 2023
54 checks passed
@peterargue peterargue deleted the petera/5030-handle-script-canceled-errors branch November 20, 2023 19:25
peterargue added a commit that referenced this pull request Nov 20, 2023
…ed-errors

[Access] Handle script canceled and timeout errors
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.

[Access] Handle context canceled and deadline exceeded errors in script execution response
6 participants