My Publisher Kept Waiting for a CAPTCHA That Never Came. The State Machine Had No Exit.
Originally published on hexisteme notes . On November 14 at 09:42:55 my publisher clicked the publish button in a blog platform's web editor. The page did not navigate and no CAPTCHA appeared. From then on, every scheduled run returned the same line, {"status": "awaiting_captcha"} , and never pressed the button again. The post was not public, and the CAPTCHA relay had no tab to show me, because…
The article discusses a technical issue faced by a publisher running a blog platform's web editor, where a CAPTCHA never appeared despite a click being made. The publisher job would repeatedly return the status "awaiting_captcha" and never proceed further. The author explains that the publisher's code had a single exit condition for the "screen_clicked" phase, which resulted in an endless loop of waiting for a CAPTCHA that never appeared.
To address this issue, the author introduced a settle window of 10 minutes, after which the job would either wait if a CAPTCHA was still pending or release the run if not. This change allowed the publisher to exit the waiting state and prevent duplicate posts.
Brief written by urgent.news; may contain errors — check the original.
Source: dev.to