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

[#28126] plumb coder errors with better context. #28164

Merged
merged 5 commits into from
Aug 25, 2023

Conversation

lostluck
Copy link
Contributor

@lostluck lostluck commented Aug 25, 2023

Improve error handling around panics and length prefixing unknown coders.

There's more work to do on this, but this should assist in executing the Swift SDK on prism.

Partly handles #28126 and related to #28187.


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests
Go tests

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

@lostluck
Copy link
Contributor Author

The precommit Jenkins failure is due to
#28165

and the GA one is a flake in Log message guarantees WRT pipeline completion.

@codecov
Copy link

codecov bot commented Aug 25, 2023

Codecov Report

Merging #28164 (7c543da) into master (b2d1c60) will decrease coverage by 0.04%.
Report is 24 commits behind head on master.
The diff coverage is 46.96%.

@@            Coverage Diff             @@
##           master   #28164      +/-   ##
==========================================
- Coverage   72.32%   72.29%   -0.04%     
==========================================
  Files         678      678              
  Lines       99802    99839      +37     
==========================================
- Hits        72184    72179       -5     
- Misses      26054    26085      +31     
- Partials     1564     1575      +11     
Flag Coverage Δ
go 53.62% <46.96%> (-0.07%) ⬇️

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

Files Changed Coverage Δ
...am/runners/prism/internal/engine/elementmanager.go 80.91% <0.00%> (-1.14%) ⬇️
sdks/go/pkg/beam/runners/prism/internal/stage.go 83.24% <30.76%> (-1.08%) ⬇️
sdks/go/pkg/beam/runners/prism/internal/execute.go 89.25% <33.33%> (-1.51%) ⬇️
...go/pkg/beam/runners/prism/internal/handlerunner.go 84.00% <33.33%> (-2.31%) ⬇️
sdks/go/pkg/beam/runners/prism/internal/coders.go 87.97% <63.15%> (-4.08%) ⬇️
...o/pkg/beam/runners/prism/internal/worker/worker.go 48.37% <100.00%> (-2.99%) ⬇️

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

@github-actions
Copy link
Contributor

Assigning reviewers. If you would like to opt out of this review, comment assign to next reviewer:

R: @riteshghorse for label go.

Available commands:

  • stop reviewer notifications - opt out of the automated review tooling
  • remind me after tests pass - tag the comment author after tests pass
  • waiting on author - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)

The PR bot will only process comments in the main thread (not review comments).

Copy link
Contributor

@riteshghorse riteshghorse 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!

@lostluck
Copy link
Contributor Author

Run Go PreCommit

@lostluck
Copy link
Contributor Author

Run Go PreCommit

@lostluck lostluck merged commit db23583 into apache:master Aug 25, 2023
10 of 11 checks passed
zechenj18 pushed a commit to zechenj18/beam that referenced this pull request Aug 29, 2023
* [apache#28126] plumb coder errors with better context.

* Add hard clear checks for SDK error: no windows being encoded.

* parse log

* fix log line parsing

* fmt

---------

Co-authored-by: lostluck <13907733+lostluck@users.noreply.github.com>
lostluck added a commit to lostluck/beam that referenced this pull request Aug 30, 2023
* [apache#28126] plumb coder errors with better context.

* Add hard clear checks for SDK error: no windows being encoded.

* parse log

* fix log line parsing

* fmt

---------

Co-authored-by: lostluck <13907733+lostluck@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants