From b44a7975bcb698e1f86c0c472f2864a64b6d8fea Mon Sep 17 00:00:00 2001 From: pyr0ball Date: Sun, 17 May 2026 21:50:35 -0700 Subject: [PATCH] =?UTF-8?q?fix(ci):=20restore=20green=20CI=20=E2=80=94=20l?= =?UTF-8?q?ibsqlcipher-dev,=20prep/survey=20test=20drift?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Backend: add apt-get install libsqlcipher-dev before pip install so pysqlcipher3 builds in the runner image. Frontend: prep.test.ts was missing a qa mock (fetchFor now calls 5 endpoints in parallel; tests only mocked 4 — 5th returned undefined, threw in catch, research.value never set). survey.test.ts: analyze() was refactored from sync-result to async-task+poll; update test to mock POST then poll completion. Also remove Classic UI (Streamlit) button from AppNav — Streamlit is deprecated and the button caused an unrecoverable redirect loop. --- .forgejo/workflows/ci.yml | 3 +++ web/src/components/AppNav.vue | 43 ----------------------------------- web/src/stores/prep.test.ts | 9 +++++++- web/src/stores/survey.test.ts | 9 +++++++- 4 files changed, 19 insertions(+), 45 deletions(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index d18ca3c..9f70b2e 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -23,6 +23,9 @@ jobs: python-version: '3.12' cache: pip + - name: Install system dependencies + run: sudo apt-get update -q && sudo apt-get install -y libsqlcipher-dev + - name: Install dependencies run: pip install -r requirements.txt diff --git a/web/src/components/AppNav.vue b/web/src/components/AppNav.vue index 59f7265..7668e9b 100644 --- a/web/src/components/AppNav.vue +++ b/web/src/components/AppNav.vue @@ -59,9 +59,6 @@