Closed jpwilliams closed 1 day ago
Latest commit: 8a732814dd0df7f138f76a14f5bf099e2bbdeede
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Summary
Fixes a theoretical, rare issue whereby multiple checkpoints can be reported before the next one is awaited, resulting in an entire checkpoint being missed.
At best, this can cause the core loop to hang, and at worst make strange decisions.
For example:
await checkpointPromise
resolvesyield
reports checkpointsetCheckpoint
is called, which reassignscheckpointPromise
setCheckpoint
is called, which reassignscheckpointPromise
while
ticks over and hitsawait checkpointPromise
, which resolves with Checkpoint CChecklist
Added a docs PR that references this PRN/A Internal fix