Skip to content

fix ingest warnings#2651

Merged
nwt merged 4 commits intomainfrom
fix-ingest-warnings
Feb 7, 2023
Merged

fix ingest warnings#2651
nwt merged 4 commits intomainfrom
fix-ingest-warnings

Conversation

@nwt
Copy link
Member

@nwt nwt commented Feb 3, 2023

Ingest warnings have been broken for a while. Fix them.

Included are fixes to some global dispatcher bugs that were causing the Pools.appendWarning reducer to run three times per dispatch.

The video below shows what ingest warnings look like now.

Screen.Recording.2023-02-07.at.12.01.19.PM.mov

Closes #2554
Closes #2606

@nwt nwt force-pushed the fix-ingest-warnings branch from 3d77acc to 618abc9 Compare February 6, 2023 15:24
@jameskerr jameskerr self-requested a review February 6, 2023 19:30
jameskerr and others added 2 commits February 6, 2023 13:38
We were sending the action back to the sender.
We were not marking an action as remote.
We were not checking if an action was remote.
@nwt nwt marked this pull request as ready for review February 7, 2023 17:15
@nwt nwt requested review from a team and philrz February 7, 2023 17:16
Copy link
Contributor

@jameskerr jameskerr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One spelling error, then good to merge.

@philrz
Copy link
Contributor

philrz commented Feb 7, 2023

It's definitely a huge improvement that the warnings are now visible to the user, so I'd absolutely take this fix as is. That said, given that "load" and "ingest" are roughly synonymous, it feels strange that the messages "Ingest failed with warnings" and "Load successful" appear on the screen at the same time. If it were possible in this case to change the "Load successful" to something that reflects the load only partially succeeded, that would help a lot, I think.

@nwt
Copy link
Member Author

nwt commented Feb 7, 2023

@philrz: I agree, but that "Load successful" toast comes from code I'm not touching here, and the way to make the change you suggest isn't obvious to me, so I think that's fodder for another PR.

@nwt nwt merged commit a372438 into main Feb 7, 2023
@nwt nwt deleted the fix-ingest-warnings branch February 7, 2023 19:10
@philrz
Copy link
Contributor

philrz commented Feb 7, 2023

Thanks @nwt. I've opened #2660 so we can revisit that in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No error message displayed on CSV load exception No error message displayed on json load exception (regression after GA Brim v0.28.0)

3 participants