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

Fixed error serialization #6937

Merged
merged 3 commits into from
May 2, 2024

Conversation

AndrewChubatiuk
Copy link
Collaborator

What type of PR is this?

Fixes #6936

  • Refactor
  • Feature
  • Bug Fix
  • New Query Runner (Data Source)
  • New Alert Destination
  • Other

Description

How is this tested?

  • Unit tests (pytest, jest)
  • E2E Tests (Cypress)
  • Manually
  • N/A

Related Tickets & Documents

Mobile & Desktop Screenshots/Recordings (if there are UI changes)

Copy link

codecov bot commented Apr 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.83%. Comparing base (b7f22b1) to head (26cc1b9).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6937      +/-   ##
==========================================
+ Coverage   63.80%   63.83%   +0.03%     
==========================================
  Files         161      161              
  Lines       13087    13094       +7     
  Branches     1812     1814       +2     
==========================================
+ Hits         8350     8359       +9     
+ Misses       4434     4432       -2     
  Partials      303      303              
Files Coverage Δ
redash/serializers/__init__.py 81.81% <100.00%> (+2.87%) ⬆️

@eradman
Copy link
Collaborator

eradman commented May 1, 2024

This change seems to resolve the problem. As codecov is highlighting, we should add some tests for this updated code path.

@AndrewChubatiuk
Copy link
Collaborator Author

This change seems to resolve the problem. As codecov is highlighting, we should add some tests for this updated code path.

added tests

Copy link
Collaborator

@eradman eradman left a comment

Choose a reason for hiding this comment

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

I confirmed that the tests fail if this fix is removed. All good

@eradman eradman force-pushed the fixed-error-serialization branch from 21ff4b7 to 26cc1b9 Compare May 2, 2024 13:24
@eradman eradman enabled auto-merge (squash) May 2, 2024 13:34
@eradman eradman merged commit bd17662 into getredash:master May 2, 2024
13 checks passed
@AndrewChubatiuk AndrewChubatiuk deleted the fixed-error-serialization branch May 9, 2024 18:28
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.

Error running query: failed communicating with server. Please check your Internet connection and try again.
2 participants