Skip to content

AO3-4412 Adding a test to ensure there are not N+1 issues when loading inbox comments on the homepage#5913

Open
ASalbenblatt wants to merge 2 commits into
otwcode:masterfrom
ASalbenblatt:AO3-4412-N+1-on-logged-in-homepage-for-inbox
Open

AO3-4412 Adding a test to ensure there are not N+1 issues when loading inbox comments on the homepage#5913
ASalbenblatt wants to merge 2 commits into
otwcode:masterfrom
ASalbenblatt:AO3-4412-N+1-on-logged-in-homepage-for-inbox

Conversation

@ASalbenblatt

@ASalbenblatt ASalbenblatt commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

Pull Request Checklist

Issue

https://otwarchive.atlassian.net/browse/AO3-4412

Purpose

There used to be an issue where there were N+1 database queries when loading inbox comments on the homepage. It looks like this was fixed in AO3-4380, though a test was never added. This PR adds a test for that fix so it won't happen again.

Testing Instructions

Testing is all automated.

Note: the line numbers in the Jira issue no longer point to the relevant lines, as they have moved from commits in the intervening years.

Credit

FlyingFalcon they/them

@github-actions github-actions Bot added Scope: Tests Only Only changes automated tests or test configuration Awaiting Review labels Jun 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Awaiting Review Scope: Tests Only Only changes automated tests or test configuration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant