microsoft / microsoft/durabletask-python

Investigate rollbackEntityOperationsOnExceptions semantics for Durable Entities

Aperta
#241 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

bug Functions Parity
Lingua principale
Python
Stelle
40
Fork
33
Merge medio
2g 2h
PR unite (30g)
6

Descrizione

Upstream report: https://github.com/Azure/azure-functions-durable-python/issues/274

Investigate whether azure-functions-durable v2 entities honor the host rollbackEntityOperationsOnExceptions setting. This may require a Durable Functions extension or wire-contract change if the setting is not available in the Python entity request.

Investigation goals

  • Verify omitted/default and explicit true: set, delete, create, and in-place mutation followed by an exception are rolled back.
  • Verify explicit false: those mutations remain applied.
  • Verify that, in a multi-operation batch, only the failed operation is rolled back and successful operations before and after it remain applied.
  • Verify callers observe the operation failure without an unintended retry.
  • Add end-to-end host coverage for supported v2 providers.
  • If the gRPC or extension contract cannot carry this option, identify and link the required extension/protobuf work rather than implementing SDK-only behavior.

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia dal report upstream e dalla richiesta di entity Python per Durable Entities v2, quindi confrontali con l'impostazione dell'host rollbackEntityOperationsOnExceptions e con il contratto gRPC o extension/protobuf. Esegui i casi elencati di mutazione, batching, errore e retry, seguiti dalla copertura end-to-end dell'host per i provider v2 supportati. Il lavoro è completato quando la semantica è verificata, oppure quando il lavoro extension/protobuf richiesto è stato identificato e collegato invece di aggiungere un comportamento esclusivo dell'SDK.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
distributed-systems
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.