A publishing task can have a remote ID and an uncertain final outcome at the same time. A client that stores only success or failure loses that distinction.
Here is a small, executable JavaScript model for making the distinction explicit. It is a teaching example: it does not send requests, retry work or prove that a real page has been published.
Start with evidence, not a green checkmark
HTTP202 tells a client that a request was accepted for processing. It does not establish completion. RFC9110 section15.3.3 describes the same boundary at the protocol level.
A particular CMS may return a different status or use a synchronous contract. Follow that contract.…