If I upload a document with access set to public, it's not actually public in the API until it finishes processing. This was necessary when we were rendering documents as images, but PDF.js means we can render a document immediately.
This really only affects large documents that take more than a minute to process, but it shows up in force when processing gets jammed or broken.