-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2835 from decentraland/release/release-19-11-2024
release: 19-11-2024
- Loading branch information
Showing
26 changed files
with
138 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
...ets/DCL/UserInAppInitializationFlow/StartupOperations/SentryDiagnosticStartupOperation.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
using Cysharp.Threading.Tasks; | ||
using DCL.AsyncLoadReporting; | ||
using DCL.Diagnostics; | ||
using ECS.SceneLifeCycle.Realm; | ||
using System; | ||
using System.Threading; | ||
using Utility.Types; | ||
|
||
namespace DCL.UserInAppInitializationFlow.StartupOperations | ||
{ | ||
public class SentryDiagnosticStartupOperation : IStartupOperation | ||
{ | ||
private readonly IRealmController realmController; | ||
private readonly DiagnosticsContainer diagnosticsContainer; | ||
|
||
public SentryDiagnosticStartupOperation( | ||
IRealmController realmController, DiagnosticsContainer diagnosticsContainer) | ||
{ | ||
this.realmController = realmController; | ||
this.diagnosticsContainer = diagnosticsContainer; | ||
} | ||
|
||
public async UniTask<Result> ExecuteAsync(AsyncLoadProcessReport report, CancellationToken ct) | ||
{ | ||
diagnosticsContainer.AddSentryScopeConfigurator((scope) => | ||
{ | ||
diagnosticsContainer.Sentry?.AddRealmInfoToScope(scope, | ||
realmController.RealmData.Ipfs.CatalystBaseUrl.Value, | ||
realmController.RealmData.Ipfs.ContentBaseUrl.Value, | ||
realmController.RealmData.Ipfs.LambdasBaseUrl.Value); | ||
}); | ||
return Result.SuccessResult(); | ||
} | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
...CL/UserInAppInitializationFlow/StartupOperations/SentryDiagnosticStartupOperation.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
namespace Global.AppArgs | ||
{ | ||
public static class AppArgsFlags | ||
{ | ||
public const string DEBUG = "debug"; | ||
public const string DCL_EDITOR = "dcl-editor"; | ||
|
||
public const string ENABLE_VERSION_CONTROL = "versionControl"; | ||
public const string SIMULATE_VERSION = "simulateVersion"; | ||
|
||
public const string SCENE_CONSOLE = "scene-console"; | ||
|
||
public const string ENVIRONMENT = "dclenv"; | ||
public const string REALM = "realm"; | ||
public const string LOCAL_SCENE = "local-scene"; | ||
public const string POSITION = "position"; | ||
|
||
public const string FORCED_EMOTES = "self-force-emotes"; | ||
public const string SELF_PREVIEW_EMOTES = "self-preview-emotes"; | ||
public const string SELF_PREVIEW_WEARABLES = "self-preview-wearables"; | ||
|
||
public const string CAMERA_REEL = "camera-reel"; | ||
|
||
public static class Multiplayer | ||
{ | ||
public const string COMPRESSION = "compression"; | ||
} | ||
|
||
public static class FeatureFlags | ||
{ | ||
public const string URL = "feature-flags-url"; | ||
public const string HOSTNAME = "feature-flags-hostname"; | ||
} | ||
|
||
public static class Analytics | ||
{ | ||
public const string SESSION_ID = "session_id"; | ||
public const string LAUNCHER_ID = "launcher_anonymous_id"; | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.