Introduce error code to `BgtaskFailedEvent`, `BgtaskPartialSuccess`
Open
- Dominant language
- Python
- Stars
- 670
- Forks
- 183
- Avg merge
- 15h 13m
- Merged PRs (30d)
- 368
Description
## Motivation
As a client tracking `bgtask`, receiving only a list of error messages makes it impossible to handle different error types differently.
Let's introduce error codes into the `bgtask` result as well.
JIRA Issue: BA-2317
Contributor guide
Research direction
Start by locating the definitions and producers of BgtaskFailedEvent and BgtaskPartialSuccess, then trace how bgtask results are returned to clients. Define the error-code representation and update the result behavior so clients receive codes alongside error messages; done means both event types expose the new codes consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100