WeKnora
WeKnora copied to clipboard
[Bug]: Yuque sync returns a batch and cursor after the last detail request is canceled
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.