fix(aider): stdlib logging → structlog + typing-extensions dep (E2E修復)
Some checks failed
CD Pipeline / build-and-deploy (push) Has been cancelled

- aider_events.py: logging.getLogger → structlog.get_logger (keyword args compatible)
- pyproject.toml: add typing-extensions>=4.0 (python-ulid 3.x requires Self)

2026-04-20 @ Asia/Taipei
This commit is contained in:
Your Name
2026-04-20 19:59:01 +08:00
parent 72aea671b3
commit 1744b1e923
2 changed files with 3 additions and 3 deletions

View File

@@ -5,13 +5,13 @@ from __future__ import annotations
import hmac
import hashlib
import os
import logging
import structlog
from fastapi import APIRouter, Header, HTTPException, Request, status
from pydantic import ValidationError
from src.models.aider import AiderBatchIn
from src.services.aider_event_service import push_aider_batch_to_stream
logger = logging.getLogger(__name__)
logger = structlog.get_logger(__name__)
router = APIRouter(prefix="/aider", tags=["Aider"])

View File

@@ -3,7 +3,7 @@ name = "aider-watch-client"
version = "0.2.0"
description = "Mac client for aider-watch (posts events to awoooi API)"
requires-python = ">=3.11"
dependencies = ["requests>=2.31", "python-ulid>=3.0"]
dependencies = ["requests>=2.31", "python-ulid>=3.0", "typing-extensions>=4.0"]
[project.optional-dependencies]
dev = ["pytest>=8.0"]