Modify ExportState in `bbs2gh` so if it treats unexpected values as errors
Open
task
tech debt
- Dominant language
- C#
- Stars
- 478
- Forks
- 146
- Avg merge
- 7d 21h
- Merged PRs (30d)
- 2
Description
I managed to get into an infinite loop because I had an invalid value (in this case null), that I was passing to `ExportState.IsInProgress()` and that treats any unexpected value as InProgress. It should treat unexpected values as errors like we do in other similar places in the code. IsInProgress should specifically check for what state value it expects, and treat anything else as error state.
Contributor guide
Assessment
This issue has not been assessed yet.