Skip to content

Conversation

@ruanwenjun
Copy link
Member

@ruanwenjun ruanwenjun commented Dec 12, 2025

Purpose of the pull request

close #17780

Brief change log

  • Remove the log buffer in the ShellCommandExecutor, since the log framework already has a buffer, we don't need this.
  • Remove the loghandler, since we don't need this

Verify this pull request

Verify by ci

Pull Request Notice

Pull Request Notice

If your pull request contains incompatible change, you should also add it to docs/docs/en/guide/upgrade/incompatible.md

@ruanwenjun ruanwenjun added this to the 3.4.0 milestone Dec 12, 2025
@ruanwenjun ruanwenjun added the bug Something isn't working label Dec 12, 2025
String fileName = String.format("%s/%s_job.json",
taskExecutionContext.getExecutePath(),
taskExecutionContext.getTaskAppId());
String fileName = String.format("%s/%s_job.json", taskRequest.getExecutePath(), taskRequest.getTaskAppId());

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
TaskExecutionContext.getTaskAppId
should be avoided because it has been deprecated.
String fileName = String.format("%s/%s_job.json",
taskExecutionContext.getExecutePath(),
taskExecutionContext.getTaskAppId());
String fileName = String.format("%s/%s_job.json", taskRequest.getExecutePath(), taskRequest.getTaskAppId());

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
TaskExecutionContext.getTaskAppId
should be avoided because it has been deprecated.
String scriptFileName = String.format("%s/%s_node.sql", taskExecutionContext.getExecutePath(),
taskExecutionContext.getTaskAppId());
String scriptFileName = String.format("%s/%s_node.sql", taskRequest.getExecutePath(),
taskRequest.getTaskAppId());

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
TaskExecutionContext.getTaskAppId
should be avoided because it has been deprecated.
return String.format("%s/seatunnel_%s.%s", taskExecutionContext.getExecutePath(),
taskExecutionContext.getTaskAppId(), formatDetector());
return String.format("%s/seatunnel_%s.%s", taskRequest.getExecutePath(),
taskRequest.getTaskAppId(), formatDetector());

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
TaskExecutionContext.getTaskAppId
should be avoided because it has been deprecated.
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
40.5% Coverage on New Code (required ≥ 60%)

See analysis details on SonarQube Cloud

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.

[Bug] [TaskPlugin] Loss of logs in AbstractCommandExecutor#parseProcessOutput

1 participant