You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A binary file edit that conflicts with upstream can't be recovered through sync #374
When a binary file with a file edit changes upstream, sync reports a conflict (binary file changed upstream in last-sync.json) and leaves the base copy at the old version. status then says stale <path>: its base differs from upstream at the pin; run sync, but running sync again says Nothing to do and status stays stale. The only way out found is hand-editing the change's line from file to replace.
Main has this loop for a binary file edit on an upstream path. #368 routes binary edits on copies into the same path.
Expected: a documented way to take upstream's bytes or keep ours, for example recording the resolution with record, that leaves status clean.
Update from the coordinator: for edited copies, PR #368 creates this state through the normal record flow, where main recorded a replace that kept building. So #368 will not merge until binary edited copies either keep main's behavior or have a working recovery. The upstream-path case this issue describes predates #368 and stays open here.
Activity
willgosnold commentedon Oct 26, 2026
Update from the coordinator: for edited copies, PR #368 creates this state through the normal
recordflow, where main recorded areplacethat kept building. So #368 will not merge until binary edited copies either keep main's behavior or have a working recovery. The upstream-path case this issue describes predates #368 and stays open here.fix(sync): keep ours for a copy's file edit that isn't text (#317)
fix(record): an edited copy keeps following upstream (#317 item 1) (#368