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

chore: silence SECRET_KEY warning when running tests #26703

Merged
merged 1 commit into from
Jan 22, 2024

Conversation

mistercrunch
Copy link
Member

@mistercrunch mistercrunch commented Jan 20, 2024

SUMMARY

I saw this crazy amount of warning logs about SECRET_KEY in CI logs, and thought this might silence it. Observed in another PR here -> https://github.com/apache/superset/actions/runs/7590421536/job/20676883024?pr=26698

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Screenshot 2024-01-20 at 1 57 29 PM Screenshot 2024-01-20 at 1 57 20 PM

Copy link

codecov bot commented Jan 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (e86d4d3) 69.48% compared to head (342f68e) 69.48%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #26703      +/-   ##
==========================================
- Coverage   69.48%   69.48%   -0.01%     
==========================================
  Files        1894     1894              
  Lines       74138    74138              
  Branches     8243     8243              
==========================================
- Hits        51515    51514       -1     
- Misses      20554    20555       +1     
  Partials     2069     2069              
Flag Coverage Δ
hive 53.82% <ø> (-0.03%) ⬇️
mysql 78.00% <ø> (ø)
postgres 78.10% <ø> (-0.03%) ⬇️
presto 53.77% <ø> (-0.03%) ⬇️
python 83.01% <ø> (-0.01%) ⬇️
sqlite 77.68% <ø> (-0.03%) ⬇️
unit 56.38% <ø> (ø)

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.

Copy link
Member

@michael-s-molina michael-s-molina left a comment

Choose a reason for hiding this comment

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

LGTM

@mistercrunch mistercrunch merged commit f46121d into apache:master Jan 22, 2024
33 checks passed
@mistercrunch mistercrunch deleted the silence_secret_key_warning branch January 22, 2024 17:20
@john-bodley
Copy link
Member

@mistercrunch why don't we just run the tests via FLASK_DEBUG=true ....

cc @dpgaspar

@john-bodley john-bodley added the review:checkpoint Last PR reviewed during the daily review standup label Jan 22, 2024
@mistercrunch
Copy link
Member Author

My main goal was to shush the warnings and it seems both ways would do this. IDK if setting FLASK_DEBUG = True has more/other implications around logging level for instance.

@john-bodley john-bodley removed the review:checkpoint Last PR reviewed during the daily review standup label Jan 23, 2024
sfirke pushed a commit to sfirke/superset that referenced this pull request Mar 22, 2024
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 4.0.0 labels Apr 17, 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 🚢 4.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants