Azure / Azure/azure-functions-sql-extension
Investigate why DisposeAsync is being called early before the operation complete.
- Dominant language
- C#
- Stars
- 130
- Forks
- 71
- Avg merge
- 4d 8h
- Merged PRs (30d)
- 4
Description
When we access the IAsyncEnumerable directly to loop through items, DisposeAsync is being called before the operation is complete and when MoveNextAsync is called next, calls are failing due to the connection and reader being disposed of.
Contributor guide
Research direction
Start by reproducing the direct IAsyncEnumerable loop and tracing the lifecycle around DisposeAsync and the next MoveNextAsync call. The issue names no repository files or tests, so locate the binding's async-enumeration entry point and any lifecycle tests first. Done means enumeration can continue until completion without the connection or reader being disposed early.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp, sql
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100