aws / aws/aws-durable-execution-sdk-java
[Bug]: fix behavior differences in local runner
- Lingua principale
- Java
- Stelle
- 28
- Fork
- 11
- Merge medio
- 1g 8h
- PR unite (30g)
- 47
Descrizione
### 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_
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia dalla risposta del runner locale e dalla generazione degli eventi della cronologia e confrontale con il comportamento effettivo del backend descritto nell’issue. Controlla i valori di attempt quando si entra in STARTED, negli stati successivi e quando si passa da READY a STARTED; il lavoro è completato quando il runner locale corrisponde a queste semantiche del backend.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- backend
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 48/100