benjaminle22 opened a new pull request, #5624: URL: https://github.com/apache/texera/pull/5624
### What changes were proposed in this PR? Expands the existing spec for `OperatorReuseCacheStatusService`, which previously only checked `should be created`. Adds behavior-focused tests covering both constructor subscriptions: the `CacheStatusUpdateEvent` websocket handler and the `getReuseCacheOperatorsChangedStream` handler. Tests verify that `JointUIService.changeOperatorReuseCacheStatus` is called correctly for each operator, that the `mainJointPaper` null guard is respected in both handlers, and that empty operator lists do not throw. ### Any related issues, documentation, discussions? Closes #5543 ### How was this PR tested? New tests run via `yarn test -- operator-reuse-cache-status` and `yarn lint`. 6 tests passing. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude (Claude Sonnet 4.6) -- 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]
