Skip to content

Remove dead WorkflowWorker.handleActorCommand method #6304

Description

@aglinxinyuan

Task Summary

Remove the dead handleActorCommand method from WorkflowWorker (amber/src/main/scala/org/apache/texera/amber/engine/architecture/worker/WorkflowWorker.scala).

It is a Receive whose body is a bare println(c), it is not wired into the actor's receive chain (receive = super.receive orElse handleDirectInvocation orElse handleTriggerClosure), and it has no callers. (The live, used handleActorCommand is a separate method on DPThread.) Removing it deletes a debug leftover and raises coverage by removal rather than cementing dead code with a test.

Raised by @mengw15 while reviewing #6289.

Task Type

  • Refactor / Cleanup
  • DevOps / Deployment / CI
  • Testing / QA
  • Documentation
  • Performance
  • Other

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Fields

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions