Bug 815773 - process local commands
This is just the base stuff to process local commands. (local commands == commands generated by local actions, such as from Sync > Options).
There's UI work to be done on top of this, but we may as well look over this first.
The key point is that local commands are processed when the clients engine downloads its local GUID; that means there's a race if you haven't yet synced.
Braindump 1: there could be interactions if you reset your local GUID that I haven't considered. Braindump 2: I should verify that local commands are deleted from the DB after processing. I think I did this, but I should verify. This probably needs to wait until UI is in place.
Do you have a new version of this, Nick?
No updated version yet. Your suggestions are good but make this significantly more work ;)