Sequence Functions
Sequences are the core concept of Explorer.
Sequences can go through various phases in their lifespan:
At a high level the sequence goes through the following steps
Sequence State
Text
Uploading
At this stage a sequences is only temporary as the file(s) are uploaded to S3
Upload failed
This occurs if final upload count does not equal calculated upload count. It can happen if a user abandons sequence creation or there are network connectivity issues. The content from these partially uploaded sequences will be automatically deleted within 2 hours (from S3), but DB record will remain to advise user.
Upload post checks failed
After upload successful a series of post-upload checks are performed to ensure files uploaded match what is expected. If any of these checks fail, sequence enters this state. The content from these sequences that fail check will be automatically deleted within 2 hours (from S3), but DB record will remain to advise user.
Upload processing
Once uploads checks have passed the sequence enters processing state, during which time a number of actions are performed on the files described in the processing steps.
Upload processed
When processing is complete, the sequence enters upload complete and now a user is free to make modifications to content in the UI.
Processing modifications
Every time the sequence is modified by a user and they save, the content needs to be reprocessed so changes can be made. To stop conflicts, which processing modifications are being carried out the sequence enters this state to prevent user making any further changes until this is complete.
Processing complete
Once processing modifications are complete, sequence enters this state at which time user is able to make further modifications, or publish the sequence.
Mapillary upload processing
When user published sequence they need to authenticate to Mapillary. Once authentication to Mapillary is successful and upload begins (successfully) then sequence enters this state. If any authentication failure before first upload, sequence remains in earlier unpublished state.
Mapillary upload complete
When all files have been uploaded to Mapillary sequence enters this state. Note, sequence does not immediately publish to Mapillary.
Mapillary upload published
After some time, about 48 hours, the Sequence is published by Mapillary (unless failures). We need to query Mapillary to check publish status periodically. When a published state is returned, sequence enters this state. At this point a user is free to publish to other integrations.
Mapillary error
Sometimes Mapillary might report an error when they process the images. We need to query Mapillary to check publish status periodically. When an error state is returned, sequence enters this state.
Last modified 23h ago
Copy link