wangzhigang1999 opened a new pull request, #7385:
URL: https://github.com/apache/kyuubi/pull/7385

   ## Summary
   
   Part 1 of 4 for the Data Agent Engine 
([umbrella](https://github.com/apache/kyuubi/issues/7379), 
[KPIP-7373](https://github.com/apache/kyuubi/discussions/7373)).
   
   New module `externals/kyuubi-data-agent-engine` with the engine fully 
runnable via Echo provider.
   
   - Module `pom.xml`, `build/dist` packaging
   - All `kyuubi.engine.data.agent.*` configuration entries
   - `DATA_AGENT` engine type, `EngineRef` branch, `DataAgentProcessBuilder` 
with API key redaction
   - Engine core: `DataAgentEngine`, `BackendService`, 
`TBinaryFrontendService`, `SessionManager/Impl`, `OperationManager`
   - `DataAgentOperation`, `ExecuteStatement` — async agent execution with 
event-to-JSON conversion
   - `IncrementalFetchIterator` — thread-safe producer/consumer streaming with 
compaction
   - Event system: `AgentEvent`, `EventType`, all lifecycle/content/tool events
   - `EchoProvider` — test provider that echoes input with proper event sequence
   
   ## Test plan
   
   - [x] `IncrementalFetchIteratorSuite` — basic ops, position tracking, 
concurrent producer/consumer safety
   - [x] `IncrementalFetchIteratorCompactionSuite` — compaction trigger, 
position correctness, fetchAbsolute after compaction
   - [x] `DataAgentOperationSuite` — JDBC round-trip with Echo provider, 
multiple queries in same session
   - [x] `EchoProviderTest` — event sequence validation and content echo
   - [x] `EventTest` — immutability, truncation, null handling, SSE name 
uniqueness
   - [x] `DataAgentProcessBuilderSuite` — main class, API key redaction, 
memory, classpath, java options


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

Reply via email to