Commit Graph
22 Commits
Author SHA1 Message Date
Bruce-Yii 66bd0554b3 fix(document): honour apply_kb so reparse applies the dataset config (#20149) 2026-10-23 19:55:08 +08:00
Wang Qi feab371067 Fix: 1. update document parser_config does not clean chunks, 2. after update, pop up dialog to notice use to re-parse (#21281) 2026-10-21 16:49:47 +08:00
buua436 6fec6bba59 fix: exclude disabled documents from Wiki products (#20154) 2026-09-24 11:51:41 +08:00
buua436 9e99f996ff fix: synchronize document compilation and navigation projections (#20030) 2026-09-22 14:54:47 +08:00
xugangqiang cd2e548215 refactor(go-ingestion): remove checkpoint/resume support (#19924) 2026-09-20 19:26:15 +08:00
qinling0210 bd58e961d7 fix(document): hide a disabled document's knowledge-compiled chunks from retrieval (#19845) 2026-09-18 17:41:13 +08:00
jay77721 1e7043413c feat(ingestion): add run-scoped progress events (#19775) 2026-09-18 15:38:33 +08:00
jay77721 aa4061471a feat(ingestion): track a run's pipeline log from queue to terminal (#19494) 2026-09-15 14:26:35 +08:00
jay77721 d45c8aa148 refactor(ingestion): decouple document parsing state from document.run in favor of ingestion_task (#19533) 2026-09-14 17:44:55 +08:00
buua436 c122243042 fix: update knowledge artifacts on document status changes (#19532) 2026-09-11 17:31:51 +08:00
jay77721 686663845e fix(ingestion): make NATS task scheduling crash-safe (#19074) 2026-09-01 14:32:19 +08:00
Wang Qi ba625dc52b Refactor: refine error messages - use %W (#18834) 2026-08-27 11:21:17 +08:00
buua436 a3df588951 feat: improve incremental Wiki compilation (#18557) 2026-08-20 16:45:34 +08:00
euvre 01d351b54a Go: align cancel-parse error with Python for un-started documents (#18245) 2026-08-14 19:22:36 +08:00
Jin Hai bddc941814 Go: add context to storage (#17690)
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2026-08-03 15:08:21 +08:00
euvre 8fc20dd9ca Test: release Go-proxy RESTful contract tests verified passing in Go mode (#17468)
### Summary

Aligns Go and Python error codes/messages so both backends honor the
same RESTful API contract, removing implementation-specific error leaks
(MySQL errors, `ValueError`, `AttributeError`, Gin validator format) in
favor of clean business error codes.

**Chat list** — invalid `orderby` now returns code 101 (was: raw Python
`AttributeError` code 100); invalid `page`/`page_size` values fall back
to defaults (was: raw `ValueError`/`ProgrammingError` code 100).

**Dataset create/update/delete** — adds UUID validation (101),
extra-field rejection (101), duplicate-id detection (101), content-type
/ JSON-syntax / object-shape checks (101), and "lacks permission" for
nonexistent datasets (IDOR). Create auto-deduplicates dataset names.
Pagerank updates tolerate a missing ES index. List response includes
`parser_config` and `pagerank`.

**Session list/update** — adds filtering, sorting, and pagination
support. Empty payloads are valid no-ops. Authorization errors map to
code 109.

**Chunk list** — doc object uses Python key names (`chunk_count`,
`dataset_id`, `chunk_method`, run text status). Add validates list
element types.

**Document update** — adds `chunk_method` alias, pydantic-style Field
error messages, metadata index auto-create with refresh, and "These
documents do not belong to dataset" messages. List validates
`metadata_condition` and reports ownership errors for unmatched name/id
filters.

**Search completion** — `kb_ids` ownership failure returns code 102
instead of 109.

Released 31 contract tests from `GO_ONLY_SKIPS` (all verified passing on
both Go and Python backends with real LLM keys).
2026-07-30 19:58:49 +08:00
Wang Qi 795bd7c00f Fix: expose the real error when ingest error (#17485) 2026-07-28 17:32:32 +08:00
Jin Hai 53e83dcadf Go: add context, part4 (#17381)
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2026-07-26 18:31:56 +08:00
Jin Hai d9e359d481 Go: add context (#17354)
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2026-07-24 20:19:41 +08:00
Jin Hai bdfc3ada41 Go: add context (#17314)
### Summary

As title.

---------

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2026-07-24 16:47:12 +08:00
euvre f45f03a016 Add Go service/handler tests for API contract parity (#16905) 2026-07-20 20:02:41 +08:00
Jack 965590ccbe Refactor: dataset/document/file service (#17071)
### Summary

Refactor dataset.go document.do file.go file2document.go in
internal/service.
2026-07-20 09:48:24 +08:00