WeKnora icon indicating copy to clipboard operation
WeKnora copied to clipboard

[Bug]: Yuque sync returns a batch and cursor after the last detail request is canceled

Open OUAO-FRANK opened this issue 2 weeks ago • 0 comments

Cancel the incremental sync context while the last document detail request is in flight. A local HTTP server reproduces this on main cbdcebab: FetchIncremental returns one item and a non-nil cursor with a nil error, three times. The same case should return context.Canceled with no batch or cursor so partial work cannot be recorded as a successful sync.

Codex assisted with local diagnosis and regression testing.

OUAO-FRANK avatar Nov 13 '26 14:11 OUAO-FRANK