Make DB→Sheets mirror atomic (avoid brief empty-sheet window) #5
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The one-way DB→Sheets mirror currently clears then re-writes each tab, so a reader hitting mid-write can catch a cleared sheet. Harmless for a human overview but worth fixing.
Options: write to a temp/staging range then swap, or use a batch update that replaces values in one call. See
backoffice/app/sheets.py/mirror_entityinapp.py.Superseded — Google Sheets is being removed entirely to cut the Google dependency, so there is no mirror left to make atomic. See the Sheets-removal issue. Closing.