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

Ws jwt transfer

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

  • Скачать
  • Почтовые патчи
  • Простое отличие
Слиты Погораев Олег Петрович запросил слияние ws-jwt-transfer в master Фев 09, 2025
  • Обзор 1
  • Коммиты 4
  • Конвейеры 0
  • Изменения 12

Created by: oblivisheee

This pull request includes several changes across multiple files to improve the handling of session tokens, update dependencies, and enhance error handling. The most important changes include modifying the session token mechanism in interfaces.rs, updating Dockerfile dependencies, and improving error handling in NATS communication.

Session Token Handling:

  • assistant/src/interfaces.rs: Changed the session token mechanism to use a message instead of a cookie. This includes updates to chat_session, process_session_token, and related helper functions. [1] [2] [3] [4] [5] [6] [7] [8] [9]

Dependency Updates:

  • assistant/Dockerfile, subscription/Dockerfile, users/Dockerfile: Updated the base image version for cargo-chef from latest to 0.1.68-rust-latest. [1] [2] [3]
  • users/Cargo.toml: Updated the nats-handling dependency from 0.1.2 to 0.1.3.

Error Handling Improvements:

  • subscription/src/nats.rs: Enhanced error handling by wrapping errors in Box to provide more context. [1] [2] [3] [4] [5]
  • users/src/main.rs: Improved error handling in the RequestProcessor implementation to use nats_handling::Error for better error propagation. [1] [2] [3]

Configuration Updates:

  • assistant/config.json: Updated API key and nats_bind address. [1] [2]
  • docker-compose.yaml: Updated API key in environment variables.

Minor Changes:

  • assistant/src/interfaces.rs: Adjusted JWT TTL from 30 to 31 minutes.
  • subscription/src/nats.rs: Improved error handling by wrapping errors in Box. [1] [2]
Ответственный
Назначить
Проверяющие
Запросить ревью
Оценка трудозатрат
Исходная ветка: ws-jwt-transfer