mateclaw/mateclaw-server/src/main/java/vip/mate/wiki/service
matevip 0301d5628e fix(wiki): JobStageBar stuck at queued — add job stage transitions
Root cause: processRawMaterial() created a job record at queued stage
but never called jobService.transition() during processing. The job row
stayed at queued forever, so the stage bar never advanced.

Backend (WikiProcessingService):
- Transition job to ROUTING immediately after creation
- Transition to PHASE_A_RUNNING before chunk processing begins
- Transition to COMPLETED/PARTIAL/FAILED at the end based on finalStatus
- Transition to FAILED in the catch block on unhandled exceptions

Backend (WikiProcessingJobService.transition):
- Handle FAILED, PARTIAL terminal stages (set finishedAt + status)
- Handle non-terminal intermediate stages (set status to running)

Frontend (JobStageBar.vue):
- Add stageMapping for backend stages not shown as dots: phase_a_done →
  phase_b_running, failed/partial/cancelled → completed position
- Guard stageIndex() against -1 (unknown stages default to all-pending)
- Terminal failure states show red failed dot instead of pulsing active
2026-04-19 20:53:35 +08:00
..
HybridRetriever.java chore: sync multiple commits from private dev 2026-04-19 18:37:44 +08:00
WikiChunkService.java feat(wiki): semantic hybrid search + chunk persistence + deep research pipeline 2026-04-16 17:11:31 +08:00
WikiCitationService.java chore: sync multiple commits from private dev 2026-04-19 18:37:44 +08:00
WikiContextService.java chore: sync multiple commits from private dev 2026-04-19 18:37:44 +08:00
WikiDirectoryScanService.java feat(wiki): add LLM Wiki knowledge base system 2026-04-08 10:55:50 +08:00
WikiEmbeddingService.java fix(wiki): sub-segment mean-pool embedding for chunks exceeding model token limit 2026-04-16 17:12:17 +08:00
WikiKnowledgeBaseService.java feat(llm): UI-configurable embedding models with per-KB binding and dynamic factory 2026-04-16 17:12:00 +08:00
WikiLinkEnrichmentService.java chore: sync multiple commits from private dev 2026-04-19 18:37:44 +08:00
WikiPageService.java chore: sync multiple commits from private dev 2026-04-19 18:37:44 +08:00
WikiProcessingService.java fix(wiki): JobStageBar stuck at queued — add job stage transitions 2026-04-19 20:53:35 +08:00
WikiRawMaterialService.java fix(wiki): recover raw materials stuck in processing on server restart 2026-04-19 19:37:50 +08:00
WikiRelationService.java chore: sync multiple commits from private dev 2026-04-19 18:37:44 +08:00
WikiResearchService.java refactor(prompt): clean up prompt corpus, fix summary_budget bug, route fallbacks through i18n 2026-04-19 09:02:37 +08:00