From 8cbc55b3ca7d2da44227ac9146a82ab28ed80c29 Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Wed, 4 Nov 2026 21:01:02 +0100 Subject: [PATCH 1/2] ci: run the manifest cleanup every 3 hours to avoid rate limits --- .github/workflows/clean-manifests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/clean-manifests.yaml b/.github/workflows/clean-manifests.yaml index 9dd08366d1..70c301fbf9 100644 --- a/.github/workflows/clean-manifests.yaml +++ b/.github/workflows/clean-manifests.yaml @@ -2,7 +2,7 @@ name: Clean manifests on: schedule: - - cron: "20 * * * *" + - cron: "20 */3 * * *" workflow_dispatch: permissions: {} From 1e71d0d7a42e0a45971d61391d39a0f07b8984b2 Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Wed, 4 Nov 2026 22:03:52 +0100 Subject: [PATCH 2/2] fix(server): move sshEndpointInUse out of the getIp closure --- app/Models/Server.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Models/Server.php b/app/Models/Server.php index 31c851af99..75f2e21fe1 100644 --- a/app/Models/Server.php +++ b/app/Models/Server.php @@ -2055,10 +2055,6 @@ $siteAddress { return normalizeIpAddress(preg_replace('/[^0-9a-zA-Z.:%-]/', '', (string) $value)); } - public function getIp(): Attribute - { - return Attribute::make( - get: function () { /** * Whether a server of any team already uses this SSH endpoint. The port is part of the endpoint, * so servers behind one NAT address with different forwarded SSH ports are different servers. @@ -2072,6 +2068,10 @@ $siteAddress { ->exists(); } + public function getIp(): Attribute + { + return Attribute::make( + get: function () { if (isDev()) { return '127.0.0.1'; }