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

[ZEPPELIN-6145] Remove useless message type in Terminal Interpreter #4894

Merged
merged 2 commits into from
Nov 13, 2024

Conversation

seung-00
Copy link
Contributor

@seung-00 seung-00 commented Nov 4, 2024

What is this PR for?

This PR removes TERMINAL_INIT to simplify the code. TERMINAL_INIT, one of the WebSocket message types in the terminal interpreter, looks unused and redundant with TERMINAL_READY

What type of PR is it?

Refactoring

Todos

What is the Jira issue?

https://issues.apache.org/jira/browse/ZEPPELIN-6145

How should this be tested?

  • Execute terminal interpreter

Screenshots (if appropriate)

Questions:

  • Does the license files need to update? No
  • Is there breaking changes for older versions? No
  • Does this needs documentation? No

@Reamer
Copy link
Contributor

Reamer commented Nov 5, 2024

I cannot evaluate this change. Who can carry out a review here?

Copy link
Contributor

@tbonelee tbonelee left a comment

Choose a reason for hiding this comment

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

It looks like the client hasn't been sending TERMINAL_INIT, so this change shouldn't affect anything.
I also tested it locally, and it worked correctly.

Copy link
Contributor

Choose a reason for hiding this comment

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

Could you remove commented method call for app.onTerminalInit() in the file for clarity?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

@tbonelee tbonelee left a comment

Choose a reason for hiding this comment

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

LGTM

@Reamer Reamer merged commit 0a7f861 into apache:master Nov 13, 2024
17 checks passed
asfgit pushed a commit that referenced this pull request Nov 13, 2024
### What is this PR for?
This PR removes `TERMINAL_INIT` to simplify the code. `TERMINAL_INIT`, one of the WebSocket message types in the terminal interpreter, looks unused and redundant with `TERMINAL_READY`

### What type of PR is it?
Refactoring

### Todos

### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-6145

### How should this be tested?
* Execute terminal interpreter

### Screenshots (if appropriate)

### Questions:
* Does the license files need to update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No

Closes #4894 from seung-00/ZEPPELIN-6145.

Signed-off-by: Philipp Dallig <[email protected]>
(cherry picked from commit 0a7f861)
Signed-off-by: Philipp Dallig <[email protected]>
@Reamer
Copy link
Contributor

Reamer commented Nov 13, 2024

Merged into master/branch-0.12

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.

4 participants