• K kiroshi-ai
  • Информация о проекте
    • Информация о проекте
    • Активность
    • Метки
    • Участники
  • Репозиторий
    • Репозиторий
    • Файлы
    • Коммиты
    • Ветки
    • Теги
    • Участники
    • Диаграмма
    • Сравнение
  • Задачи 0
    • Задачи 0
    • Список
    • Доски
    • Спринты
  • Запросы на слияние 0
    • Запросы на слияние 0
  • CI/CD
    • CI/CD
    • Конвейеры
    • Задания
    • Расписания
  • Развертывания
    • Развертывания
    • Окружения
    • Релизы
  • Пакеты и реестры
    • Пакеты и реестры
    • Реестр пакетов
    • Реестр контейнеров
  • Мониторинг
    • Мониторинг
    • Метрики
    • Инциденты
  • Аналитика
    • Аналитика
    • Поток ценности
    • CI/CD
    • Репозиторий
  • Wiki
    • Wiki
  • Сниппеты
    • Сниппеты
  • Активность
  • Диаграмма
  • Создать новую задачу
  • Задания
  • Коммиты
  • Доски с задачами
Свернуть панель
  • Погораев Олег Петрович
  • kiroshi-ai
  • Запросы на слияние
  • !11

Error fixes

  • Ревью изменений

  • Скачать
  • Почтовые патчи
  • Простое отличие
Слиты Погораев Олег Петрович запросил слияние error-fixing в develop Янв 05, 2025
  • Обзор 1
  • Коммиты 3
  • Конвейеры 0
  • Изменения 11

Created by: oblivisheee

This pull request includes several updates to improve logging, update dependencies, and fix bugs in the codebase. The most important changes include adding structured logging with tracing, updating the tracing-subscriber dependency, fixing bugs in the chat-related functions, and refactoring the SessionJWT structure.

Logging Improvements:

  • assistant/src/interfaces.rs: Added structured logging using the tracing crate, including info, debug, warn, and instrument macros to various functions for better observability.

Dependency Updates:

  • assistant/Cargo.toml: Updated the tracing-subscriber dependency to include the env-filter feature.

Bug Fixes:

  • assistant/sql/functions.surql: Corrected the fn::update_chat function to update the chat table instead of the plan table.
  • assistant/config.json: Changed the server_bind address from 0.0.0.0:3500 to 127.0.0.1:3500 for improved security.

Code Refactoring:

  • assistant/src/interfaces.rs: Refactored the SessionJWT structure to directly store the payload as a String and simplified the session token processing logic. [1] [2]

Additional Enhancements:

  • assistant/src/main.rs: Initialized the tracing_subscriber with detailed configuration for better log output, including file names, line numbers, and log levels.
Ответственный
Назначить
Проверяющие
Запросить ревью
Оценка трудозатрат
Исходная ветка: error-fixing