Repository navigation
Feat: add built in DSL file API - #17003
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 WalkthroughWalkthroughThe PR migrates parser configuration to ChangesPipeline configuration and API migration
Operational adjustments
Estimated code review effort: 4 (Complex) | ~60 minutes Possibly related PRs
Suggested labels: Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 4
🧹 Nitpick comments (1)
internal/handler/pipeline.go (1)
35-38: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick winRemove the speculative user-defined pipeline note.
Document only the currently supported builtin resource; “may be added later” is not a runtime contract.
As per coding guidelines, remove stale documentation and “move later” notes.
Proposed change
// PipelineHandler handles pipeline endpoints. -// Pipelines are the top-level resource for ingestion pipeline templates. -// Built-in templates are shipped with the binary; user-defined templates -// (canvas DSL) may be added later. +// Pipelines are built-in ingestion pipeline templates shipped with the binary.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@internal/handler/pipeline.go` around lines 35 - 38, Remove the speculative user-defined pipeline and future-support wording from the documentation comment above PipelineHandler, leaving only the currently supported built-in pipeline resource description.Source: Coding guidelines
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@internal/ingestion/task/pipeline_executor_defaults.go`:
- Around line 85-93: Update the pipeline override flow around
buildComponentParams and pipe.Run to pass the complete component-params map,
including per-component values such as Tokenizer.fields, instead of converting
it through bridgeToLegacySetups. Extend the pipeline/canvas override contract
and update downstream consumers to merge the full map while preserving existing
setup handling and unknown-component validation.
In `@internal/service/dataset.go`:
- Around line 1710-1718: Reject requests that provide both a non-empty
chunk_method/parserID and pipelineID before calling common.GetParserConfig or
deriving parserConfig. Update the surrounding dataset configuration flow to
return the existing data-error response for this invalid combination, while
preserving normal behavior when only one is supplied.
In `@internal/service/document.go`:
- Around line 2591-2600: Authorize custom canvas resolution using the caller’s
tenant or user scope instead of unrestricted ID lookup. In
internal/service/document.go:2591-2600, update loadCanvasDSLJSON and its callers
to use an ownership-aware DAO query; in internal/service/document.go:2500-2521,
propagate the authenticated scope into pipeline resolution; and in
internal/service/dataset.go:3094-3110, pass tenantID through dataset
component-parameter validation.
- Around line 2569-2584: The custom canvas selection logic should honor an
explicitly cleared pipeline_id instead of falling back to doc.PipelineID. Update
the pipeline_id handling in the surrounding pipeline/parser resolution function
so presence of the request field, including an empty or whitespace value,
prevents selecting the stored canvas and allows the built-in template path to be
used.
---
Nitpick comments:
In `@internal/handler/pipeline.go`:
- Around line 35-38: Remove the speculative user-defined pipeline and
future-support wording from the documentation comment above PipelineHandler,
leaving only the currently supported built-in pipeline resource description.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 8c5724ae-5848-4d32-bc43-ede5c3312a45
📒 Files selected for processing (20)
docker/entrypoint.shinternal/common/parser_config.gointernal/common/parser_config_test.gointernal/handler/pipeline.gointernal/handler/pipeline_test.gointernal/ingestion/pipeline/builtin_registry.gointernal/ingestion/pipeline/builtin_registry_test.gointernal/ingestion/pipeline/component_params.gointernal/ingestion/pipeline/component_params_test.gointernal/ingestion/service/execute_task_ack_test.gointernal/ingestion/task/pipeline_executor_defaults.gointernal/ingestion/task/pipeline_executor_defaults_test.gointernal/parser/parser/pdf_parser_cgo.gointernal/router/router.gointernal/service/chunk/chunk.gointernal/service/dataset.gointernal/service/dataset_create_test.gointernal/service/dataset_update_test.gointernal/service/document.gointernal/service/document_component_params_test.go
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #17003 +/- ##
=======================================
Coverage 90.65% 90.65%
=======================================
Files 10 10
Lines 717 717
Branches 118 118
=======================================
Hits 650 650
Misses 39 39
Partials 28 28 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
1199017 to
43ec84d
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
internal/ingestion/task/pipeline_real_integration_test.go (1)
428-442: 🩺 Stability & Availability | 🟠 Major | ⚡ Quick winRe-add the
integrationbuild tag or uset.Skip().By removing the
//go:build integrationtag (as indicated by the line-range change details), this test now runs unconditionally during standardgo testinvocations. Because the test requires real infrastructure (MySQL and MinIO) and a specific configuration file (service_conf.yaml), it will fail witht.Fatalin environments where these are unavailable (such as standard CI pipelines or local development environments without the full stack running).Please restore the build tag at the top of the file, or change the
t.Fatalcalls here tot.Skipto gracefully bypass the test when the environment isn't fully configured.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@internal/ingestion/task/pipeline_real_integration_test.go` around lines 428 - 442, Re-add the integration build tag at the top of pipeline_real_integration_test.go so the real-infrastructure tests remain excluded from standard go test runs. Keep mustLoadTaskRealIntegrationConfig validation and its t.Fatal behavior unchanged.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@test/testcases/restful_api/test_datasets.py`:
- Around line 30-31: Converge the dataset API tests on the parser_id contract by
removing the conditional PARSER_ID_FIELD fallback to chunk_method and
eliminating Go-only skips that mask differing create behavior. Update the
affected dataset create tests to use only supported fields consistently; delete
tests for fields no longer in the public contract rather than preserving
compatibility paths.
---
Outside diff comments:
In `@internal/ingestion/task/pipeline_real_integration_test.go`:
- Around line 428-442: Re-add the integration build tag at the top of
pipeline_real_integration_test.go so the real-infrastructure tests remain
excluded from standard go test runs. Keep mustLoadTaskRealIntegrationConfig
validation and its t.Fatal behavior unchanged.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: cacc2597-13b7-40e4-aa48-02acd8bbab07
📒 Files selected for processing (24)
cmd/ragflow_server.gointernal/common/parser_config.gointernal/handler/document.gointernal/handler/document_test.gointernal/ingestion/pipeline/builtin_registry.gointernal/ingestion/pipeline/builtin_registry_test.gointernal/ingestion/pipeline/component_params.gointernal/ingestion/service/doc_state.gointernal/ingestion/service/ingestion_service.gointernal/ingestion/task/pipeline_executor.gointernal/ingestion/task/pipeline_executor_defaults.gointernal/ingestion/task/pipeline_executor_defaults_test.gointernal/ingestion/task/pipeline_executor_test.gointernal/ingestion/task/pipeline_real_integration_test.gointernal/router/router.gointernal/service/dataset.gointernal/service/dataset_create_test.gointernal/service/dataset_update_test.gointernal/service/document.gointernal/service/document_component_params_test.gointernal/service/document_test.gointernal/service/document_upload_helpers.gointernal/tokenizer/tokenizer_concurrent_test.gotest/testcases/restful_api/test_datasets.py
💤 Files with no reviewable changes (4)
- internal/ingestion/task/pipeline_executor_defaults_test.go
- internal/common/parser_config.go
- internal/handler/document_test.go
- internal/router/router.go
🚧 Files skipped from review as they are similar to previous changes (3)
- cmd/ragflow_server.go
- internal/service/document_component_params_test.go
- internal/service/dataset.go
5cc16dd to
b215dcb
Compare
There was a problem hiding this comment.
Actionable comments posted: 3
🧹 Nitpick comments (3)
internal/admin/handler.go (1)
1070-1076: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick winInconsistent error mapping for conditional task stops.
While
StopIngestionTaskscorrectly useshandler.IngestionTaskErrorCode(err)to map service errors to HTTP status codes, the adjacentStopIngestionTasksByConditionimplementation (lines 1086-1091) still hardcodescommon.CodeBadRequest. Consider updating it for consistency.♻️ Proposed refactor
} else { tasks, err := h.service.StopIngestionTasksByCondition(req.Tasks, req.Email, req.Status) if err != nil { - common.ErrorWithCode(c, common.CodeBadRequest, err.Error()) + common.ErrorWithCode(c, handler.IngestionTaskErrorCode(err), err.Error()) return } common.SuccessWithData(c, tasks, "Stop tasks successfully")🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@internal/admin/handler.go` around lines 1070 - 1076, Update the StopIngestionTasksByCondition error path to use handler.IngestionTaskErrorCode(err) when calling common.ErrorWithCode, matching the existing StopIngestionTasks mapping instead of hardcoding common.CodeBadRequest.cmd/ragflow_server.go (1)
498-498: 🚀 Performance & Scalability | 🔵 Trivial | ⚖️ Poor tradeoffHardcoded concurrency limits ingestor throughput.
By hardcoding the
maxConcurrencyparameter to2, the ingestor will only use 2 concurrent workers regardless of the available CPU cores. This can severely limit ingestion throughput on larger machines. Consider using a configurable value fromconfig.Ingestoror passing0to rely on the defaultruntime.NumCPU()fallback defined inNewIngestor.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@cmd/ragflow_server.go` at line 498, Update the NewIngestor call in the ingestion setup to avoid the hardcoded maxConcurrency value of 2. Use the configurable concurrency from config.Ingestor if available, or pass 0 to activate NewIngestor’s runtime.NumCPU() default while preserving the existing file type list and arguments.internal/handler/error_test.go (1)
38-42: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low valuePrefer
t.Errorfin table-driven tests.In table-driven tests, using
t.Errorfinstead oft.Fatalfallows the test to continue evaluating subsequent test cases even if one fails. This provides more comprehensive feedback on test failures.♻️ Proposed refactor
for _, tc := range testCases { if got := IngestionTaskErrorCode(tc.err); got != tc.want { - t.Fatalf("%s: got %d, want %d", tc.name, got, tc.want) + t.Errorf("%s: got %d, want %d", tc.name, got, tc.want) } }🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@internal/handler/error_test.go` around lines 38 - 42, The table-driven loop in the IngestionTaskErrorCode test should use t.Errorf instead of t.Fatalf so all test cases are evaluated after a failure. Keep the existing failure message and comparison unchanged.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@internal/handler/pipeline_test.go`:
- Around line 42-48: The fakePipelineRegistry.Get test fixture currently uses an
empty, non-distinctive DSL, so it cannot verify the handler preserves the
registry value. Assign a distinctive DSL to the returned BuiltinPipeline and
update the GetPipeline assertions to compare its contents with resp.Data.DSL,
covering the related test cases around the handler response.
In `@internal/service/dataset_update_test.go`:
- Around line 50-52: Define an explicit precedence contract for simultaneous
ParserID and PipelineID in the dataset update test setup. Update the relevant
validation/default-resolution logic to reject or clear one field so
parser_config and execution cannot target different DSLs, and add assertions
covering the chosen behavior in the affected test cases.
In `@internal/service/document_component_params_test.go`:
- Around line 230-243: Update
TestValidateComponentParamsForUpdate_ParserIDSwitch so the request uses parser
configuration valid only for the new “qa” parser and invalid for the stored
“general” parser, or otherwise assert rejection of an old-parser-only value.
Ensure the fixture proves validateComponentParamsForUpdate honors the ParserID
change rather than passing with parameters shared by both templates.
---
Nitpick comments:
In `@cmd/ragflow_server.go`:
- Line 498: Update the NewIngestor call in the ingestion setup to avoid the
hardcoded maxConcurrency value of 2. Use the configurable concurrency from
config.Ingestor if available, or pass 0 to activate NewIngestor’s
runtime.NumCPU() default while preserving the existing file type list and
arguments.
In `@internal/admin/handler.go`:
- Around line 1070-1076: Update the StopIngestionTasksByCondition error path to
use handler.IngestionTaskErrorCode(err) when calling common.ErrorWithCode,
matching the existing StopIngestionTasks mapping instead of hardcoding
common.CodeBadRequest.
In `@internal/handler/error_test.go`:
- Around line 38-42: The table-driven loop in the IngestionTaskErrorCode test
should use t.Errorf instead of t.Fatalf so all test cases are evaluated after a
failure. Keep the existing failure message and comparison unchanged.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: b901268f-37fc-4a0a-adc7-b30737a3e58d
📒 Files selected for processing (32)
cmd/ragflow_server.gointernal/admin/handler.gointernal/handler/document.gointernal/handler/document_test.gointernal/handler/error.gointernal/handler/error_test.gointernal/handler/pipeline.gointernal/handler/pipeline_test.gointernal/httputil/ingestion_task_error.gointernal/ingestion/pipeline/builtin_registry.gointernal/ingestion/pipeline/builtin_registry_test.gointernal/ingestion/pipeline/component_params.gointernal/ingestion/pipeline/component_params_test.gointernal/ingestion/service/doc_state.gointernal/ingestion/service/execute_task_ack_test.gointernal/ingestion/service/ingestion_service.gointernal/ingestion/task/pipeline_executor.gointernal/ingestion/task/pipeline_executor_defaults_test.gointernal/ingestion/task/pipeline_executor_test.gointernal/ingestion/task/pipeline_real_integration_test.gointernal/parser/parser/pdf_parser_cgo.gointernal/router/router.gointernal/service/chunk/chunk.gointernal/service/dataset.gointernal/service/dataset_create_test.gointernal/service/dataset_update_test.gointernal/service/document.gointernal/service/document_component_params_test.gointernal/service/document_test.gointernal/service/document_upload_helpers.gointernal/tokenizer/tokenizer_concurrent_test.gotest/testcases/restful_api/test_datasets.py
💤 Files with no reviewable changes (2)
- internal/httputil/ingestion_task_error.go
- internal/handler/document_test.go
🚧 Files skipped from review as they are similar to previous changes (21)
- internal/tokenizer/tokenizer_concurrent_test.go
- internal/parser/parser/pdf_parser_cgo.go
- internal/ingestion/service/doc_state.go
- internal/ingestion/pipeline/component_params.go
- internal/router/router.go
- internal/ingestion/service/ingestion_service.go
- internal/service/dataset_create_test.go
- internal/handler/pipeline.go
- internal/ingestion/task/pipeline_executor_test.go
- internal/service/chunk/chunk.go
- internal/service/document_upload_helpers.go
- internal/ingestion/pipeline/component_params_test.go
- internal/ingestion/task/pipeline_real_integration_test.go
- internal/ingestion/pipeline/builtin_registry.go
- internal/service/document_test.go
- internal/handler/document.go
- internal/ingestion/service/execute_task_ack_test.go
- internal/ingestion/pipeline/builtin_registry_test.go
- test/testcases/restful_api/test_datasets.py
- internal/service/document.go
- internal/service/dataset.go
| func (f fakePipelineRegistry) Get(ref string) (*pipelinepkg.BuiltinPipeline, bool) { | ||
| for _, item := range f.items { | ||
| if item.ParserID == ref { | ||
| return &pipelinepkg.BuiltinPipeline{ | ||
| BuiltinPipelineMeta: *item, | ||
| DSL: map[string]any{"components": map[string]any{}}, | ||
| }, true |
There was a problem hiding this comment.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Assert that GetPipeline returns the registry’s exact DSL.
The test only checks for a non-nil map, so it would pass if the handler returned any unrelated DSL. Give the fake a distinctive DSL and compare its contents with resp.Data.DSL.
Also applies to: 188-219
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@internal/handler/pipeline_test.go` around lines 42 - 48, The
fakePipelineRegistry.Get test fixture currently uses an empty, non-distinctive
DSL, so it cannot verify the handler preserves the registry value. Assign a
distinctive DSL to the returned BuiltinPipeline and update the GetPipeline
assertions to compare its contents with resp.Data.DSL, covering the related test
cases around the handler response.
| func TestValidateComponentParamsForUpdate_ParserIDSwitch(t *testing.T) { | ||
| // Request switches the parser_id; the doc's stored parser is "general". | ||
| datasetID, docID := seedValidationDB(t, validationDoc("general", nil), nil) | ||
| newPID := "qa" | ||
| req := &UpdateDatasetDocumentRequest{ | ||
| ParserID: &newPID, | ||
| ParserConfig: map[string]any{ | ||
| "Parser:HipSignsRhyme": map[string]any{"pdf": map[string]any{}}, | ||
| }, | ||
| } | ||
| present := map[string]bool{"parser_config": true, "parser_id": true} | ||
| if err := (&DocumentService{}).validateComponentParamsForUpdate(datasetID, docID, "u1", req, present); err != nil { | ||
| t.Errorf("expected nil for valid parser switch, got %v", err) | ||
| } |
There was a problem hiding this comment.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Make the parser-switch fixture distinguish qa from general.
The submitted component parameters are already valid for the stored general parser, so this test passes even if newPID is ignored. Use a component or parameter unique to one template, or assert rejection for a value valid only under the old parser.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@internal/service/document_component_params_test.go` around lines 230 - 243,
Update TestValidateComponentParamsForUpdate_ParserIDSwitch so the request uses
parser configuration valid only for the new “qa” parser and invalid for the
stored “general” parser, or otherwise assert rejection of an old-parser-only
value. Ensure the fixture proves validateComponentParamsForUpdate honors the
ParserID change rather than passing with parameters shared by both templates.
b215dcb to
3ec5d11
Compare
There was a problem hiding this comment.
🧹 Nitpick comments (1)
internal/service/dataset_create_test.go (1)
67-71: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low valueRename
chunkMethodtoparserID.These tests use the legacy variable name
chunkMethodfor values strictly assigned toParserIDfields. To fully align with the PR's migration fromchunk_methodtoparser_idand prevent confusion, consider updating the variable name across these test flows.
internal/service/dataset_create_test.go#L67-L71: renamechunkMethodtoparserID.internal/service/dataset_create_test.go#L88-L92: renamechunkMethodtoparserID.internal/service/document_test.go#L1711-L1718: renamechunkMethodtoparserID, and update the adjacent assertion's failure message fromwant method=%stowant parser_id=%s.internal/service/document_test.go#L2284-L2286: renamechunkMethodtoparserID.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@internal/service/dataset_create_test.go` around lines 67 - 71, Rename the legacy chunkMethod variable to parserID at internal/service/dataset_create_test.go:67-71 and 88-92, and at internal/service/document_test.go:1711-1718 and 2284-2286. Update all references accordingly, and change the adjacent assertion message at document_test.go:1711-1718 from “want method=%s” to “want parser_id=%s”.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In `@internal/service/dataset_create_test.go`:
- Around line 67-71: Rename the legacy chunkMethod variable to parserID at
internal/service/dataset_create_test.go:67-71 and 88-92, and at
internal/service/document_test.go:1711-1718 and 2284-2286. Update all references
accordingly, and change the adjacent assertion message at
document_test.go:1711-1718 from “want method=%s” to “want parser_id=%s”.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: db2070f0-b52e-4d19-8b15-167e0eefc382
📒 Files selected for processing (32)
cmd/ragflow_server.gointernal/admin/handler.gointernal/handler/document.gointernal/handler/document_test.gointernal/handler/error.gointernal/handler/error_test.gointernal/handler/pipeline.gointernal/handler/pipeline_test.gointernal/httputil/ingestion_task_error.gointernal/ingestion/pipeline/builtin_registry.gointernal/ingestion/pipeline/builtin_registry_test.gointernal/ingestion/pipeline/component_params.gointernal/ingestion/pipeline/component_params_test.gointernal/ingestion/service/doc_state.gointernal/ingestion/service/execute_task_ack_test.gointernal/ingestion/service/ingestion_service.gointernal/ingestion/task/pipeline_executor.gointernal/ingestion/task/pipeline_executor_defaults_test.gointernal/ingestion/task/pipeline_executor_test.gointernal/ingestion/task/pipeline_real_integration_test.gointernal/parser/parser/pdf_parser_cgo.gointernal/router/router.gointernal/service/chunk/chunk.gointernal/service/dataset.gointernal/service/dataset_create_test.gointernal/service/dataset_update_test.gointernal/service/document.gointernal/service/document_component_params_test.gointernal/service/document_test.gointernal/service/document_upload_helpers.gointernal/tokenizer/tokenizer_concurrent_test.gotest/testcases/restful_api/test_datasets.py
💤 Files with no reviewable changes (2)
- internal/httputil/ingestion_task_error.go
- internal/handler/document_test.go
🚧 Files skipped from review as they are similar to previous changes (22)
- internal/tokenizer/tokenizer_concurrent_test.go
- internal/handler/error.go
- internal/ingestion/service/ingestion_service.go
- internal/handler/error_test.go
- internal/parser/parser/pdf_parser_cgo.go
- internal/ingestion/pipeline/component_params.go
- internal/ingestion/pipeline/builtin_registry_test.go
- internal/router/router.go
- internal/ingestion/pipeline/component_params_test.go
- cmd/ragflow_server.go
- internal/admin/handler.go
- internal/ingestion/task/pipeline_executor_defaults_test.go
- internal/handler/pipeline_test.go
- internal/ingestion/task/pipeline_executor_test.go
- internal/service/document_upload_helpers.go
- internal/handler/pipeline.go
- internal/handler/document.go
- internal/service/dataset_update_test.go
- test/testcases/restful_api/test_datasets.py
- internal/service/document_component_params_test.go
- internal/service/dataset.go
- internal/service/document.go
…d ingestion integration
- KB/Doc-level component_params validation against DSL schema
- Builtin DSL pipeline registry and API (list, get by id)
- ParserConfig stores DSL runtime params directly {cpnID: {param: value}}
- Runtime: PatchDSL + override_params merge via applyOverrideParams (top-level)
- Remove legacy hardcoded parser_config defaults
- Rebase onto upstream/main including PR infiniflow#16991
3ec5d11 to
b0b81e0
Compare
|
LGTM |
Summary