cleanup: remove code that reads the PlayerTracking feature #4836
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.35) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.35 · 167 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.307
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #4836"
general
weight: 0.35
markmandel
What type of PR is this?
/kind cleanup
What this PR does / Why we need it:
Continues the PlayerTracking removal by deleting the remaining code that reads the
PlayerTrackingalpha feature gate, outside of the GameServer API types themselves.FleetandGameServerSetstatus (pkg/fleets/controller.go,pkg/gameserversets/controller.go).gameserver_player_connected_totalandgameserver_player_capacity_totalmetrics, their views, and their tests.GameServer.Status.Playersin the SDK server's conversion to the SDKGameServermessage (pkg/sdkserver/sdk.go) and in the local SDK server (pkg/sdkserver/localsdk.go).PlayerStatusfixtures from the allocation cache tests, which no longer affect allocation since #4624.Which issue(s) this PR fixes:
Work on #4491
Did you use AI tools in preparing this PR?:
Y
Special notes for your reviewer:
PlayerTrackingfeature gate itself, and theplayersfields on the GameServer, GameServerSet and Fleet API types (plus the stablesdk.protoPlayerStatus), are left for a follow-up PR. The GameServer defaulting and validation inpkg/apis/agones/v1/gameserver.gostill depend on the gate, so it is removed together with the API fields.