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

   ### Task Summary
   
   `CacheStatusUpdateEvent` is a websocket event the backend no longer sends. 
The frontend still subscribes to it.
   
   **Introduced by** #1328 (2021-09-08, "[Operator Caching Step 3] add operator 
cache backend new files and config changes"). The frontend handler came in 
#1327, the day before.
   
   **Usage removed by** #3111 (2024-11-26, "Update amber to depend on sub 
projects"). That PR deleted the `EditingTimeCompilationRequest` branch of 
`WorkflowWebsocketResource`, which ran the cache checker and called 
`sessionState.send(CacheStatusUpdateEvent(...))`. Nothing has constructed the 
event since.
   
   It has been dead for nearly two years. Several pieces remain:
   
   - the case class and its `@JsonSubTypes` registration;
   - protocol-spec entries;
   - the frontend interface and type-map entry;
   - a `subscribeToEvent("CacheStatusUpdateEvent")` handler in 
`OperatorReuseCacheStatusService`, which never fires, and its two tests.
   
   This is a pure deletion with no behaviour change: +3/−87 lines. The 
service's other subscription, which repaints the reuse-cache marker when an 
operator's reuse flag changes, is live and stays.
   
   ### 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]

Reply via email to