pending.nvim/lua/pending/sync
Barrett Ruth 3795999f3d feat(sync): selective push, remote deletion detection, and gcal fix
Problem: `push_pass` updated all remote-linked tasks unconditionally,
causing unnecessary API calls and potential clobbering of remote edits
made between syncs. `pull`/`sync` never noticed when a task disappeared
from remote. `update_event` omitted `transparency` that `create_event`
set. Failure counts were absent from sync log summaries.

Solution: Introduce `_gtasks_synced_at` in `_extra` — stamped after
every successful push/pull create or update — so `push_pass` skips
tasks unchanged since last sync. Add `detect_remote_deletions` to
unlink local tasks whose remote entry disappeared from a successfully
fetched list. Surface failures as `!N` in all sync logs and
`unlinked: N` for pull/sync. Add `transparency = 'transparent'` to
`update_event`. Cover new behaviour with 7 tests in `gtasks_spec.lua`.
2026-03-05 22:37:34 -05:00
..
gcal.lua feat(sync): selective push, remote deletion detection, and gcal fix 2026-03-05 22:37:34 -05:00
gtasks.lua feat(sync): selective push, remote deletion detection, and gcal fix 2026-03-05 22:37:34 -05:00
oauth.lua ci: format 2026-03-05 21:08:13 -05:00