From 6d15f0ff02edbf79a71a8990e810a8045762d245 Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Sat, 26 Apr 2025 16:20:59 -0400 Subject: [PATCH 1/2] Test token signing key is shared between swarm servers --- tests/Tgstation.Server.Tests/Live/TestLiveServer.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/Tgstation.Server.Tests/Live/TestLiveServer.cs b/tests/Tgstation.Server.Tests/Live/TestLiveServer.cs index ceb1f4bc6d..8df9a3d612 100644 --- a/tests/Tgstation.Server.Tests/Live/TestLiveServer.cs +++ b/tests/Tgstation.Server.Tests/Live/TestLiveServer.cs @@ -922,6 +922,12 @@ namespace Tgstation.Server.Tests.Live await using var node1Client = await CreateAdminClient(node1.ApiUrl, cancellationToken); await using var node2Client = await CreateAdminClient(node2.ApiUrl, cancellationToken); + // test a token signed from any one node will work on another + var token = node2Client.RestClient.Token; + var testNode1Client = restClientFactory.CreateFromToken(node1.ApiUrl, token); + + await testNode1Client.ServerInformation(cancellationToken); + var controllerInfo = await controllerClient.RestClient.ServerInformation(cancellationToken); async Task WaitForSwarmServerUpdate(IRestServerClient client, int currentServerCount) From c865caf9586686fdb10df3aa4bf28c97e114bd56 Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Sat, 26 Apr 2025 22:12:29 -0400 Subject: [PATCH 2/2] Fix God's oldest typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8d0ac955b6..9b3eb0ad9b 100644 --- a/README.md +++ b/README.md @@ -639,7 +639,7 @@ Bots have a set of built-in commands that can be triggered via `!tgs`, mentionin All files in game code deployments are considered transient by default, meaning when new code is deployed, changes will be lost. Static files allow you to specify which files and folders stick around throughout all deployments. -The `StaticFiles` folder contains 3 root folders which cannot be deleted and operate under special rules +The `Configuration` folder contains 3 root folders which cannot be deleted and operate under special rules - `CodeModifications` - `EventScripts` - `GameStaticFiles`