Revert "feat: Go knowledge compiler with scheduler-driven dataset compilation" (#17897)

Reverts infiniflow/ragflow#17881
This commit is contained in:
Jin Hai
2026-08-05 21:50:28 +08:00
committed by GitHub
parent eaf553320f
commit cf13082a1a
165 changed files with 3172 additions and 6959 deletions

View File

@@ -25,13 +25,6 @@ from utils import wait_for
GO_ONLY_SKIPS = {
"Go route is not implemented": {
# Dataset-level graph/raptor/mindmap indexing via POST/GET/DELETE
# /datasets/:id/index is a Python-era RunIndex/TraceIndex/DeleteIndex
# contract; the Go port schedules dataset compilation through the
# knowledge_compile scheduler instead and does not serve /index.
"test_dataset_index_endpoints",
"test_dataset_index_trace_and_delete_type_contract",
"test_dataset_index_run_with_document_creates_task",
"test_document_download_by_id_invalid_id_contract",
"test_llm_factories_live_auth_contract",
"test_llm_list_live_auth_contract",

View File

@@ -521,7 +521,7 @@ def test_agents_crud_unit_branches(monkeypatch):
captured = {}
def fake_get_by_tenant_ids(owner_ids, tenant_id, page, page_size, orderby, desc, keywords, canvas_category, tags):
def fake_get_by_tenant_ids(owner_ids, tenant_id, page, page_size, orderby, desc, keywords, canvas_category_list, tags, canvas_type=None):
captured["owner_ids"] = owner_ids
captured["tenant_id"] = tenant_id
captured["page"] = page
@@ -529,7 +529,7 @@ def test_agents_crud_unit_branches(monkeypatch):
captured["orderby"] = orderby
captured["desc"] = desc
captured["keywords"] = keywords
captured["canvas_category"] = canvas_category
captured["canvas_category_list"] = canvas_category_list
captured["tags"] = tags
return [{"id": "agent-1"}], 1