You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(labeler): enhance Linux support detection logic
* Added handling for dedicated server tool AppIDs in Steam API checks.
* Introduced a checkbox confirmation mechanism for Linux support, improving evidence assessment.
* Updated verdict messaging to clarify Linux support status based on new checks.
Co-authored-by: Copilot <copilot@github.com>
if (isSteamNo) reasons.push('request is marked as non-Steam, so Steam platform checks were intentionally skipped');
928
948
if (noLinuxFromSteam) reasons.push(`Steam API reports no Linux platform support for AppID ${steamAppId}`);
929
949
if (confirmedLinuxFromSteam) reasons.push(`Steam API reports Linux platform support for AppID ${steamAppId}`);
950
+
if (steamAppIsServerTool) reasons.push(`AppID ${steamAppId} has no Steam store page (common for dedicated server tools) — Steam platform check inconclusive`);
930
951
if (noLinuxFromAi && aiLinuxAssessment?.reason) reasons.push(`AI analysis of provided documentation: ${aiLinuxAssessment.reason}`);
931
952
if (linuxYesFromAi && aiLinuxAssessment?.reason) reasons.push(`AI analysis indicates Linux support: ${aiLinuxAssessment.reason}`);
953
+
if (likelySupportedByCheckbox) reasons.push('requester confirmed Linux support via the form checkbox; no contradicting evidence found');
932
954
933
955
let verdictLine = 'Linux support could not be confirmed automatically from the submitted details.';
934
956
if (confirmedNoLinux) {
935
957
verdictLine = 'This server request does **not** appear to have native Linux support, which is required for LinuxGSM.';
936
958
} else if (suggestsNoLinux) {
937
959
verdictLine = 'This server request **may not** have native Linux support based on submitted evidence.';
938
960
} else if (confirmedLinuxFromSteam) {
939
-
verdictLine = 'Steam metadata indicates this server supports Linux.';
961
+
verdictLine = 'Steam metadata confirms this server has Linux platform support.';
940
962
} else if (linuxYesFromAi) {
941
963
verdictLine = 'Submitted documentation appears to indicate Linux server support.';
964
+
} else if (likelySupportedByCheckbox) {
965
+
verdictLine = 'Linux support is **likely** — the requester confirmed it and no contradicting evidence was found. A maintainer should verify before accepting.';
942
966
}
943
967
968
+
const steamApiStatus = isSteamNo
969
+
? 'Not applicable'
970
+
: steamLinuxSupport === true
971
+
? 'Linux supported'
972
+
: steamLinuxSupport === false
973
+
? 'Linux not supported'
974
+
: steamAppIsServerTool
975
+
? 'Inconclusive — AppID has no store page (typical for dedicated server tools)'
976
+
: 'No definitive platform response';
977
+
944
978
const steamBlock = isSteamNo
945
979
? '**Steam:** No (non-Steam request)\n**Steam API:** Not applicable\n\n'
0 commit comments