Skip to content

Conversation

@tvalentyn
Copy link
Contributor

If user code raises a BaseException during processing, bundle will be marked as failed by the SDK but will not be reported as failed to the worker harness. To fix this, match the error handling catch clause in the outer method to the error handling close where bundle is marked failed:

except: # pylint: disable=broad-except

@tvalentyn
Copy link
Contributor Author

R: @robertwb

@github-actions
Copy link
Contributor

Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control

@tvalentyn
Copy link
Contributor Author

Run Python_Dataframes PreCommit

…er to a clause that marks the bundle as failed.
@tvalentyn tvalentyn force-pushed the sdk_report_all_errors branch from 2e7cd4c to ca2a267 Compare May 18, 2023 23:13
@tvalentyn tvalentyn requested a review from robertwb May 18, 2023 23:13
@codecov
Copy link

codecov bot commented May 18, 2023

Codecov Report

Merging #26777 (ca2a267) into master (dbefe4f) will decrease coverage by 0.08%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master   #26777      +/-   ##
==========================================
- Coverage   72.05%   71.97%   -0.08%     
==========================================
  Files         745      747       +2     
  Lines      101203   101306     +103     
==========================================
- Hits        72920    72916       -4     
- Misses      26824    26931     +107     
  Partials     1459     1459              
Flag Coverage Δ
python 80.95% <100.00%> (-0.13%) ⬇️

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

Impacted Files Coverage Δ
...ks/python/apache_beam/runners/worker/sdk_worker.py 89.20% <100.00%> (ø)

... and 11 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@robertwb robertwb left a comment

Choose a reason for hiding this comment

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

Thanks, looks good.

@tvalentyn tvalentyn merged commit 81fbedb into apache:master May 19, 2023
cushon pushed a commit to cushon/beam that referenced this pull request May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants