a2aproject / a2aproject/a2a-dotnet
TaskManager.UpdateStatusAsync says Updates the status of a task and optionally adds a message to its history but no history is added to the task
- Dominant language
- C#
- Stars
- 262
- Forks
- 64
- Avg merge
- 5d 2h
- Merged PRs (30d)
- 31
Description
The message sent when calling UpdateStatusAsync would get sent on the stream for those listening but it does not add the message to the history.
I have now accounted for that in my persistent ITaskStore when ITaskStore.UpdateStatusAsync is called but I don't want two messages to get added if this is a defect.
Should TaskManager.UpdateStatusAsync add the message passed to the history of the task?
Contributor guide
Research direction
Look at the TaskManager.UpdateStatusAsync method to see how it currently updates task status and handles the optional message. Examine the ITaskStore.UpdateStatusAsync implementation to understand where history is added. Determine if the message should be added to the task's history within TaskManager or if the responsibility lies solely with the persistent store. Check for any existing tests related to task status updates and history to verify expected behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend-api-design
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 40/100