wenjin272 opened a new pull request, #392:
URL: https://github.com/apache/flink-agents/pull/392

   <!--
   * Thank you very much for contributing to Flink Agents.
   * Please add the relevant components in the PR title. E.g., [api], 
[runtime], [java], [python], [hotfix], etc.
   -->
   
   <!-- Please link the PR to the relevant issue(s). Hotfix doesn't need this. 
-->
   Linked issue: #344
   
   ### Purpose of change
   
   Currently, we create a new `RunnerContext` each time execute a new action, 
which cause the repeated creation for `AgentPlan`.
   In this pr, we support create a `RunnerContext` once, and reuse it across 
actions, only switch the action related context in `RunnerContext` before 
execute a new action.
   
   ### Tests
   
   Existed tests can verify this change.
   
   ### API
   
   No
   
   ### Documentation
   
   <!-- Do not remove this section. Check the proper box only. -->
   
   - [ ] `doc-needed` <!-- Your PR changes impact docs -->
   - [ ] `doc-not-needed` <!-- Your PR changes do not impact docs -->
   


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