WeKnora/internal
wizardchen 362bc7f6e5 feat(session): enhance stop watcher with timeout for improved resource management
- Introduced a constant `stopWatcherMaxDuration` to limit the lifetime of the stop watcher, preventing potential resource leaks in pathological stream scenarios.
- Updated the `startStopWatcher` function to use a context with a timeout, ensuring the watcher self-terminates after the specified duration.
- Refactored the handling of stop events to improve clarity and maintainability, ensuring the watcher exits appropriately on terminal stream events or user requests.
- Removed the `stopWatchCancel` from the `sseStreamContext` as the watcher now manages its own lifecycle more effectively.
2026-06-04 15:48:04 +08:00
..
agent fix: deep-copy stored files and images when cloning a knowledge base 2026-06-03 14:45:59 +08:00
application fix(session): handle user-requested stop events gracefully in QA execution 2026-06-04 15:48:04 +08:00
assets feat(assets): add ASR test audio file and embed it in the application 2026-04-02 21:27:27 +08:00
common feat: Implement deadlock retry mechanism for chunk creation 2026-04-22 21:17:21 +08:00
config test: add document process task options tests 2026-05-28 20:27:53 +08:00
container feat(chat): implement local image resolver for multimodal chat 2026-06-01 20:54:37 +08:00
database feat(system-info): surface DB migration errors with troubleshooting links 2026-05-14 16:34:50 +08:00
datasource fix(datasource): align Feishu connector capabilities 2026-06-04 15:33:03 +08:00
errors feat(knowledge): track per-stage parsing progress with /stages API 2026-05-28 15:14:45 +08:00
event fix(event): add panic recovery to async goroutines 2026-06-04 15:37:08 +08:00
handler feat(session): enhance stop watcher with timeout for improved resource management 2026-06-04 15:48:04 +08:00
im fix: deep-copy stored files and images when cloning a knowledge base 2026-06-03 14:45:59 +08:00
infrastructure fix: deep-copy stored files and images when cloning a knowledge base 2026-06-03 14:45:59 +08:00
logger refactor(logger): support LOG_FORMAT template and harden level coloring 2026-05-22 20:31:54 +08:00
mcp feat(mcp): implement reconnection logic for MCP tool calls and tool listing 2026-03-31 11:57:15 +08:00
middleware fix(knowledge): prevent documents from getting stuck in "processing" 2026-05-28 15:14:45 +08:00
models feat(docreader): speed up scanned-PDF parsing, stream image results, isolate heavy async queues 2026-06-03 12:29:13 +08:00
router fix: deep-copy stored files and images when cloning a knowledge base 2026-06-03 14:45:59 +08:00
runtime chore(runtime): silence gin per-route logs and emit env config banner at startup 2026-05-17 15:27:52 +08:00
sandbox 增加sandbox对windows编译支持,现在默认是linux的实现,windows直接编译报错 2026-05-25 16:57:56 +08:00
searchutil fix(knowledge): stitch chunks by text overlap, not by position 2026-05-30 17:53:47 +08:00
stream
…
tracing feat(observability): extend Langfuse tracing across asynq pipeline 2026-04-24 13:16:47 +08:00
types fix: validate vector store connection addresses against SSRF policy 2026-06-04 15:26:56 +08:00
utils fix(embedding): support native Gemini embeddings 2026-06-02 21:37:58 +08:00