WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
197700
[ews-app] Production and Development env should configure DEBUG appropriately
https://bugs.webkit.org/show_bug.cgi?id=197700
Summary
[ews-app] Production and Development env should configure DEBUG appropriately
Aakash Jain
Reported
2019-05-08 11:56:08 PDT
[ews-app] Production and Development env should configure DEBUG appropriately in the Django app.
Attachments
Patch
(1.77 KB, patch)
2019-05-08 11:59 PDT
,
Aakash Jain
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews214 for win-future
(13.62 MB, application/zip)
2019-05-08 21:35 PDT
,
EWS Watchlist
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2019-05-08 11:58:46 PDT
<
rdar://problem/50590650
>
Aakash Jain
Comment 2
2019-05-08 11:59:33 PDT
Created
attachment 369402
[details]
Patch
Jonathan Bedard
Comment 3
2019-05-08 14:40:33 PDT
Comment on
attachment 369402
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=369402&action=review
> Tools/BuildSlaveSupport/ews-app/ews-app/settings.py:36 > +is_test_mode_enabled = os.getenv('EWS_PRODUCTION') is None
I usually prefer something like: not int(os.getenv('EWS_PRODUCTION', 0)) What will the value of EWS_PRODUCTION be? I suppose this is being moved so it doesn't have to change, though.
> Tools/BuildSlaveSupport/ews-app/ews-app/settings.py:50 > + # SECURITY WARNING: don't run with debug turned on in production!
Is it possible to log this somewhere? It doesn't seem useful as a nested comment.
Aakash Jain
Comment 4
2019-05-08 17:29:58 PDT
Comment on
attachment 369402
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=369402&action=review
>> Tools/BuildSlaveSupport/ews-app/ews-app/settings.py:36 >> +is_test_mode_enabled = os.getenv('EWS_PRODUCTION') is None > > I usually prefer something like: > > not int(os.getenv('EWS_PRODUCTION', 0)) > > What will the value of EWS_PRODUCTION be? I suppose this is being moved so it doesn't have to change, though.
EWS_PRODUCTION=true This is similar to our all other buildbot instance. e.g.: See <
rdar://problem/49263590
>.
>> Tools/BuildSlaveSupport/ews-app/ews-app/settings.py:50 >> + # SECURITY WARNING: don't run with debug turned on in production! > > Is it possible to log this somewhere? It doesn't seem useful as a nested comment.
This comment (and file) was autogenerated by Django. I am just moving it around. This patch ensure that we don't turn on debug in production.
EWS Watchlist
Comment 5
2019-05-08 21:35:12 PDT
Comment hidden (obsolete)
Comment on
attachment 369402
[details]
Patch
Attachment 369402
[details]
did not pass win-ews (win): Output:
https://webkit-queues.webkit.org/results/12139698
New failing tests: http/tests/css/filters-on-iframes.html
EWS Watchlist
Comment 6
2019-05-08 21:35:14 PDT
Comment hidden (obsolete)
Created
attachment 369463
[details]
Archive of layout-test-results from ews214 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: ews214 Port: win-future Platform: CYGWIN_NT-10.0-17763-3.0.5-338.x86_64-x86_64-64bit
WebKit Commit Bot
Comment 7
2019-05-09 09:09:40 PDT
Comment on
attachment 369402
[details]
Patch Clearing flags on attachment: 369402 Committed
r245136
: <
https://trac.webkit.org/changeset/245136
>
WebKit Commit Bot
Comment 8
2019-05-09 09:09:42 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug