Verify hosted AI queue survival after a database interruption #120

Open
opened 2026-12-02 13:21:46 +01:00 by cesnimda · 0 comments
Owner

Summary

Verify hosted AI queue survival after a database interruption.

Background and evidence

AiOperationWorker handles defined task failures. The hosted polling loop calls the worker directly; survival after unexpected store failures remains unqualified (F20).

Scope and expected outcome

Observe worker liveness, lease ownership and eventual task status through a disposable transient database interruption, recovery and cancellation.

Acceptance criteria

  • Observe worker liveness, lease ownership and eventual task status through a disposable transient database interruption, recovery and cancellation.
  • Preserve tenant ownership, historical round trips, fallback behaviour and rollback. Retain manual review before canonical writes.

Testing requirements

Use an isolated fault-injecting store. Record the process outcome and whether an operation is duplicated or stranded.

Dependencies and compatibility

Initial disposition: Ready. Production changes require separate release approval.

Definition of done

Link the verified result, revision or decision and remaining limitations. Obtain the acceptance required above before closing.

References

Related work

Parent epic: #37

### Summary Verify hosted AI queue survival after a database interruption. ### Background and evidence AiOperationWorker handles defined task failures. The hosted polling loop calls the worker directly; survival after unexpected store failures remains unqualified (F20). ### Scope and expected outcome Observe worker liveness, lease ownership and eventual task status through a disposable transient database interruption, recovery and cancellation. ### Acceptance criteria - [ ] Observe worker liveness, lease ownership and eventual task status through a disposable transient database interruption, recovery and cancellation. - [ ] Preserve tenant ownership, historical round trips, fallback behaviour and rollback. Retain manual review before canonical writes. ### Testing requirements Use an isolated fault-injecting store. Record the process outcome and whether an operation is duplicated or stranded. ### Dependencies and compatibility Initial disposition: Ready. Production changes require separate release approval. ### Definition of done Link the verified result, revision or decision and remaining limitations. Obtain the acceptance required above before closing. ### References - [Evidence 1](https://git.cesnimda.uk/cesnimda/jobtrackingapp/src/commit/ac64d2ee221859c481dfd62e8fe83084af4c6764/JobTrackerApi/Services/AiOperationQueue.cs) <!-- jobbjakt:D-WORKER --> ### Related work Parent epic: #37 <!-- jobbjakt-links -->
cesnimda added the Status/Ready label 2026-12-02 13:30:45 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cesnimda/jobtrackingapp#120