wake_runners bumped only the global version, which wakes global
runners and nobody else: a runner registered to one repo or one org
watches its own row. It now takes the distinct owner and repo of each
job that has waited over a minute and bumps those scopes, in one
transaction so the global and owner rows move once however many repos
are stalled.
A bump announces work that has already committed, so its failure is not
the caller's to handle. Returned from UpdateRunJob it made
UpdateTaskByState fail after the job was settled; the runner reported
again into "state is final" and the rest of the settlement never ran.
IncreaseTaskVersion now returns nothing and logs a failure. The retries
and their sleeps are gone from the commit path; each scope is tried
once, and the cron is the repair.
The tests wait on a stop mark instead of a fixed delay, since the log
checker reads events asynchronously.
Claude-Session: https://claude.ai/code/session_015XYKLo5aivJF2MHLneVUYc