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

Show an error message on "Test Connection" failure for Google Spreadsheet Query Runner #6652

Merged
merged 1 commit into from
Dec 9, 2023

Conversation

masayuki038
Copy link
Collaborator

What type of PR is this?

  • Bug Fix

Description

This PR is for showing an error message on "Test Connection" failure for Google Spreadsheet Query Runner. In addition to that, logging a traceback for an error by redash-worker.

How is this tested?

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

Related Tickets & Documents

Closes #6636

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

When a service account for Google Spreadsheet is disabled

Error message on Test Connection Failure

20231209_sheet_api_disable

Logs on Test Connection Failure

20231209_sheet_api_disable_log

When a connection is refused and so on

Error message on Test Connection Failure

20231209_transport_error

Logs on Test Connection Failure

20231209_transport_error_log

Copy link

codecov bot commented Dec 9, 2023

Codecov Report

Merging #6652 (3478618) into master (2b4b1cf) will increase coverage by 0.18%.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6652      +/-   ##
==========================================
+ Coverage   62.39%   62.57%   +0.18%     
==========================================
  Files         161      161              
  Lines       13179    13184       +5     
  Branches     1796     1797       +1     
==========================================
+ Hits         8223     8250      +27     
+ Misses       4672     4649      -23     
- Partials      284      285       +1     
Files Coverage Δ
redash/query_runner/google_spreadsheets.py 79.88% <100.00%> (+13.22%) ⬆️

@masayuki038
Copy link
Collaborator Author

@konnectr Thanks for reviewing! I am going to merge this.

@masayuki038 masayuki038 merged commit 9bbdb4b into master Dec 9, 2023
16 checks passed
@guidopetri guidopetri deleted the issue-6636 branch January 30, 2024 02:06
harveyrendell pushed a commit to pushpay/redash that referenced this pull request Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants