Skip to content

Remove cloud debugger support#25960

Merged
Abacn merged 1 commit intoapache:masterfrom
Abacn:removedebugger
Apr 18, 2023
Merged

Remove cloud debugger support#25960
Abacn merged 1 commit intoapache:masterfrom
Abacn:removedebugger

Conversation

@Abacn
Copy link
Copy Markdown
Contributor

@Abacn Abacn commented Mar 23, 2023

Fixes #25959

  • Eliminated cloud-debugger api dependency

Please add a meaningful description for your change here


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.

Copy link
Copy Markdown
Contributor Author

@Abacn Abacn Mar 23, 2023

Choose a reason for hiding this comment

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

May main concern is that will removing this option affecting users to upgrade their running streaming pipeline to new version (even if they did not refer to related pipeline option)? Because for now DataflowPipelineOptions extends CloudDebuggerOptions.

CHANGES.md Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

2.47.0? we might need to wait for 2.48.0 or even 2.49.0

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

in this case removed milestone and adjusted priority.

Note that the service is scheduled to shutdown on May 31 which is between the release of 2.47.0 (end Apr) and 2.48.0 (mid June), which means it would be removed in no later than v2.48.0.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

My vote would be to release a couple versions where the option explicitly throws a nice error explaining why it no longer works. Regardless, I agree that specifying the specific release it will be removed in would be nice - I'd vote we say 2.48.0

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

2.47.0: add warning message about removing this from 2.48.0
2.48.0: remove it
Is this ok?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

SGTM

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 23, 2023

Codecov Report

Merging #25960 (f0b0af5) into master (80f1f6c) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #25960      +/-   ##
==========================================
- Coverage   81.07%   81.06%   -0.02%     
==========================================
  Files         469      469              
  Lines       67165    67165              
==========================================
- Hits        54453    54444       -9     
- Misses      12712    12721       +9     
Flag Coverage Δ
python 81.06% <ø> (-0.02%) ⬇️

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

see 11 files with indirect coverage changes

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

@github-actions
Copy link
Copy Markdown
Contributor

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

R: @damccorm for label build.

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
Copy Markdown
Contributor

@damccorm damccorm left a comment

Choose a reason for hiding this comment

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

Mostly LGTM, thanks - other than my comment in CHANGES.md, could you also please update the description to be part of #25959 instead of fixes #25959 - we want the issue to stay open until we fully remove support

CHANGES.md Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

My vote would be to release a couple versions where the option explicitly throws a nice error explaining why it no longer works. Regardless, I agree that specifying the specific release it will be removed in would be nice - I'd vote we say 2.48.0

@Abacn Abacn changed the title Remove cloud debugger support [Do not merge until 2.47.0cut] Remove cloud debugger support Mar 25, 2023
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 2, 2023

Reminder, please take a look at this pr: @damccorm

@damccorm
Copy link
Copy Markdown
Contributor

damccorm commented Apr 3, 2023

waiting on author

@Abacn Abacn changed the title [Do not merge until 2.47.0cut] Remove cloud debugger support Remove cloud debugger support Apr 17, 2023
* Remove cloud debugger pipeline option

* Eliminated cloud-debugger api dependency
@Abacn
Copy link
Copy Markdown
Contributor Author

Abacn commented Apr 18, 2023

R: @damccorm PTAL

@github-actions
Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
Contributor

@damccorm damccorm left a comment

Choose a reason for hiding this comment

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

LGTM

@Abacn
Copy link
Copy Markdown
Contributor Author

Abacn commented Apr 18, 2023

Run Java_GCP_IO_Direct PreCommit

@Abacn
Copy link
Copy Markdown
Contributor Author

Abacn commented Apr 18, 2023

Run Java_PVR_Flink_Batch PreCommit

@Abacn
Copy link
Copy Markdown
Contributor Author

Abacn commented Apr 18, 2023

Run Java_IOs_Direct PreCommit

@Abacn
Copy link
Copy Markdown
Contributor Author

Abacn commented Apr 18, 2023

Pending tests are passed not get updated to GitHub UI. PVR_Flink_Batch failure unrelated. Merging for now.

@Abacn Abacn merged commit 1c63a02 into apache:master Apr 18, 2023
@Abacn Abacn deleted the removedebugger branch April 18, 2023 20:44
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.

[Task]: Remove cloud debugger support in Java SDK

3 participants