aws / aws/aws-durable-execution-sdk-java
[Bug]: fix behavior differences in local runner
- 主要语言
- Java
- 星标
- 28
- 派生
- 11
- 平均合并
- 1 天 8 小时
- 30 天内合并 PR
- 47
描述
### Expected Behavior
The behavior of generating responses and history events in local runner is same as the actual backend.
### Actual Behavior
The behavior of generating responses and history events in local runner is different from the actual backend.
For example,
- attempt always starts with 1 while in the real backend attempt starts with 0 in STARTED and 1 in the other statuses.
- attempt gets plus 1 when switching from READY to STARTED (should keep same)
### Steps to Reproduce
NA
### SDK Version
1.0.0
### Java Version
17
### Is this a regression?
No
### Last Working Version
_No response_
### Additional Context
_No response_
贡献指南
调研方向
从本地 runner 的响应和历史事件生成开始,并将其与 issue 中描述的实际 backend 行为进行比较。检查进入 STARTED 时、后续状态中以及从 READY 切换到 STARTED 时的 attempt 值;当本地 runner 与这些 backend 语义一致时即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- backend
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100