豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

chore: silence SECRET_KEY warning when running tests#26703

Merged
mistercrunch merged 1 commit intoapache:masterfrom
preset-io:silence_secret_key_warning
Jan 22, 2024
Merged

chore: silence SECRET_KEY warning when running tests#26703
mistercrunch merged 1 commit intoapache:masterfrom
preset-io:silence_secret_key_warning

Conversation

@mistercrunch
Copy link
Copy Markdown
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

@codecov
Copy link
Copy Markdown

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
Copy Markdown
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
@mistercrunch mistercrunch deleted the silence_secret_key_warning branch January 22, 2024 17:20
@john-bodley
Copy link
Copy Markdown
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
Copy Markdown
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
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 4.0.0 First shipped in 4.0.0 labels Apr 17, 2024
vinothkumar66 pushed a commit to vinothkumar66/superset that referenced this pull request Nov 11, 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 First shipped in 4.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants