Backed out changeset ff7488019a95 (bug 1672455) for causing test crashes.
authorAlexandru Michis <malexandru@mozilla.com>
Wed, 21 Apr 2021 19:24:54 +0300
changeset 576984 683c2a81d1a3230a9b2ae93162277244a99d4921
parent 576983 44a9d348b7199a2ba4ecddc02bcf298746b250c8
child 576985 e971fd978c10424928f39c8431ae22951034c91a
push id141660
push usermalexandru@mozilla.com
push dateWed, 21 Apr 2021 16:25:25 +0000
treeherderautoland@683c2a81d1a3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1672455
milestone90.0a1
backs outff7488019a957f6010dcd82d88b8bde051cec181
first release with
nightly linux32
683c2a81d1a3 / 90.0a1 / 20210421212740 / files
nightly linux64
683c2a81d1a3 / 90.0a1 / 20210421212740 / files
nightly mac
683c2a81d1a3 / 90.0a1 / 20210421212740 / files
nightly win32
683c2a81d1a3 / 90.0a1 / 20210421212740 / files
nightly win64
683c2a81d1a3 / 90.0a1 / 20210421212740 / files
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset ff7488019a95 (bug 1672455) for causing test crashes. CLOSED TREE
toolkit/components/glean/src/lib.rs
--- a/toolkit/components/glean/src/lib.rs
+++ b/toolkit/components/glean/src/lib.rs
@@ -30,17 +30,16 @@
 // compiled.
 pub extern crate fog;
 
 #[macro_use]
 extern crate cstr;
 #[macro_use]
 extern crate xpcom;
 
-use std::env;
 use std::ffi::CStr;
 use std::os::raw::c_char;
 use std::path::PathBuf;
 
 use nserror::{nsresult, NS_ERROR_FAILURE, NS_OK};
 use nsstring::{nsACString, nsCStr, nsCString, nsString};
 use xpcom::interfaces::{
     mozIViaduct, nsIFile, nsIObserver, nsIPrefBranch, nsISupports, nsIXULAppInfo,
@@ -144,23 +143,16 @@ pub unsafe extern "C" fn fog_init(
             log::error!("Failed to ensure viaduct was initialized due to {}. Ping upload may not be available.", result.error_name());
         }
     } else {
         log::error!("Failed to create Viaduct via XPCOM. Ping upload may not be available.");
     }
 
     glean::initialize(configuration, client_info);
 
-    // If we're operating in automation without any specific source tags to set,
-    // set the tag "automation" so any pings that escape don't clutter the tables.
-    // See https://mozilla.github.io/glean/book/user/debugging/index.html#enabling-debugging-features-through-environment-variables
-    if env::var("MOZ_AUTOMATION").is_ok() && env::var("GLEAN_SOURCE_TAGS").is_err() {
-        glean::set_source_tags(vec!["automation".to_string()]);
-    }
-
     // Register all custom pings before we initialize.
     fog::pings::register_pings();
 
     fog::metrics::fog::initialization.stop();
 
     NS_OK
 }