https://indrava.forumulate.com/blog/posts-that-publish-once

← All articles

Posts that publish once

Admin · 3 min read

A scheduler has one job that matters more than the rest: the post goes out, once, at the time you chose, and if it does not, you find out. When we read user reviews of scheduling tools, the complaints that came up again and again were failed posts, duplicate posts and silent disconnects. The samples were small, but the pattern was consistent enough that we designed for it first.

This post explains how Indrava publishes, and where its guarantee stops.

One job per channel

A post that goes to five channels is five separate deliveries. Each has its own status, its own attempt count and its own error. If LinkedIn refuses a post, the Bluesky copy is not held back, and you see which one failed and why.

Scheduling lives in the database, not in a timer somewhere: a scheduled post is a row with a time. A worker looks every few seconds for posts that are due and queues one job per channel. Editing or cancelling a scheduled post is therefore just a change to that row; there is no delayed job to find and cancel.

Record first, then move on

A thread is published part by part. As soon as a platform accepts a part, Indrava records that part's id. A recorded part is never sent again.

So when the third part of a five-part thread fails, the retry starts at part three. Parts one and two are not repeated.

Two kinds of failure

Indrava separates failures a retry can fix from failures it cannot.

  • Temporary: the platform timed out, was down, or said "slow down". Indrava retries, up to five more times, waiting longer each time.

  • Permanent: the sign-in was revoked, the platform rejected the content, a file is the wrong type. Retrying would only repeat the refusal, so the delivery fails at once with the reason.

Either way the reason is shown on the post, per channel. A Retry button sends only the channels that failed.

The gap we cannot close alone

There is one moment where "exactly once" depends on the platform. Suppose the platform accepts a part, and the connection drops before its answer reaches Indrava. Indrava does not know the part was accepted, so the retry sends it again.

Indrava sends a stable key with every part, the same on each retry. A platform that honours such a key returns the first result instead of posting again; Mastodon does, and so does the Webhook channel. Most other platforms have no such key in their publishing interface. On those, that one part can appear twice in that one situation.

We would rather say this plainly than claim a guarantee we cannot keep. The help page on failed posts tells you when to check for a duplicate.

Nothing hangs unseen

Workers crash. Once a minute Indrava looks for deliveries that are marked as in progress but have no live job behind them, and either queues them again or marks them failed. A post does not sit in "Publishing" forever with nobody told.

Telling you before it fails

Some sign-ins expire: LinkedIn's last 60 days. When a channel's access ends, Indrava marks the channel, lists it on the home screen, and emails the members who have that notice on. The same goes for a failed post. There is also a webhook event for each, so your own systems can react.

What you can check yourself

  • Posts → a post → Delivery shows every channel's result and attempts.

  • The status page shows whether the publishing worker is alive, and whether failures rose in its last pass.

  • The post.failed and target.failed webhook events carry the post, the channel and the error.

Publishing reliably is mostly unglamorous bookkeeping. We think it is the part of a scheduler that deserves the most of it.

0 comments

  • Be the first to comment.