WeKnora/internal/datasource/connector
LuckVd 0d3a053eb6
fix(yuque): don't acknowledge failed detail fetches in the incremental cursor (#3702)
A partial sync recorded each doc's new content_updated_at before fetching
its detail. When a detail request failed after client retries, the cursor
still held the new version, so every later incremental sync treated the
doc as unchanged and never re-fetched it (mixed success/failure batches
persist the cursor; only all-failed batches are aborted).

Rewind the cursor entry to the previously synced version (existing docs)
or drop it (new docs) on detail failure so recovery re-syncs the doc.
Deletion detection is unaffected: currentDocs is set at listing time.

Fixes #3690

Co-authored-by: LuckVd <LuckVd@users.noreply.github.com>
2026-10-08 01:21:23 +08:00
..
confluence feat(confluence): add directory sync and private image assets (#3319) 2026-09-25 22:23:48 +08:00
dingtalk fix(datasource/dingtalk): 块级渲染不再静默丢内容(列表按线上真实形状渲染 + 未建模块类型可见) (#3822) 2026-09-29 00:48:20 +08:00
feishu fix(feishu): 云盘分页补上 #3645 给 wiki 加的重复 page token 防护 (#3770) 2026-09-29 00:51:19 +08:00
gitlab fix(gitlab): 仓库文件下载补体积上限,超限报错而不是无界读入 (#3887) 2026-09-30 14:33:15 +08:00
ima fix(ima): 笔记正文被清空后旧正文仍留在知识库 2026-09-30 13:43:55 +08:00
notion fix(notion): 查询撞厂商上限被截断时不再静默,截断轮次不下发删除 (#3845) 2026-10-07 23:54:08 +08:00
rss fix(rss): 修复全文回退后增量同步不重试 2026-09-29 00:53:27 +08:00
yuque fix(yuque): don't acknowledge failed detail fetches in the incremental cursor (#3702) 2026-10-08 01:21:23 +08:00