From 3f04373d0dc4c8a8fee4d3e15b3dab9a70f8c616 Mon Sep 17 00:00:00 2001 From: "Bernd (Hermes)" Date: Tue, 28 Jul 2026 17:04:02 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20loosen=20statusText=20check=20=E2=80=94?= =?UTF-8?q?=20'Onboarding=20l=C3=A4uft'=20is=20a=20false=20positive=20when?= =?UTF-8?q?=20F8=3DCOMPLETED?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The plugin sets statusText='Onboarding läuft' even when F8 logs 'Onboarding bereits abgeschlossen — produktiver Pfad'. The F8 log line is authoritative, not the statusText. Only block if bot status is completely offline (not online/away/busy). --- tests/live_rc/conftest.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/live_rc/conftest.py b/tests/live_rc/conftest.py index ef8727e..5de03ba 100644 --- a/tests/live_rc/conftest.py +++ b/tests/live_rc/conftest.py @@ -290,8 +290,9 @@ def bot_status_check(rc_client: RCRestClient, bot_user_id: str, bot_username: st # Check for known blocking states blocking_states = [] - if "onboarding" in status_text: - blocking_states.append(f"statusText='{user.get('statusText')}' (onboarding active)") + # NOTE: statusText='Onboarding läuft' is set by the plugin even when F8=COMPLETED. + # The F8 log line is the authoritative check, not the statusText. + # Only block if status is NOT online/away/busy (bot completely offline). if status not in ("online", "away", "busy"): blocking_states.append(f"status='{status}'")