influxdata / influxdata/giraffe
Handle streaming errors in giraffe
- Dominant language
- TypeScript
- Stars
- 189
- Forks
- 33
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 4
Description
each chunk in a csv response could potentially come back as an error state, even in the middle of a bunch of successful chunks.
we need to be able to return both in the fromFlux parser (the successful bits and the error messages). here was a part we put in an experimental parser that might need to be injected here, but incorrectly
https://github.com/influxdata/ui/blob/master/src/shared/utils/fromFlux.ts#L225-L233
Contributor guide
Research direction
Start with the fromFlux parser referenced at src/shared/utils/fromFlux.ts#L225-L233 and compare it with the experimental parser described in the issue. Trace how CSV chunks are handled when an error appears between successful chunks. Done means the parser returns both the successful data and the error messages from the same response.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100