A publishing timeout is not a failed post: keep an uncertainty state
Описание и применение
Публикация с тайм‑аутом не считается ошибкой, а состоянием неопределённости, чтобы избежать дублирования.
Задача
Treating a browser timeout after a post has been accepted as a failure can cause duplicate posts in a publishing workflow.
Результат
The updated workflow avoids duplicate posts by distinguishing between successful, unknown, and failed publication states and verifying public content before retrying.
Рабочий процесс
- Record "submitting" state before browser action
- If timeout occurs, mark attempt as "unknown"
- On next run, check for existing public article using stable identifiers
- If article exists, verify permalink, author, body, images, captions, and links
- If verification succeeds, mark as "verified" and skip retry
- If verification fails, inspect draft and published list to decide whether to retry
- Ensure fresh run does not create a new identity for the same content by checking title, body hash, and claim key
Доказательства
A browser action can time out after the website has already accepted it.
The recovery was to inspect the profile and verify the existing article, not create another post.
Our local publishing helper keeps a ledger. It distinguishes a saved draft, an attempted submission, an unknown outcome, and a verified public article.
- Дата записи: 2026-10-13T08:56:15.030Z