Skip to content

feat(datasource): add DingTalk connector - #2403

Closed
chenjincj12-rgb wants to merge 1 commit into
Tencent:mainfrom
chenjincj12-rgb:feature/dingtalk-datasource
Closed

chenjincj12-rgb wants to merge 1 commit into
Tencent:mainfrom
chenjincj12-rgb:feature/dingtalk-datasource

Conversation

@chenjincj12-rgb

@chenjincj12-rgb chenjincj12-rgb commented Jul 29, 2026 •

Copy link
Copy Markdown

Summary

  • add a native DingTalk datasource connector for Client ID / AppSecret / unionId credentials
  • list accessible DingTalk drive spaces and files, then sync selected spaces/folders/files into WeKnora
  • support incremental scan signals, download retry, online document block reads, file metadata, and DingTalk UI/i18n entries

Validation

  • CGO_ENABLED=1 go test ./internal/datasource/connector/dingtalk
  • CGO_ENABLED=1 go test ./internal/datasource

Notes

@chenjincj12-rgb
chenjincj12-rgb marked this pull request as ready for review July 29, 2026 10:25
@chenjincj12-rgb

Copy link
Copy Markdown
Author

Local manual validation has been completed on the latest commit.

Test environment: Windows 11, local source build.

Verified locally:

  • DingTalk datasource can be created using Client ID, AppSecret, and unionId.
  • Credential validation and connection testing work correctly.
  • Accessible DingTalk spaces, folders, and files can be listed.
  • Selected folders and files can be synchronized into a WeKnora knowledge base.
  • The "Import from DingTalk" shortcut opens the datasource dialog with DingTalk preselected.
  • Imported documents appear correctly after synchronization.

No blocking issues were found during local testing. This PR is ready for review. Thanks!

@chenjincj12-rgb

Copy link
Copy Markdown
Author
7.30.1.1.mp4

@chenjincj12-rgb
chenjincj12-rgb force-pushed the feature/dingtalk-datasource branch from 1a1dc86 to c4645e2 Compare July 31, 2026 10:43
@chenjincj12-rgb

Copy link
Copy Markdown
Author

您好,目前 App 和 Frontend 两项 CI 工作流正在等待维护者批准运行,烦请方便时帮助批准,谢谢。

@lyingbug lyingbug closed this Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: 知识库数据源管理页,请添加钉钉文档数据源

2 participants