Yicong-Huang opened a new pull request, #5209:
URL: https://github.com/apache/texera/pull/5209

   ### What changes were proposed in this PR?
   
   Add six ScalaTest specs under `amber/src/test/scala/org/apache/texera/web/` 
covering pure-logic helpers that ship without direct unit coverage today.
   
   - `StateStoreSpec` — observable diff filter, multi-handler fan-out, 
registration-order delivery, Disposable removal, double-dispose tolerance.
   - `WorkflowStateStoreSpec` and `ExecutionStateStoreSpec` — default 
child-store identities and `getAllStores` enumeration order.
   - `SubscriptionManagerSpec` — bulk dispose semantics on the trait, including 
repeat-call no-op and post-clear reuse.
   - `WebsocketInputSpec` — type-discriminated request routing, `uidOpt` 
pass-through, callback-exception routing through `errorHandler`, and subscriber 
isolation across throwing callbacks.
   - `UserRoleAuthorizerSpec` — accept matching role, reject mismatching role, 
IAE on unknown / case-mismatched enum string (covers the surface that #5049 was 
meant to guard).
   
   ### Any related issues, documentation, discussions?
   
   Closes #5208.
   
   ### How was this PR tested?
   
   Added unit tests under `amber/src/test/scala/org/apache/texera/web/`.
   
   ### Was this PR authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Opus 4.7


-- 
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