Skip to content

Comments

Convert Swarm System to gRPC and break up hosted service endpoints#2212

Merged
Cyberboss merged 35 commits intoV7from
2162-Grpc
Apr 26, 2025
Merged

Convert Swarm System to gRPC and break up hosted service endpoints#2212
Cyberboss merged 35 commits intoV7from
2162-Grpc

Conversation

@Cyberboss
Copy link
Member

@Cyberboss Cyberboss commented Apr 16, 2025

🆑 Configuration
The new configuration version is 6.0.0. There have been significant breaking changes that affect all upgrading users so read carefully.
BREAKING: Added Session:BridgePort which is the port the game uses to talk to TGS.
Added HostingSpecification objects. These have two keys IPAddress and Port which define an IP endpoint the server listens on. All HostingSpecifcations can use the same port as others in TGS (excluding game servers) unless explicitly specified otherwise.
BREAKING: Replaced General:ApiPort with General:ApiEndPoints HostingSpecifcation array.
BREAKING: Replaced General:PrometheusPort with General:MetricEndPoints HostingSpecifcation array.
BREAKING: Swarm configuration now requires a Swarm:EndPoints HostingSpecifcation array. The ports in these specs CANNOT overlap with any other ports in use by TGS.
/🆑

🆑
BREAKING: TGS now requires the ASP.NET 10 runtime.
Health, metrics, and swarm endpoints are no longer accessible through the HTTP API unless configured otherwise.
The bridge request endpoint is now exclusively only available via localhost.
Removed undocumented IIS hosting support.
Added configuration validation system.
/🆑

@Cyberboss Cyberboss added Feature New functionality Logging Adding, removing, or lack of informational log output Controller Issue Issue regarding the HTTP request controllers Configuration Regarding the server setup JSON Breaking API Change Requires a major API version bump labels Apr 16, 2025
@Cyberboss Cyberboss added this to the v7.0.0 milestone Apr 16, 2025
tgstation-server-ci[bot]
tgstation-server-ci bot previously approved these changes Apr 16, 2025
tgstation-server-ci[bot]
tgstation-server-ci bot previously approved these changes Apr 18, 2025
tgstation-server-ci[bot]
tgstation-server-ci bot previously approved these changes Apr 18, 2025
tgstation-server-ci[bot]
tgstation-server-ci bot previously approved these changes Apr 18, 2025
tgstation-server-ci[bot]
tgstation-server-ci bot previously approved these changes Apr 20, 2025
tgstation-server-ci[bot]
tgstation-server-ci bot previously approved these changes Apr 20, 2025
tgstation-server-ci[bot]
tgstation-server-ci bot previously approved these changes Apr 20, 2025
tgstation-server-ci[bot]
tgstation-server-ci bot previously approved these changes Apr 25, 2025
@codecov
Copy link

codecov bot commented Apr 26, 2025

Codecov Report

Attention: Patch coverage is 73.35640% with 231 lines in your changes missing coverage. Please review.

Project coverage is 94.19%. Comparing base (19098e4) to head (ff340eb).
Report is 50 commits behind head on V7.

Additional details and impacted files
@@            Coverage Diff             @@
##               V7    #2212      +/-   ##
==========================================
+ Coverage   94.14%   94.19%   +0.04%     
==========================================
  Files         869      877       +8     
  Lines      183070   183222     +152     
  Branches     3788     3804      +16     
==========================================
+ Hits       172358   172589     +231     
+ Misses       9972     9897      -75     
+ Partials      740      736       -4     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Cyberboss Cyberboss merged commit 8b19e59 into V7 Apr 26, 2025
152 of 155 checks passed
@Cyberboss Cyberboss deleted the 2162-Grpc branch April 26, 2025 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Breaking API Change Requires a major API version bump Configuration Regarding the server setup JSON Controller Issue Issue regarding the HTTP request controllers Feature New functionality Logging Adding, removing, or lack of informational log output size/XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant