aglinxinyuan opened a new issue, #9303:
URL: https://github.com/apache/texera/issues/9303

   ### Task Summary
   
   In \mber/src/main/scala/org/apache/texera/web/model/websocket/\, several 
WebSocket request and response message case classes are defined across 
individual \.scala\ files:
   - \mber/src/main/scala/org/apache/texera/web/model/websocket/request/\:
     - \EditingTimeCompilationRequest.scala\
     - \ModifyLogicRequest.scala\
     - \ResultPaginationRequest.scala\
   - \mber/src/main/scala/org/apache/texera/web/model/websocket/response/\:
     - \ClusterStatusUpdateEvent.scala\
     - \HeartBeatResponse.scala\
     - \ModifyLogicResponse.scala\
     - \RegionUpdateEvent.scala\
   
   Each file contains an 18-line ASF copyright header and a short case class 
declaration extending either \TexeraWebSocketRequest\ or \TexeraWebSocketEvent\.
   
   Following the request consolidation in #9265, this task consolidates these 
case classes into their respective trait definition files:
   1. \EditingTimeCompilationRequest\, \ModifyLogicRequest\, and 
\ResultPaginationRequest\ into 
\mber/src/main/scala/org/apache/texera/web/model/websocket/request/TexeraWebSocketRequest.scala\.
   2. \HeartBeatResponse\, \ModifyLogicResponse\, \ClusterStatusUpdateEvent\, 
and \RegionUpdateEvent\ into 
\mber/src/main/scala/org/apache/texera/web/model/websocket/response/TexeraWebSocketResponse.scala\.
   
   This eliminates 6 redundant source files and duplicate boilerplate while 
preserving exact Jackson wire type mapping, package namespaces, and binary/API 
compatibility.
   
   ### Task Type
   
   - [x] Refactor / Cleanup
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

  • [I] Consolidate WebSock... aglinxinyuan (via GitHub) via notifications

Reply via email to