Skip to content

Each bot's advertised slots, queue and speed show in the List Browser (#926) - #932

Merged
Ninja-FSE merged 2 commits into
mainfrom
feat/926-bots-slots-queue-speed
Sep 24, 2026
Merged

Ninja-FSE merged 2 commits into
mainfrom
feat/926-bots-slots-queue-speed

Conversation

@chchatzop

Copy link
Copy Markdown
Collaborator

Item 8 of #926, AutoGet's slots page. Stacked on #931, since both touch the same dashboard strings and CSS. It merges cleanly with #925, #929 and #930.

  • Parsing: _parse_omenserve_advert() now keeps slots_free/slots_total (free/total, the same sense as parse_search_header()), queued, speed and mode. SPQR's [(2/7) Slots (5/216) Ques Taken] gives slots_in_use/slots_total and queued. Only what a bot actually published is kept.
  • Freshness is unaffected: _advert_snapshot() still compares only files and date, since these figures change with every send.
  • Display: each sidebar row gets advert_live (webserver._advert_live()), shown for online bots only as one line under the nick, e.g. 3/10 free · 12 queued · 45000cps · Servers Only.
    • Numbers too large for JavaScript are left out, as _advert_now() already does.
    • The line is written with textContent, because every piece of it comes from another bot's advert.

tests/test_a_bots_slots_queue_and_speed_are_shown.py (9); three mutations checked. Full suite 6623 OK.

🤖 Generated with Claude Code

https://claude.ai/code/session_01AP6LSxkr4n9dMFNSNMogmW

…#926)

AutoGet's slots page. OmenServe-style adverts keep slots free/total,
queued, speed and mode; SPQR's keep slots in use/total and queued. Only
what a bot said is kept, and freshness still compares file count and
date only. The List Browser shows them as one line under an online bot,
as text.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AP6LSxkr4n9dMFNSNMogmW
@Ninja-FSE
Ninja-FSE merged commit a5d3fa9 into main Sep 24, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants