apache / apache/flink-agents

[Tech Debt] Align Java and Python recovery model

Open
#1,016 6 comments 0 reactions 1 assignee Claimed by @da-daken View on GitHub
priority/major tech debt
Dominant language
Java
Stars
452
Forks
167
Avg merge
5d 9h
Merged PRs (30d)
49

Description

### Search before asking

- [x] I searched in the [issues](https://github.com/apache/flink-agents/issues) and found nothing similar.

### Description

Following the issues discovered in [#926](https://github.com/apache/flink-agents/pull/926), the tool recovery models for Java and Python are currently inconsistent:

- Java: ("tool-call", "")
- Python: (func_id, digest(args))

According to AGENT.md, the two languages need to maintain consistency. After unifying to a single recovery model, there is an upgrade cost to consider. During failure recovery, mismatches may occur, which could lead to re‑execution. This point may need to be documented or clarified somewhere.

### Are you willing to submit a PR?

- [x] I'm willing to submit a PR!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.