hutiefang76 opened a new pull request, #1388:
URL: https://github.com/apache/arrow-java/pull/1388

   ## What's Changed
   
   When a server middleware factory rejects a call with a 
`FlightRuntimeException`, the interceptor closes the RPC with empty trailers. 
The client receives the status but loses any custom error metadata. Preserve 
those trailers through the existing Flight-to-gRPC exception conversion, 
without changing the status conversion or adding public API.
   
   Add real client/server regressions for the status, description, ASCII and 
binary metadata, and rejection before the producer is invoked. A control covers 
rejection without custom metadata. The metadata regression fails on the 
unchanged implementation and passes with the fix.
   
   Validation on JDK 21, with the repository-pinned `testing` submodule 
initialized:
   - `mvn -B -ntp -Dmaven.gitcommitid.nativegit=true -pl flight/flight-core -am 
verify` passed, including the dependency modules.
   - Flight Core: 27 test classes, 148 cases, 17 skipped, no failures or 
errors. All 10 middleware cases and all 4 TLS cases passed without skips.
   - Spotless and Checkstyle passed. The native Git option handles the existing 
Git plugin's local worktree compatibility; no build configuration was changed.
   
   Closes #448.
   
   Maintainer note: please add the `bug-fix` label; my account cannot add 
labels to this repository. Remote CI and maintainer review remain pending.
   
   <sub>AI-generated PR description. Investigation, implementation and 
automated review assisted by Codex and DeepSeek.</sub>
   


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