microsoft / microsoft/durabletask-python
Support orchestration ID reuse policy
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 40
- Fork
- 33
- Merge medio
- 2g 2h
- PR unite (30g)
- 6
Descrizione
durabletask-go now support orchestration ID reuse policy, customer can reuse the orchestration ID with three different action ERROR, IGNORE, and TERMINATE with a target runtime status set.
ERROR- If there is an existing workflow then the scheduler throws an exception (this is the current behavior).
IGNORE- If there is an existing workflow already scheduled, then the scheduler does nothing.
TERMINATE- Terminates any existing workflows with the same instance ID and then schedules a new instance as one atomic action, similar to on-demand ContinueAsNew.
SDK needs to expose those options to customer orchestration ID reuse support.
Reference:
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia esaminando il punto di ingresso della pianificazione dell’orchestrazione del Python SDK e confronta la sua API pubblica con le pull request di durabletask-go e durabletask-java collegate nell’issue. Il lavoro è completo quando i clienti possono selezionare il comportamento di riutilizzo ERROR, IGNORE o TERMINATE con uno stato di runtime di destinazione e il comportamento corrispondente è coperto dai test.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- backend-api-design
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100