fix(manga): keep polling through the gap between pull-done and indexed #18

Merged
rms merged 1 commit from fix/poll-index-gap into master 2026-11-29 00:10:29 -06:00
Owner

Live sequence is queued -> unknown -> library (~5s apart): the run finishes before the index rebuild, and the poller stopped at the first non-queued verdict, freezing the badge on "not in library". awaitingLanding keeps watching until library/absent (20 min cap). Probe flip mode fixed to actually observe the gap - it passed against the buggy version before; now 2.1.13 fails, 2.1.14 passes. v2.1.14.

Live sequence is queued -> unknown -> library (~5s apart): the run finishes before the index rebuild, and the poller stopped at the first non-queued verdict, freezing the badge on "not in library". awaitingLanding keeps watching until library/absent (20 min cap). Probe flip mode fixed to actually observe the gap - it passed against the buggy version before; now 2.1.13 fails, 2.1.14 passes. v2.1.14.
Found by watching the live host rather than the probe: queued -> unknown -> library,
about five seconds apart. The pull run is marked finished (so the id stops reading as
queued) before the libfind rebuild makes the gallery visible, and the poller stopped at
the first non-queued verdict - so landing in that window left the badge frozen on
"✕ not in library" with nothing polling it, which is the same complaint one layer down.

`awaitingLanding` now tracks ids seen queued whose landing is unconfirmed, and it
outlives the queued verdict; an id leaves it on library (landed) or absent (gone), and
after 20 minutes regardless, so a silently failed pull cannot poll for ever.

The probe's flip mode had to be made honest first: it flipped straight to library before
any poll could observe the gap, so it passed against 2.1.13 and proved nothing. It now
waits a full poll cycle before introducing the gap and another before landing. Verified:
2.1.14 passes, 2.1.13 fails with the frozen badge.

v2.1.14.
rms merged commit 21de033082 into master 2026-11-29 00:10:29 -06:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rms/userscripts!18
No description provided.