WeKnora/internal/application/service/file
wizardchen b6d3420a5d fix: harden document pipeline concurrency and diagnostics
- docreader: serialize all pdfium access behind a global lock. pypdfium2
  is process-global and not thread-safe, so concurrent PDF uploads could
  corrupt its shared state and deadlock the whole process (requests stuck
  in "Parsing document" forever). Non-PDF parsers still run concurrently.
- logger: strip ANSI color escapes from file logs so on-disk logs stay
  plain text while stdout keeps terminal colors.
- storage: log baseDir/resolvedPath on file-open failure and when the
  multimodal service resolves a file service, so a LOCAL_STORAGE_BASE_DIR
  mismatch between writer and reader is immediately visible.
- docker: set TZ (default Asia/Shanghai) for the docreader container.
2026-07-09 13:26:40 +08:00
..
cos.go fix: deep-copy stored files and images when cloning a knowledge base 2026-06-03 14:45:59 +08:00
cos_parse_test.go feat: enhance IM file service tests and refactor storage URL handling 2026-05-29 13:47:32 +08:00
dummy.go fix: deep-copy stored files and images when cloning a knowledge base 2026-06-03 14:45:59 +08:00
errors.go fix: deep-copy stored files and images when cloning a knowledge base 2026-06-03 14:45:59 +08:00
factory.go feat(obs): 支持华为云obs存储 2026-05-18 19:38:23 +08:00
ks3.go fix: deep-copy stored files and images when cloning a knowledge base 2026-06-03 14:45:59 +08:00
local.go fix: harden document pipeline concurrency and diagnostics 2026-07-09 13:26:40 +08:00
local_copy_test.go fix: deep-copy stored files and images when cloning a knowledge base 2026-06-03 14:45:59 +08:00
local_test.go fix(im): revert tenant-from-context for presigned URL 2026-04-30 11:40:30 +08:00
minio.go fix: deep-copy stored files and images when cloning a knowledge base 2026-06-03 14:45:59 +08:00
obs.go fix: deep-copy stored files and images when cloning a knowledge base 2026-06-03 14:45:59 +08:00
oss.go fix: deep-copy stored files and images when cloning a knowledge base 2026-06-03 14:45:59 +08:00
oss_test.go test: fix stale Doris SQL-shape and flaky OSS bucket assertions 2026-06-29 17:44:56 +08:00
s3.go fix: deep-copy stored files and images when cloning a knowledge base 2026-06-03 14:45:59 +08:00
s3_test.go fix(storage): add S3 provider scheme support to frontend and backend allowlists 2026-03-30 16:57:27 +08:00
tos.go fix: deep-copy stored files and images when cloning a knowledge base 2026-06-03 14:45:59 +08:00