Commit Graph
5867 Commits
Author SHA1 Message Date
Dominion bb6cec3456 Fix another bad API definition [APIDeploy] api-v9.10.2 2023-04-26 00:50:38 -04:00
Dominion ad3bac9b0a Hopfully fixes CI job ordering [TGSDeploy] tgstation-server-v5.12.0 2023-04-26 00:44:19 -04:00
Dominion 719e5d91cb Adjust ReleaseNotes to ensure the latest release is a TGS release
[APIDeploy][NugetDeploy][TGSDeploy]

Closes #1141
api-v9.10.1
2023-04-25 22:06:21 -04:00
Dominion 232b1a017a Version bump to 5.12.0 2023-04-25 21:21:47 -04:00
Dominion 48214902fb Minor API version fix 2023-04-25 21:21:25 -04:00
Dominion 9e4d0ce17e Update bundled webpanel version to 4.20 2023-04-25 21:20:48 -04:00
Jordan DominionandGitHub 8261e6cc79 Merge pull request #1463 from tgstation/1084-DeleteByond [APIDeploy][NugetDeploy][DMDeploy]
DELETE /Byond
dmapi-v6.4.2 api-v9.10.0
2023-04-25 17:33:17 -04:00
Dominion 16673034f7 Fix WaitForJobProgress never taking the early out 2023-04-25 08:00:16 -04:00
Dominion 4b75a7ee11 Fix ByondManager.Dispose() not getting called
- Make Instance.Dispose() more async friendly
2023-04-24 22:49:17 -04:00
Dominion d593026625 Fix CA1810 2023-04-24 20:46:51 -04:00
Dominion c94379d700 Revert "Remove unneccessary warning suppression"
This reverts commit 8c11454239.
2023-04-24 20:44:40 -04:00
Dominion 11e191779d Fix another semicolon 2023-04-24 20:29:23 -04:00
Dominion cd1f458f5c Remove spammy log line 2023-04-24 20:23:07 -04:00
Dominion 843e2f932a Get rid of DeploymentProcess' weird stage handling 2023-04-24 20:20:53 -04:00
Dominion 99c4537aa9 Implement BYOND installation deletion
- Add ErrorCode for if a BYOND installation delete attempt is made for the active version.
- Added ByondVersionDeleteRequest new parent of ByondVersionRequest.
- Added ByondRights.DeleteInstall.
- Added BYOND install delete support to client
- Made ByondExecutableLock use the reference counting system.
- Moved TrustDmbPath to ByondManager internals. Removes ByondExecutableLock's dependency on IIOManager.
- Ensured ByondManager doesn't deal in Versions where .Build == 0.
- Fixed race condition where ByondController could attempt to install a version in the scope of a request.
- Fixed long running DMAPI test code specifying a minimum security level of Ultrasafe when it writes files.
- Added JobsRequiredTest.WaitForJobProgress.
- Added BYOND installation deletion integration tests.
- Fixed modifying the user BYOND configuration having a race condition across instances.
- Various code cleanups.
2023-04-24 20:15:10 -04:00
Dominion 501ea583d0 Remove unused using 2023-04-24 20:04:17 -04:00
Dominion 6a4d2bc0d5 Use constant instead of magic string 2023-04-24 20:01:13 -04:00
Dominion 3e18e5880d Fix a VS message 2023-04-24 19:16:24 -04:00
Dominion 4724bf2896 Minor code cleanups in watchdogs 2023-04-24 18:48:13 -04:00
Dominion bff92e8a1f Fix race condition in repository test 2023-04-24 18:37:01 -04:00
Dominion 6ef3d88db7 Fix logging placeholders in FileTransferService 2023-04-24 18:36:10 -04:00
Dominion 71577d1ea3 Setting the Stage of a JobProgressReporter now updates progress instantly 2023-04-24 18:35:51 -04:00
Dominion b2f571a92d Corrects a misplaced semicolon 2023-04-24 18:35:11 -04:00
Dominion a3b3f91808 Fix reference counts never decreasing 2023-04-24 18:34:35 -04:00
Dominion d31145f87b Remove extraneous neline 2023-04-24 18:33:26 -04:00
Dominion 188af390cc Better generic reference counting
- Fixes offline instance getting cancelled by request abortion.
2023-04-24 14:14:20 -04:00
Dominion 1d6cc3bc74 Add missing Delete<TBody, TResult> overload to IApiClient 2023-04-24 14:03:16 -04:00
Dominion 7bccd6efbe Make Components.InstanceContainer into generic Utils.ReferenceCountingContainer
- Make instance manager fields full types, not interfaces.
2023-04-24 09:39:35 -04:00
Dominion ca59f4dcf6 Fold SwarmIntegrityCheckFailed into unused ErrorCode 28 2023-04-23 14:14:09 -04:00
Dominion 8c11454239 Remove unneccessary warning suppression 2023-04-23 14:11:34 -04:00
Dominion 4ecdf8afe1 Move duplicate concrete IAbstractHttpClientFactorys to Common.HttpClientFactory 2023-04-23 13:57:57 -04:00
Dominion 43e1fec1b0 Move a bunch of non-core classes to new Utils namespace
- Clean up VS messages, primarily in SessionController.cs
2023-04-23 13:42:16 -04:00
Dominion 86f9d350f6 Clean up LogContext templating and properties
- Bring Serilog LogContext related items into new SerilogContextHelper class.
- ODR LogContext property names.
- InstanceController now inherits InstanceRequiredController and no longer holds an IInstanceManager reference.
- InstanceRequiredController.ValidateInstanceOnlineStatus() no longer static
- Subinterface IInstanceOperations created to reduce surface area InstanceController uses.
- Extracted much of InstanceRequiredController's functionality into new parent ComponentInterfacingController to not break swagger generation type checking (InstanceRequiredController adds the mandatory InstanceId header in the spec but InstanceController inherits ComponentInterfacingController without those checks).
- Added code paths to allow add swarm node identifer to LogContext. Use in Live tests.
- IInstanceManager retrieved via DI in Application for UseAsyncInitialization().
- Correct controller doc comments.
- Minor code cleanups.
2023-04-23 13:07:40 -04:00
Dominion a36c69c25c Logging placeholder cleanup 2023-04-23 10:31:03 -04:00
Dominion 708b5c21e4 Fix cancelled requests being logged as errors during startup
Also cleanup ApplicationBuilderExtensions.cs
2023-04-23 10:27:14 -04:00
Dominion 8756b09e41 Fix the web server not starting while InstanceManager was initializing 2023-04-23 10:25:46 -04:00
Jordan DominionandGitHub 5f2cc26f2c Merge pull request #1462 from tgstation/1460-CopyDirectoryCustomThrottle
Copy Directory Custom Throttle
2023-04-23 09:10:57 -04:00
Dominion ac2a9f11d1 Fix CA1024 2023-04-23 03:35:30 -04:00
Dominion 06043de502 Fix a ton of Repository linter errors 2023-04-23 02:40:26 -04:00
Dominion d771da71b9 Add General:DeploymentDirectoryCopyTasksPerCore config option 2023-04-23 02:34:11 -04:00
Jordan DominionandGitHub 8e179c52da Merge pull request #1461 from tgstation/1459-SwarmMurderUniversity
Swarm Murder University
2023-04-23 00:17:08 -04:00
Dominion 38753e4a94 Note about racyness of process file redirection 2023-04-22 23:17:20 -04:00
Dominion 6443ca8223 Workaround std stream race condition in tests 2023-04-22 23:17:07 -04:00
Dominion 55ced04a81 Rename the CI jobs slightly 2023-04-22 19:50:34 -04:00
Dominion 6199e0e12e Increase delay in stdout/err reading test 2023-04-22 19:42:44 -04:00
Dominion 77154c9d9b I think this is the key solution to the race condition we were missing 2023-04-22 19:31:19 -04:00
Dominion 1f7872d224 Race condition this, mf'er 2023-04-22 19:21:25 -04:00
Dominion 2195f4cbc7 Fix logging call 2023-04-22 19:14:51 -04:00
Dominion a7031dea85 Update API doc for 424 on POST /Administration 2023-04-22 19:12:50 -04:00
Dominion 5195e78baf Fixing more race conditions in swarm tests 2023-04-22 18:56:32 -04:00