influxdata / influxdata/giraffe

Handle streaming errors in giraffe

Open
#348 1 comment 0 reactions 0 assignees View on GitHub
needs-design team/ui
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.