From 0e723b5bb74db95ce8b4ac9432036bdea8a550ea Mon Sep 17 00:00:00 2001 From: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com> Date: Thu, 14 Sep 2023 17:04:10 -0700 Subject: [PATCH] Removes Sleep Printing Library (#78324) ## About The Pull Request #76286, which spawned it, is dead. Don't need to hang onto it anymore per moth's instructions --- .github/workflows/run_integration_tests.yml | 1 - .gitignore | 3 --- code/__HELPERS/byond_status.dm | 7 ------- .../admin/view_variables/reference_tracking.dm | 4 ---- code/modules/unit_tests/_unit_tests.dm | 1 - code/modules/unit_tests/byond_status.dm | 9 --------- libbyond_sleeping_procs.so | Bin 13836 -> 0 bytes tgstation.dme | 1 - 8 files changed, 26 deletions(-) delete mode 100644 code/__HELPERS/byond_status.dm delete mode 100644 code/modules/unit_tests/byond_status.dm delete mode 100644 libbyond_sleeping_procs.so diff --git a/.github/workflows/run_integration_tests.yml b/.github/workflows/run_integration_tests.yml index 6982de7f88b..404119d9880 100644 --- a/.github/workflows/run_integration_tests.yml +++ b/.github/workflows/run_integration_tests.yml @@ -60,7 +60,6 @@ jobs: tools/build/build --ci dm -DCIBUILDING -DANSICOLORS -WError -NWTG0001 - name: Run Tests run: | - cp libbyond_sleeping_procs.so ~/.byond/bin/libbyond_sleeping_procs.so source $HOME/BYOND/byond/bin/byondsetup bash tools/ci/run_server.sh ${{ inputs.map }} - name: Upload screenshot tests diff --git a/.gitignore b/.gitignore index ee94ed86b04..f5801d891f9 100644 --- a/.gitignore +++ b/.gitignore @@ -24,9 +24,6 @@ # Ignore compiled linux libs in the root folder, e.g. librust_g.so /*.so -# Remove when removing byond_status -!/libbyond_sleeping_procs.so - #Ignore compiled files and other files generated during compilation. *.mdme *.mdme.* diff --git a/code/__HELPERS/byond_status.dm b/code/__HELPERS/byond_status.dm deleted file mode 100644 index 1985080418c..00000000000 --- a/code/__HELPERS/byond_status.dm +++ /dev/null @@ -1,7 +0,0 @@ -/// Returns the debug status, including sleeping procs. -/// If this blame is older than a month, please revert the PR that added it. -/proc/byond_status() - if (world.system_type == UNIX) - return LIBCALL("libbyond_sleeping_procs.so", "get_status")() - else - return "byond_status is not supported on [world.system_type]" diff --git a/code/modules/admin/view_variables/reference_tracking.dm b/code/modules/admin/view_variables/reference_tracking.dm index 067179e1ecc..a5b2af68c77 100644 --- a/code/modules/admin/view_variables/reference_tracking.dm +++ b/code/modules/admin/view_variables/reference_tracking.dm @@ -22,10 +22,6 @@ if(usr?.client) usr.client.running_find_references = type -#ifdef UNIT_TESTS - log_reftracker("Currently sleeping procs [byond_status()]") -#endif - log_reftracker("Beginning search for references to a [type].") var/starting_time = world.time diff --git a/code/modules/unit_tests/_unit_tests.dm b/code/modules/unit_tests/_unit_tests.dm index f86e22d9313..fd68150e44c 100644 --- a/code/modules/unit_tests/_unit_tests.dm +++ b/code/modules/unit_tests/_unit_tests.dm @@ -104,7 +104,6 @@ #include "bloody_footprints.dm" #include "breath.dm" #include "burning.dm" -#include "byond_status.dm" #include "cable_powernets.dm" #include "card_mismatch.dm" #include "cardboard_cutouts.dm" diff --git a/code/modules/unit_tests/byond_status.dm b/code/modules/unit_tests/byond_status.dm deleted file mode 100644 index e2788831556..00000000000 --- a/code/modules/unit_tests/byond_status.dm +++ /dev/null @@ -1,9 +0,0 @@ -/// Tests the SUPPOSED TO BE TEMPORARY byond_status() proc for a useful format -/datum/unit_test/byond_status - -/datum/unit_test/byond_status/Run() - if (world.system_type != UNIX) - return - - var/status = byond_status() - TEST_ASSERT(findtext(status, "Sleeping procs"), "Invalid byond_status: [status]") diff --git a/libbyond_sleeping_procs.so b/libbyond_sleeping_procs.so deleted file mode 100644 index 8596115fd9624a3434ebabdacb08264fef310e2f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 13836 zcmeHOO>7%Q6n;)zaH$EUR8VLR7K%{$GjR{aDa;C`({01aXG*dF;DvT zy>H%|nVq-xN;~`Zfkb~_AP^8Ot7VuaDsl0K@4F$jSg@^`;sT@ z?16}g#%1M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diff --git a/tgstation.dme b/tgstation.dme index 4bb8afedd2b..72446b9209f 100644 --- a/tgstation.dme +++ b/tgstation.dme @@ -371,7 +371,6 @@ #include "code\__HELPERS\atoms.dm" #include "code\__HELPERS\auxtools.dm" #include "code\__HELPERS\bitflag_lists.dm" -#include "code\__HELPERS\byond_status.dm" #include "code\__HELPERS\cameras.dm" #include "code\__HELPERS\chat.dm" #include "code\__HELPERS\chat_filter.dm"