From b971d2ed974abb9a1dfeed651560c72e004e6145 Mon Sep 17 00:00:00 2001 From: Kolkman Date: Wed, 26 Aug 2026 18:27:32 +0200 Subject: [PATCH] Test fix --- VIBE/CHAT_LOG.md | 6 ++++++ VIBE/PROMPTS.md | 1 + XPI/unsigned/LinkLog-0.1.0.xpi | Bin 50359 -> 50359 bytes backend/tests/test_api.py | 1 + 4 files changed, 8 insertions(+) diff --git a/VIBE/CHAT_LOG.md b/VIBE/CHAT_LOG.md index e1c68dd..67812ec 100644 --- a/VIBE/CHAT_LOG.md +++ b/VIBE/CHAT_LOG.md @@ -1,5 +1,11 @@ # Chat Log +### User +Run full backend and frontend test suites. + +### Assistant outcome +The normal backend suite passed with 46 tests. Frontend and extension validation passed for all JavaScript syntax checks, JSON files, XPI rebuild, and unsigned XPI validation. The warnings-as-errors backend variant failed on unclosed SQLite connection `ResourceWarning` instances under Python 3.13; no functional tests failed. + ### User Address SA-007 and use linklog.example.com as default LINKLOG_PUBLIC_URL. diff --git a/VIBE/PROMPTS.md b/VIBE/PROMPTS.md index 6510d2f..e7a64ce 100644 --- a/VIBE/PROMPTS.md +++ b/VIBE/PROMPTS.md @@ -187,6 +187,7 @@ 183. Also allow an admin to reset (disable) OTP for any user. 183. Fix SA-009: TOTP enrollment has no recovery codes or reset workflow. 183. Address SA-007 and use linklog.example.com as the default LINKLOG_PUBLIC_URL. +184. Run full backend and frontend test suites. ## Future entries diff --git a/XPI/unsigned/LinkLog-0.1.0.xpi b/XPI/unsigned/LinkLog-0.1.0.xpi index c63f3d07b6dc0a19619d1a0eb366f94b06ebbbf4..6657fbfc86593003ea9bd0b2e53463ec88210bf2 100644 GIT binary patch delta 151 zcmdnq$-KRjnJ2)TnMH(wiGhQGbJ9c}6}BM3{;bV{8_gcKGI36tEZwFE76}sE?9}$2 zPn~O$RO~Db(WX=`28Ju@3_x8n3n3}2y(!YP75lCpV=0Taw g0{cywKw|C(^_i^sCs!QY1LBz-(uJ#NI%LWO01-|y;{X5v diff --git a/backend/tests/test_api.py b/backend/tests/test_api.py index aa570c6..37b8f42 100644 --- a/backend/tests/test_api.py +++ b/backend/tests/test_api.py @@ -14,6 +14,7 @@ from backend.app.main import app from backend.app.database import get_connection from backend.app.services.email_service import get_smtp_settings from backend.app.services.login_throttle import clear_login_failures +from backend.app.services.otp_service import current_code from backend.app.services.password_reset import create_reset_token from backend.app.services.token_service import issue_token