refactor(desktop): structure suggestion pipeline and restore test gates

This commit is contained in:
Yun Chan 2026-10-31 23:14:11 +09:00
parent fe0989c456
commit 1d4f8d8401
17 changed files with 813 additions and 569 deletions

View file

@ -12,6 +12,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Additional Whisper model management UI
- Plugin system for custom pipelines
## [1.15.4] - 2026-10-31
> Published from an annotated tag. Installer and update metadata are served by the
> canonical Forgejo feed; no binaries are committed to this repository.
### Changed
- **Suggestion generation pipeline modularization (`SuggestionService`).**
- Separates model-request construction, first-candidate retries, generation-session lifecycle, stale-result validation, failure fallback, and filled-candidate ranking/publication into named boundaries while preserving cancellation, timeout, personal-memory fallback, and candidate ordering behavior.
### Fixed
- **Desktop test reliability and offline release gate.**
- Restores the 35 previously failing offline tests by preserving real STT exports in partial mocks, consolidating popup renderer recovery coverage, and aligning built-in instruction and synthetic Unicode input expectations with current behavior.
- Splits Vitest into explicit unit, service, integration, evaluation, and all scopes; the default desktop test gate now runs 2,764 deterministic offline tests with zero failures.
## [1.15.3] - 2026-10-31
> Published from an annotated tag. Installer and update metadata are served by the