<?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>221208</bug_id>
          
          <creation_ts>2021-02-01 07:40:53 -0800</creation_ts>
          <short_desc>[build.webkit.org] is_test_mode_enabled should default to True</short_desc>
          <delta_ts>2021-02-08 07:37:49 -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=196248</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>
          
          <blocked>175056</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Aakash Jain">aakash_jain</reporter>
          <assigned_to name="Aakash Jain">aakash_jain</assigned_to>
          <cc>aakash_jain</cc>
    
    <cc>jbedard</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1724238</commentid>
    <comment_count>0</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2021-02-01 07:40:53 -0800</bug_when>
    <thetext>Similar to https://bugs.webkit.org/show_bug.cgi?id=196248, 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/she 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>1724240</commentid>
    <comment_count>1</comment_count>
      <attachid>418872</attachid>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2021-02-01 07:41:43 -0800</bug_when>
    <thetext>Created attachment 418872
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1724244</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-02-01 08:05:34 -0800</bug_when>
    <thetext>&lt;rdar://problem/73829462&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1724273</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2021-02-01 09:07:51 -0800</bug_when>
    <thetext>Committed r272144: &lt;https://trac.webkit.org/changeset/272144&gt;

All reviewed patches have been landed. Closing bug and clearing flags on attachment 418872.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>418872</attachid>
            <date>2021-02-01 07:41:43 -0800</date>
            <delta_ts>2021-02-01 09:07:52 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-221208-20210201104142.patch</filename>
            <type>text/plain</type>
            <size>1082</size>
            <attacher name="Aakash Jain">aakash_jain</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDI3MjE0MikKKysrIFRvb2xzL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwz
ICsxLDEyIEBACisyMDIxLT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CA9IG9zLmdldGVudignQlVJTERC
T1RfUFJPRFVDVElPTicpIGlzIE5vbmUKIAogYyA9IEJ1aWxkbWFzdGVyQ29uZmlnID0ge30KIAo=
</data>

          </attachment>
      

    </bug>

</bugzilla>