v2.26.0: fix SSE fanout crash and branded logo FOUC

- Fix SSE fanout thread AttributeError when source queue is None during
  interpreter shutdown by snapshotting to local variable with null guard
- Fix branded "i" logo rendering oversized on first page load (FOUC) by
  adding inline width/height to SVG elements across 10 templates
- Bump version to 2.26.0 in config.py, pyproject.toml, and CHANGELOG.md

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Smittix
2026-03-13 11:51:27 +00:00
parent 00362bcd57
commit e00fbfddc1
183 changed files with 2006 additions and 4243 deletions
+16 -12
View File
@@ -10,23 +10,27 @@ Tests cover:
import json
import os
import pytest
import tempfile
from unittest.mock import Mock, patch, MagicMock
import sys
import tempfile
from unittest.mock import Mock, patch
import pytest
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from utils.agent_client import (
AgentClient, AgentHTTPError, AgentConnectionError, create_client_from_agent
)
from utils.agent_client import AgentClient, AgentConnectionError, AgentHTTPError, create_client_from_agent
from utils.database import (
init_db, get_db_path, create_agent, get_agent, get_agent_by_name,
list_agents, update_agent, delete_agent, store_push_payload,
get_recent_payloads, cleanup_old_payloads
create_agent,
delete_agent,
get_agent,
get_agent_by_name,
get_recent_payloads,
init_db,
list_agents,
store_push_payload,
update_agent,
)
# =============================================================================
# AgentConfig Tests
# =============================================================================
@@ -559,8 +563,8 @@ class TestAgentClientIntegration:
@pytest.fixture
def mock_agent(self):
"""Start mock agent server for testing."""
from tests.mock_agent import app as mock_app
import threading
# Run mock agent in background
mock_app.config['TESTING'] = True