Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

fix(ci): resolve 9 remaining failures blocking Create Release #1118 (#2397)

LearningCircuit473065be204f
diff --git a/.github/workflows/docker-tests.yml b/.github/workflows/docker-tests.yml
index 355dfc7e26..d166ed8f50 100644
--- a/.github/workflows/docker-tests.yml
+++ b/.github/workflows/docker-tests.yml
@@ -155,9 +155,7 @@ jobs:
cd tests/infrastructure_tests && npm ci
- name: Run all pytest tests with coverage
- # In strict mode (release pipeline): tests are blocking
- # In normal mode (PR/push): continue even if some tests fail for coverage report
- continue-on-error: ${{ !inputs.strict-mode }}
+ # Tests are always blocking - failures should not be silently ignored
env:
OPENROUTER_API_KEY: ${{ secrets.OPENROUTER_API_KEY }}
run: |
diff --git a/src/local_deep_research/web/templates/auth/login.html b/src/local_deep_research/web/templates/auth/login.html
index bdf1e0574a..1e8d151e7e 100644
--- a/src/local_deep_research/web/templates/auth/login.html
+++ b/src/local_deep_research/web/templates/auth/login.html
@@ -199,6 +199,7 @@
.ldr-form-control {
width: 100%;
padding: 0.75rem 1rem;
+ min-height: 44px;
background: var(--bg-tertiary);
border: 1px solid var(--border-color);
border-radius: 8px;
diff --git a/tests/fix_tests/test_milestone_logging_fix.py b/tests/fix_tests/test_milestone_logging_fix.py
index 1d06538a61..f2bb099991 100644
--- a/tests/fix_tests/test_milestone_logging_fix.py
+++ b/tests/fix_tests/test_milestone_logging_fix.py
@@ -169,8 +169,12 @@ class TestMilestoneLogging:
for future in futures:
future.result()
- # Verify each thread had its own research_id binding
+ # Verify each thread had its own research_id binding (order-independent)
assert len(results) == 3
- for i, result in enumerate(results):
- assert result["bind_call"][1]["research_id"] == i
- assert result["log_call"][0][1] == f"Thread {i} milestone"
+ seen_ids = set()
+ for result in results:
+ rid = result["research_id"]
+ assert result["bind_call"][1]["research_id"] == rid
+ assert result["log_call"][0][1] == f"Thread {rid} milestone"
+ seen_ids.add(rid)
+ assert seen_ids == {0, 1, 2}
diff --git a/tests/ui_tests/playwright/tests/all-pages-mobile.spec.js b/tests/ui_tests/playwright/tests/all-pages-mobile.spec.js
index 6dab1e99d9..e553841a19 100644
--- a/tests/ui_tests/playwright/tests/all-pages-mobile.spec.js
+++ b/tests/ui_tests/playwright/tests/all-pages-mobile.spec.js
@@ -36,9 +36,9 @@ const PAGES = [
{ path: '/settings/', name: 'Settings', priority: 'high' },
{ path: '/news/', name: 'News Feed', priority: 'high' },
{ path: '/library/', name: 'Library', priority: 'high' },
- { path: '/metrics/', name: 'Metrics Dashboard', priority: 'high', loadState: 'domcontentloaded' },
- { path: '/benchmark/', name: 'Benchmark', priority: 'medium', loadState: 'domcontentloaded' },
- { path: '/metrics/context-overflow', name: 'Context Overflow', priority: 'medium', loadState: 'domcontentloaded' },
+ { path: '/metrics/', name: 'Metrics Dashboard', priority: 'high' },
+ { path: '/benchmark/', name: 'Benchmark', priority: 'medium' },
+ { path: '/metrics/context-overflow', name: 'Context Overflow', priority: 'medium' },
{ path: '/metrics/star-reviews', name: 'Star Reviews', priority: 'medium' },
{ path: '/metrics/costs', name: 'Cost Analytics', priority: 'medium' },
{ path: '/metrics/links', name: 'Link Analytics', priority: 'medium' },
@@ -291,6 +291,9 @@ test.describe('All Pages - Content Above Mobile Nav', () => {
return panels.length === 0 || Array.from(panels).every(el => el.style.display === 'none' || el.offsetHeight === 0);
}, { timeout: 5000 }).catch(() => {});
+ // Ensure page is fully loaded before heavy DOM operations (WebKit stability)
+ await page.waitForLoadState('load').catch(() => {});
+
// Scroll to bottom to check last content
await page.evaluate(() => window.scrollTo(0, document.body.scrollHeight));
// Wait for scroll to settle at the bottom
diff --git a/tests/ui_tests/playwright/tests/auth-pages-mobile.spec.js b/tests/ui_tests/playwright/tests/auth-pages-mobile.spec.js
index f1ee09bb7b..2be91785e1 100644
--- a/tests/ui_tests/playwright/tests/auth-pages-mobile.spec.js
+++ b/tests/ui_tests/playwright/tests/auth-pages-mobile.spec.js
@@ -288,7 +288,7 @@ test.describe('Auth Pages Mobile', () => {
const registerLink = page.locator('a[href*="register"]');
if (await registerLink.count() > 0) {
await Promise.all([
- page.waitForURL('**/auth/register', { timeout: 15000 }),
+ page.waitForURL('**/auth/register', { timeout: 15000, waitUntil: 'domcontentloaded' }),
registerLink.click(),
]);
@@ -303,7 +303,7 @@ test.describe('Auth Pages Mobile', () => {
const loginLink = page.locator('a[href*="login"]');
await expect(loginLink).toBeVisible();
await Promise.all([
- page.waitForURL('**/auth/login', { timeout: 15000 }),
+ page.waitForURL('**/auth/login', { timeout: 15000, waitUntil: 'domcontentloaded' }),
loginLink.click(),
]);
diff --git a/tests/ui_tests/playwright/tests/interactive-states.spec.js b/tests/ui_tests/playwright/tests/interactive-states.spec.js
index 2bacc8f1ae..8f5907c6bb 100644
--- a/tests/ui_tests/playwright/tests/interactive-states.spec.js
+++ b/tests/ui_tests/playwright/tests/interactive-states.spec.js
@@ -154,7 +154,7 @@ test.describe('Settings - Search Filtering', () => {
await searchInput.fill('zzz_nonexistent_setting_xyz');
await page.waitForLoadState('domcontentloaded');
await page.waitForFunction(() => {
- const items = document.querySelectorAll('.ldr-settings-group, .ldr-setting-item, [class*="setting"]');
+ const items = document.querySelectorAll('.settings-item');
let visibleCount = 0;
items.forEach(el => {
const style = window.getComputedStyle(el);
@@ -162,14 +162,12 @@ test.describe('Settings - Search Filtering', () => {
visibleCount++;
}
});
- return visibleCount < 5;
+ return visibleCount === 0;
}, { timeout: 10000 });
- // Check that no settings are visible or an empty state is shown
+ // Check that no setting items are visible
const visibleSettings = await page.evaluate(() => {
- const items = document.querySelectorAll(
- '.ldr-settings-group:not([style*="display: none"]), .ldr-setting-item:not([style*="display: none"])'
- );
+ const items = document.querySelectorAll('.settings-item');
let visibleCount = 0;
items.forEach(el => {
const style = window.getComputedStyle(el);
@@ -180,9 +178,8 @@ test.describe('Settings - Search Filtering', () => {
return visibleCount;
});
- // With a nonsense query, very few or no settings should match
- // (some containers may remain visible even if content is hidden)
- expect(visibleSettings, 'Non-matching query should show very few results').toBeLessThan(5);
+ // With a nonsense query, no setting items should match
+ expect(visibleSettings, 'Non-matching query should show no setting items').toBe(0);
}
});
@@ -215,7 +212,7 @@ test.describe('Mobile More Menu - Navigation', () => {
await moreBtn.click();
// Look for Metrics item in the opened sheet menu (rendered as button, not <a>)
- const metricsItem = page.locator('.ldr-mobile-sheet-item:has-text("Metrics"), button[data-item-id="metrics"], a:has-text("Metrics"), [href*="metrics"]');
+ const metricsItem = page.locator('.ldr-mobile-sheet-item[data-item-id="metrics"]');
await metricsItem.first().waitFor({ state: 'visible' });
if (await metricsItem.count() > 0 && await metricsItem.first().isVisible()) {