Post by @fionescu

btw fun fact Mastodon contains *one* Claude commit.

probably maybe someone fork before it gets worse?

commit fdbc41df8ea7591ec7da9759a97c6ebe0c1046a0
Author: Sam Ruby <rubys@intertwingly.net>
Date: Tue Jul 7 03:53:04 2026 -0400

Fix N+1 queries when rendering accounts on the admin collection page (#39738)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

diff --git a/app/controllers/admin/collections_controller.rb b/app/controllers/admin/collections_controller.rb
index 405c779e3d..6427016eea 100644
--- a/app/controllers/admin/collections_controller.rb
+++ b/app/controllers/admin/collections_controller.rb
@@ -51,7 +51,7 @@ module Admin
end

def set_collection
- @collection = @account.collections.includes(accepted_collection_items: :account).find(params[:id])
+ @collection = @account.collections.includes(accepted_collection_items: { account: [:account_stat, user: [:ips, :invite_request]] }).find(params[:id])
end

def set_collections

Replying to @libreleah@mas.to

@libreleah@mas.to If people want no-LLM fediverse software, there's already GoToSocial and snac