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
Two timing windows: Refresh during a parse, and a proof saved onto a replacement copy #644
Two narrow timing windows left after #361 and #367. Both need a pause at an exact point to show.
Refresh between a parse and its index write.clear_cache can finish after a loader publishes a parse file and before it takes jobs/index.json.lock. The loader then lists a job whose parse file Refresh just removed: job_index lists it, n_cached is 0.
A replacement copy takes an old proof. Start a proof on a user copy, Use bundled entry, make a new copy with a different driver, then save the first proof. The new copy shows the old 7/7: path, key and schema all match.
Reproduction
Pause load_job after its parse file is written, run Refresh, resume.
As in item 2 above, from definitions.get to definitions.save.
Expected
Neither writer publishes a result for something that changed under it.
Acceptance
An index addition is published only while its parse file is still there and matches
A proof saves only onto the same entry it was started on, not a later copy at the same path
Activity
fix(runs): close two timing windows in the job index and proof saves
fix(runs): close two timing windows in the job index and proof saves