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

fix: execution log crashes for logs with no uuid #13998

Merged
merged 3 commits into from Apr 8, 2021

Conversation

jfrag1
Copy link
Member

@jfrag1 jfrag1 commented Apr 7, 2021

SUMMARY

An issue was introduced in #13752 where logs that were created before the executionId was created cause the execution log list view to give the following error:

Screen Shot 2021-04-07 at 1 49 37 PM

This PR fixes this issue, instead displaying "none" for logs without an executionId.

@jfrag1 jfrag1 changed the title Fix execution log when no execution id fix: execution log crashes for logs with no uuid Apr 7, 2021
Copy link
Member

@suddjian suddjian left a comment

Choose a reason for hiding this comment

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

LGTM

@codecov
Copy link

codecov bot commented Apr 7, 2021

Codecov Report

Merging #13998 (48cb5ed) into master (dcb9f7c) will increase coverage by 0.01%.
The diff coverage is 100.00%.

❗ Current head 48cb5ed differs from pull request most recent head 7cfb9d8. Consider uploading reports for the commit 7cfb9d8 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master   #13998      +/-   ##
==========================================
+ Coverage   79.02%   79.03%   +0.01%     
==========================================
  Files         936      936              
  Lines       47408    47408              
  Branches     5938     5939       +1     
==========================================
+ Hits        37465    37471       +6     
+ Misses       9817     9811       -6     
  Partials      126      126              
Flag Coverage Δ
cypress 56.04% <ø> (ø)
javascript 68.85% <100.00%> (+0.02%) ⬆️

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

Impacted Files Coverage Δ
...end/src/components/IndeterminateCheckbox/index.tsx 100.00% <ø> (ø)
...ntend/src/dashboard/components/CssEditor/index.jsx 95.83% <ø> (ø)
...set-frontend/src/views/CRUD/alert/ExecutionLog.tsx 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dcb9f7c...7cfb9d8. Read the comment docs.

@willbarrett willbarrett merged commit 5dd971e into apache:master Apr 8, 2021
@willbarrett willbarrett deleted the fix-execution-log-error branch April 8, 2021 13:50
@yousoph
Copy link
Member

yousoph commented Apr 8, 2021

🏷️ 2021.13

henryyeh pushed a commit to preset-io/superset that referenced this pull request Apr 9, 2021
* Fix execution log when no execution id

* Use single quotes

* Pretty

(cherry picked from commit 5dd971e)
allanco91 pushed a commit to allanco91/superset that referenced this pull request May 21, 2021
* Fix execution log when no execution id

* Use single quotes

* Pretty
QAlexBall pushed a commit to QAlexBall/superset that referenced this pull request Dec 29, 2021
* Fix execution log when no execution id

* Use single quotes

* Pretty
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 1.2.0 labels Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels size/XS 🚢 1.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants