The List Browser's search can ask only the bots that are online (#926) - #931
Merged
Merged
Conversation
AutoGet's Online Only. An Online only switch beside the cross-list filter keeps only the lists whose bot is in one of our channels right now; the rest are reported with the lists that had no match, so the sidebar dims them. Off, nothing changes. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AP6LSxkr4n9dMFNSNMogmW
# Conflicts: # docs/UPDATES-PUBLIC.md # docs/UPDATES.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Item 7 of #926, AutoGet's Online Only.
The cross-list filter searched every held list, including bots that left days ago, so the best match was often a file nobody could send.
?online=1.build_crosslist_search_payload(online_only=True)keeps only the lists whose bot is in one of our channels right now. It usesdcc.user_is_present_in_ram(), the same presence check every request uses. The rest are reported inempty, so the sidebar dims them.tests/test_the_search_can_ask_only_bots_that_are_online.py(5) covers the filter off, on, nobody online, and the route and page passing the flag. Removing the presence check fails two of them. Full suite 6614 OK. It merges cleanly with #925, #928, #929 and #930.🤖 Generated with Claude Code
https://claude.ai/code/session_01AP6LSxkr4n9dMFNSNMogmW