Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Security
- **Patched Accelerate Dependency Vulnerability (CVE-2026-69112)**:
- Upgraded `accelerate` package to `1.15.0` to resolve path traversal and denial of service vulnerabilities in checkpoint weight maps, achieving clean `uv audit` scans.

### Fixed
- **CI Gitleaks History Depth**:
- Configured `fetch-depth: 0` in GitHub Actions checkout step to allow `gitleaks` secret detection to inspect the full commit history correctly.

### Changed
- **Code Style Alignment**:
- Formatted all scripts in `scratch/` and `scripts/` using `ruff format` to meet repo coding standards.

### Added
- **Inference Concurrency Control with Semaphore Protection (`MAX_CONCURRENT_INFERENCES`)**:
- Implemented `asyncio.Semaphore` limit around neural network embedding and reranking inference to prevent GPU/CPU saturation and CUDA OOM crashes.
Expand Down
4 changes: 4 additions & 0 deletions docs/log.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Knowledge Update Log

## 2026-09-14
* **Security & CI Remediation**: `accelerate` パッケージの脆弱性(CVE-2026-69112)を `uv lock --upgrade-package accelerate` によりパッチ版 `1.15.0` へアップデートし、`uv audit`(検出ゼロ)を達成。また GitHub Actions の Gitleaks アクション向けに `actions/checkout` へ `fetch-depth: 0` を適用し、CI セキュリティパイプラインおよび実データテスト(`scratch/verify_real_data.py`)をすべてグリーン(合格)に同期しました(PR #92 マージ完了)。
* **Code Health**: `scratch/` および `scripts/` の全コードに `ruff format` を適用し、リポジトリ全体のフォーマット整合性を完全担保しました。

## 2026-09-12
* **Performance & Comprehensive Benchmarks**: 全5モデル(ruri-30m, ruri-310m, bge-m3, bge-visualized-m3, ruri-reranker-310m)の実機ベンチマーク、バッチスケーリング(1〜64)、コンテキスト長スケーリング(32〜2048トークン)、マルチモーダル解像度別(64px〜1080p)推論レイテンシ、およびセマフォ制御下での高並行負荷テスト(50リクエスト/10並行、成功率100.0%、スループット 3.42 req/sec)の実測値を `docs/infrastructure/benchmarks.md` に更新・記録しました。
* **Architecture & Future Roadmap**: プロダクション要件の完備(推論セマフォ、マルチAPIキー認証、OpenAPI 3.x定義拡充、全178テストパス、mainブランチマージ完了)を受け、次期フェーズに向けた改善項目(インメモリ LRU キャッシュ層、Dynamic Request Batching、Helm Chart 整備、Hybrid 検索エンドポイント)をロードマップとして `docs/infrastructure/benchmarks.md` に Take Note 記録しました。
Expand Down
Loading