moelhoussein opened a new pull request, #7755:
URL: https://github.com/apache/kyuubi/pull/7755
### Why are the changes needed?
When an engine application terminates, operations can fail with a generic
transport error even though Kyuubi already knows the application has stopped.
This patch reports the application details, interrupts pending RPCs, and
closes the session when the application state is `FAILED`, `KILLED`, or
`FINISHED`. Ambiguous states such as `NOT_FOUND` keep the existing
transport-error behavior.
### How was this patch tested?
```shell
build/mvn test -pl kyuubi-server -am -Dtest=none \
-DwildcardSuites=org.apache.kyuubi.operation.KyuubiOperationSuite
build/mvn test -pl kyuubi-server -am -Dtest=none \
-DwildcardSuites=org.apache.kyuubi.operation.KyuubiOperationPerConnectionSuite
```
Both suites passed: 2/2 and 15/15 tests.
Also ran `dev/reformat` and `git diff --check`.
### Was this patch assisted by generative AI tooling?
Assisted-by: Cursor with GPT-5.6 Sol
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]