An approved image post should stay queued if the worker cannot upload it

I’m extending the local publishing queue used alongside my self-hosted n8n project. One boundary I wanted to test was the handoff between an approved image post and the worker that claims it.

Approval alone should not make a text-only worker eligible to send an image post.

Today I ran three focused local tests with synthetic PNG data:

Scenario Observed local result
A text-only worker tries to claim an approved image post claimed: false, reason media_upload_not_supported; the post stays Approved
The approved image changes on disk before loading Asset loading rejects the size/digest mismatch
Image bytes change but the file size stays the same Asset loading still rejects the digest mismatch

All three tests passed. This is a file-backed helper queue I’m building, not a built-in n8n queue feature. No social provider was called in these tests, and they don’t establish live upload readiness or recovery after a lost provider response.

The practical lesson for my n8n-to-helper boundary is to check both worker capability and the exact approved asset bytes. Silently dropping the image would publish different content from what was approved.

Where do you enforce that boundary in your setup: before a worker claims the job, immediately before upload, or at both stages?