feat: terminal fullscreen, asyncpg fix, CI improvements #59

Merged
jimmy merged 18 commits from dev into main 2026-05-06 01:30:57 +08:00
2 changed files with 6 additions and 2 deletions
Showing only changes of commit f00b230c5e - Show all commits
+3 -1
View File
@@ -230,14 +230,16 @@ def mock_httpx_client():
@pytest.fixture @pytest.fixture
def test_app(mock_config, temp_auth_file, temp_rbac_file, mock_docker_client): def test_app(mock_config, temp_auth_file, temp_rbac_file, mock_docker_client, mock_conversation_db):
"""Create FastAPI test client with mocked dependencies.""" """Create FastAPI test client with mocked dependencies."""
# Reload routers to pick up new config values # Reload routers to pick up new config values
import importlib import importlib
import routers.files import routers.files
import routers.conversation_tracker
importlib.reload(routers.files) importlib.reload(routers.files)
importlib.reload(routers.conversation_tracker)
# Patch Docker client before importing main # Patch Docker client before importing main
with patch("docker.DockerClient", return_value=mock_docker_client): with patch("docker.DockerClient", return_value=mock_docker_client):
+3 -1
View File
@@ -4,7 +4,9 @@ import { svelte } from '@sveltejs/vite-plugin-svelte';
export default defineConfig({ export default defineConfig({
plugins: [ plugins: [
svelte({ svelte({
hot: !process.env.VITEST, hot: !process.env.VITEST ? {
preserveLocalState: true
} : false,
compilerOptions: { compilerOptions: {
dev: true dev: true
} }