<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>196248</bug_id>
          
          <creation_ts>2019-03-26 04:48:48 -0700</creation_ts>
          <short_desc>[ews-build] is_test_mode_enabled should default to True</short_desc>
          <delta_ts>2021-02-01 07:43:06 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=221208</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Aakash Jain">aakash_jain</reporter>
          <assigned_to name="Aakash Jain">aakash_jain</assigned_to>
          <cc>aakash_jain</cc>
    
    <cc>ap</cc>
    
    <cc>commit-queue</cc>
    
    <cc>dean_johnson</cc>
    
    <cc>dewei_zhu</cc>
    
    <cc>jbedard</cc>
    
    <cc>kocsen_chung</cc>
    
    <cc>lforschler</cc>
    
    <cc>lingho</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1521263</commentid>
    <comment_count>0</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2019-03-26 04:48:48 -0700</bug_when>
    <thetext>is_test_mode_enabled variable should default to True in order to avoid accidentally running production settings on a local/test instance. Currently we need to explicitly add an environment variable BUILDBOT_TESTING in order to indicate test instance. If someone forgets to set this environment variable on a local instance, he would run with production settings. Currently it&apos;s very easy to make this mistake. We should reverse the logic to make it harder to do such mistake. 

We should instead require to set an environment variable BUILDBOT_PRODUCTION on production server. It will be a one time configuration on the production server (by configuring environment variable in a manner that persist across reboots and various shell sessions).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1521264</commentid>
    <comment_count>1</comment_count>
      <attachid>365960</attachid>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2019-03-26 04:50:32 -0700</bug_when>
    <thetext>Created attachment 365960
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1521265</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-03-26 04:55:00 -0700</bug_when>
    <thetext>&lt;rdar://problem/49263519&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1521335</commentid>
    <comment_count>3</comment_count>
      <attachid>365960</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2019-03-26 10:12:28 -0700</bug_when>
    <thetext>Comment on attachment 365960
Patch

Clearing flags on attachment: 365960

Committed r243501: &lt;https://trac.webkit.org/changeset/243501&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1521336</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2019-03-26 10:12:30 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>365960</attachid>
            <date>2019-03-26 04:50:32 -0700</date>
            <delta_ts>2019-03-26 10:12:28 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-196248-20190326075109.patch</filename>
            <type>text/plain</type>
            <size>1133</size>
            <attacher name="Aakash Jain">aakash_jain</attacher>
            
              <data encoding="base64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CShyZXZpc2lvbiAyNDM0OTEpCisrKyBUb29scy9CdWlsZFNsYXZlU3Vw
cG9ydC9ld3MtYnVpbGQvbWFzdGVyLmNmZwkod29ya2luZyBjb3B5KQpAQCAtMyw3ICszLDcgQEAg
aW1wb3J0IG9zCiBpbXBvcnQgbG9hZENvbmZpZwogZnJvbSBldmVudHMgaW1wb3J0IEV2ZW50cwog
Ci1pc190ZXN0X21vZGVfZW5hYmxlZCA9IG9zLmdldGVudignQlVJTERCT1RfVEVTVElORycpIGlz
IG5vdCBOb25lCitpc190ZXN0X21vZGVfZW5hYmxlZCA9IG9zLmdldGVudignQlVJTERCT1RfUFJP
RFVDVElPTicpIGlzIE5vbmUKIAogYyA9IEJ1aWxkbWFzdGVyQ29uZmlnID0ge30KIAo=
</data>

          </attachment>
      

    </bug>

</bugzilla>