full-path / ridesheet

Google apps script support for a Google Sheets-based demand-responsive trip scheduling and reporting system.
MIT License
5 stars 4 forks source link

Claimed trip not deleted after being moved to Sent Trips #23

Closed NomeQ closed 2 years ago

NomeQ commented 3 years ago

One trip (of two claimed trips) remained in "trips" for Agency A even after being claimed, and correctly copied over to sent trips. It was the last trip of 3, in which two were claimed and one was declined.

NomeQ commented 2 years ago

Issue shows that there is definitely concurrency happening within sheets operations. Solution was to reverse array, but we will have to be careful in the future figuring out what runs synchronously.