WeKnora/internal/datasource/connector/dingtalk
fight for you 57f8a65fec
fix(datasource/dingtalk): tighten Validate sampling edges (#4079)
* fix(datasource/dingtalk): tighten Validate sampling edges

Keep probing later documents in the same workspace, hold listing budget
for sibling folders that are already queued, fail closed when any root
page cannot be listed, and say when the probe cap stops a conclusive walk.

Fixes #4021

Co-authored-by: fight for you <wangrui19971019@users.noreply.github.com>

* fix(datasource/dingtalk): stop Validate walk once probe cap is spent

- Break the workspace walk as soon as maxValidateProbes is spent, so a
  later unlistable folder can no longer turn failed probes into acceptance.
- Treat a skipped folder tail as covered only by a probe made after the
  skip, not by any earlier probe in the same workspace.
- Keep the document name on probe context errors.

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: fight for you <wangrui19971019@users.noreply.github.com>
Co-authored-by: wizardchen <wizardchen@tencent.com>
2026-10-10 20:32:05 +08:00
..
client.go feat(datasource/dingtalk): 摄取钉钉"上传文件"(docx/pptx/xlsx/pdf) (#3786) 2026-10-09 10:56:04 +08:00
client_test.go feat(datasource/dingtalk): 摄取钉钉"上传文件"(docx/pptx/xlsx/pdf) (#3786) 2026-10-09 10:56:04 +08:00
connector.go fix(datasource/dingtalk): tighten Validate sampling edges (#4079) 2026-10-10 20:32:05 +08:00
connector_test.go feat(datasource/dingtalk): 摄取钉钉"上传文件"(docx/pptx/xlsx/pdf) (#3786) 2026-10-09 10:56:04 +08:00
connector_unknown_blocks_test.go fix(datasource/dingtalk): 块级渲染不再静默丢内容(列表按线上真实形状渲染 + 未建模块类型可见) (#3822) 2026-09-29 00:48:20 +08:00
markdown.go fix(datasource/dingtalk): 块级渲染不再静默丢内容(列表按线上真实形状渲染 + 未建模块类型可见) (#3822) 2026-09-29 00:48:20 +08:00
markdown_blocks_test.go fix(datasource/dingtalk): 块级渲染不再静默丢内容(列表按线上真实形状渲染 + 未建模块类型可见) (#3822) 2026-09-29 00:48:20 +08:00
markdown_lists_test.go fix(datasource/dingtalk): 块级渲染不再静默丢内容(列表按线上真实形状渲染 + 未建模块类型可见) (#3822) 2026-09-29 00:48:20 +08:00
markdown_live_shape_test.go fix(datasource/dingtalk): 块级渲染不再静默丢内容(列表按线上真实形状渲染 + 未建模块类型可见) (#3822) 2026-09-29 00:48:20 +08:00
markdown_test.go fix(datasource/dingtalk): 块级渲染不再静默丢内容(列表按线上真实形状渲染 + 未建模块类型可见) (#3822) 2026-09-29 00:48:20 +08:00
resource.go feat(datasource): add DingTalk Docs integration with safe sync and localization (#2313) 2026-09-14 19:53:29 +08:00
resource_test.go feat(datasource): add DingTalk Docs integration with safe sync and localization (#2313) 2026-09-14 19:53:29 +08:00
settings.go feat(datasource/dingtalk): 摄取钉钉"上传文件"(docx/pptx/xlsx/pdf) (#3786) 2026-10-09 10:56:04 +08:00
sync_safety_test.go feat(datasource): add DingTalk Docs integration with safe sync and localization (#2313) 2026-09-14 19:53:29 +08:00
validate_test.go fix(datasource/dingtalk): tighten Validate sampling edges (#4079) 2026-10-10 20:32:05 +08:00