Skip to content

Commit 05d752f

Browse files
tech debt: remove sdk-test-scenes.decentraland.zone hardcoded URL
The Fargate service behind sdk-test-scenes.decentraland.zone (SDK6 test scenes) is being shut down. The repository has been archived for 2+ years with no updates. - Remove TEST_SCENES_URL constant from IRealmNavigator - Remove sdk-test-scenes.decentraland.zone from the trusted realm allowlist in MainSceneLoader - Remove the URL from DynamicSceneLoaderSettings.asset realm list - Remove the "test" chat shortcut from ChatTeleporter - Redirect InitialRealm.TestScenes to SDK_TEST_SCENES_URL (SDK7 CDN) in RealmUrls - Remove TestScenes from TEST_REALMS array and isolation conditions in editor drawer Closes #9569 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 44366d2 commit 05d752f

6 files changed

Lines changed: 4 additions & 8 deletions

File tree

Explorer/Assets/DCL/Chat/Commands/ChatTeleporter.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ public ChatTeleporter(IRealmNavigator realmNavigator, ChatEnvironmentValidator e
3939
{ "goerli-old", IRealmNavigator.GOERLI_OLD_URL },
4040
{ "stream", IRealmNavigator.STREAM_WORLD_URL },
4141
{ "sdk", IRealmNavigator.SDK_TEST_SCENES_URL },
42-
{ "test", IRealmNavigator.TEST_SCENES_URL },
4342
};
4443
}
4544

Explorer/Assets/DCL/Infrastructure/Global/Dynamic/DynamicSceneLoaderSettings.asset

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ MonoBehaviour:
1616
- https://sdk-team-cdn.decentraland.org/ipfs/goerli-plaza-main
1717
- https://sdk-team-cdn.decentraland.org/ipfs/goerli-plaza-main-latest
1818
- https://sdk-team-cdn.decentraland.org/ipfs/streaming-world-main
19-
- https://sdk-test-scenes.decentraland.zone
2019
- https://peer.decentraland.org
2120
- https://worlds-content-server.decentraland.org/world/olavra.dcl.eth
2221
- https://worlds-content-server.decentraland.org/world/yemel.dcl.eth

Explorer/Assets/DCL/Infrastructure/Global/Dynamic/MainSceneLoader.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,6 @@ private async UniTask<bool> IsTrustedRealmAsync(DecentralandUrlsSource dclUrls,
826826
if (uri.Host == "127.0.0.1") return true;
827827
if (uri.Host == "localhost") return true;
828828
if (uri.Host == "sdk-team-cdn." + IDecentralandUrlsSource.ORG_DOMAIN) return true;
829-
if (uri.Host == "sdk-test-scenes." + IDecentralandUrlsSource.ZONE_DOMAIN) return true;
830829
if (uri.Host == "realm-provider-ea." + IDecentralandUrlsSource.ORG_DOMAIN) return true;
831830
if (uri.Host == "realm-provider-ea." + IDecentralandUrlsSource.ZONE_DOMAIN) return true;
832831
if (uri.Host == "worlds-content-server." + IDecentralandUrlsSource.ORG_DOMAIN) return true;

Explorer/Assets/DCL/Infrastructure/Global/Dynamic/RealmUrl/RealmUrls.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public async UniTask<string> StartingRealmAsync(CancellationToken ct)
3030
InitialRealm.Sdk => IRealmNavigator.SDK_TEST_SCENES_URL,
3131
InitialRealm.Goerli => IRealmNavigator.GOERLI_URL,
3232
InitialRealm.StreamingWorld => IRealmNavigator.STREAM_WORLD_URL,
33-
InitialRealm.TestScenes => IRealmNavigator.TEST_SCENES_URL,
33+
InitialRealm.TestScenes => IRealmNavigator.SDK_TEST_SCENES_URL,
3434
InitialRealm.World => decentralandUrlsSource.Url(DecentralandUrl.WorldServer) + "/" + realmLaunchSettings.TargetWorld,
3535
InitialRealm.Localhost => IRealmNavigator.LOCALHOST,
3636
InitialRealm.Custom => await CustomRealmAsync(ct),

Explorer/Assets/DCL/Infrastructure/Global/Editor/RealmLaunchSettingsDrawer.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class RealmLaunchSettingsDrawer : PropertyDrawer
3434
{ "Restricted Actions", new Vector2Int(80, -4) },
3535
};
3636

37-
private static readonly InitialRealm[] TEST_REALMS = { InitialRealm.Sdk, InitialRealm.Goerli, InitialRealm.StreamingWorld, InitialRealm.TestScenes };
37+
private static readonly InitialRealm[] TEST_REALMS = { InitialRealm.Sdk, InitialRealm.Goerli, InitialRealm.StreamingWorld };
3838

3939
private static float singleLineHeight => EditorGUIUtility.singleLineHeight + EditorGUIUtility.standardVerticalSpacing;
4040

@@ -116,7 +116,7 @@ private static Rect DrawCustomRealm(Rect position, SerializedProperty parent, In
116116

117117
private static Rect DrawIsolateSceneCommunication(Rect position, SerializedProperty parent, InitialRealm initialRealm)
118118
{
119-
if (initialRealm is InitialRealm.World or InitialRealm.Goerli or InitialRealm.StreamingWorld or InitialRealm.TestScenes)
119+
if (initialRealm is InitialRealm.World or InitialRealm.Goerli or InitialRealm.StreamingWorld)
120120
{
121121
SerializedProperty property = parent.FindPropertyRelative(nameof(RealmLaunchSettings.isolateSceneCommunication));
122122

@@ -280,7 +280,7 @@ public override float GetPropertyHeight(SerializedProperty property, GUIContent
280280
}
281281

282282
// Add height for IsolateSceneCommunication field when it's drawn
283-
if (initialRealmValue is InitialRealm.World or InitialRealm.Goerli or InitialRealm.StreamingWorld or InitialRealm.TestScenes)
283+
if (initialRealmValue is InitialRealm.World or InitialRealm.Goerli or InitialRealm.StreamingWorld)
284284
fieldsCount += 1;
285285

286286
// Add height for PredefinedScenes enabled checkbox (always drawn)

Explorer/Assets/DCL/Infrastructure/SceneLifeCycle/Realm/IRealmNavigator.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ public interface IRealmNavigator
7070

7171
public const string STREAM_WORLD_URL = "https://sdk-team-cdn.decentraland.org/ipfs/streaming-world-main";
7272
public const string SDK_TEST_SCENES_URL = "https://sdk-team-cdn.decentraland.org/ipfs/sdk7-test-scenes-main-latest";
73-
public const string TEST_SCENES_URL = "https://sdk-test-scenes.decentraland.zone";
7473

7574
event Action<Vector2Int> NavigationExecuted;
7675

0 commit comments

Comments
 (0)