Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep previous query result if current query result in error #8861

Closed

Conversation

abbyhu2000
Copy link
Member

Description

Currently, an error query will display no result.
This PR change to keep previous query result if current query result in error.

Issues Resolved

Screenshot

Testing the changes

Changelog

  • fix: Keep previous query result if current query result in error

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

Copy link

codecov bot commented Nov 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 56.39%. Comparing base (25d3de7) to head (dd2632f).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8861      +/-   ##
==========================================
- Coverage   60.90%   56.39%   -4.52%     
==========================================
  Files        3800     1239    -2561     
  Lines       90845    25913   -64932     
  Branches    14316     4437    -9879     
==========================================
- Hits        55331    14613   -40718     
+ Misses      31994    10559   -21435     
+ Partials     3520      741    -2779     
Flag Coverage Δ
Linux_1 ?
Linux_2 56.39% <ø> (ø)
Linux_3 ?
Linux_4 ?
Windows_1 ?
Windows_2 ?
Windows_3 ?
Windows_4 ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

savedQuery={data.query.savedQueries}
timeFieldName={timeField}
/>
<>
Copy link
Member

Choose a reason for hiding this comment

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

do we have to do anything if status is error?

@abbyhu2000
Copy link
Member Author

close in favor of #8863

@abbyhu2000 abbyhu2000 closed this Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants