GitHub user pltbkd added a comment to the discussion: [Feature] Sub-agent 
Resource for Flink Agents - Framework part

Thanks for the detailed input. If I got it right, you're suggesting we 
double-check the result we get back from reconcile, and have the framework (or 
something it ships) verify that the result really matches the request.

Right now durable execute only checks a completed result against the call 
identity it persisted itself. Reconcile has nothing like that: the framework 
can't see the arguments the reconciler captured or the request it built, so it 
just trusts whatever the reconciler returns.

Sub-agent execution is complex enough that I agree this kind of check is useful 
in some cases. But I'd rather keep it inside the reconciler than put it in the 
framework, which also matches how the framework works today. If this turns out 
to be a common need and we can find a general enough interface, we could add a 
component later for reconcilers to reuse. And if you have a real production 
scenario in mind, I'd be happy if you could share.

GitHub link: 
https://github.com/apache/flink-agents/discussions/909#discussioncomment-18151020

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to