You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e46744e
Browse filesBrowse the repository at this point in the historyBrowse files
fix(worker): publish repo-index job pointer in onStarted before superseding
trackLatestJob removes a resource's previous job right after onStarted,
which assumes the parent's latest...JobId pointer has already moved.
repo-index wrote latestIndexingJobId inside process instead, so an abort
or DB error before that write could leave the pointer on a removed job.
- Move the pointer write to an onStarted hook (updateMany keyed by repo
id), matching the other latestPerResource workloads.
- Reject a latestPerResource workload without onStarted at registration
so the contract cannot be silently skipped by a future workload.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
0 commit comments