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
The triage currently at #6219 would fix it, with the explanation and code
// This nested await is safe because "all-branches-balanced".//// This nested synchronous-throw-impossible await at the top level of// the then branch is safe because it is balanced by a// synchronous-throw-impossible await at the top level of the else// branch. In fact the await in the else branch was introduced for// that balance, in order to make this one safe.// eslint-disable-next-line @jessie.js/no-nested-awaitawaitrunning;running=undefined;}else{// This nested await is safe because "all-branches-balanced".//// This nested synchronous-throw-impossible await at the top level of// the else branch is safe because it is balanced by a// synchronous-throw-impossible await at the top level of the then// branch. In fact it was introduced for that balance, in order to// make the `await` in the then branch safe.// eslint-disable-next-line @jessie.js/no-nested-awaitawaitnull;}
Most of #6219 consists of commentary or cosmetic code changes, and so can be postponed until after PS0. But this is a safety fix. Whether we should cherry pick it, to get it in before PS0 depends on what the consequences are of not fixing it.
Assigning myself since I have the fix done in #6219 and would do the cherry picking if we decide to do that.
Git blame shows @dckc as the one who should probably investigate this, so I'm assigning to them as well. Feel free to reassign as appropriate of course.
The text was updated successfully, but these errors were encountered:
erights
changed the title
Await safety not yet fixed in swing-store/src/snapStore.js for rename call
Await safety not yet fixed in swing-store/src/snapStore.js for unbalanced ifSep 16, 2022
agoric-sdk/packages/xsnap/src/replay.js
Lines 221 to 225 in 293f88e
The triage currently at #6219 would fix it, with the explanation and code
Most of #6219 consists of commentary or cosmetic code changes, and so can be postponed until after PS0. But this is a safety fix. Whether we should cherry pick it, to get it in before PS0 depends on what the consequences are of not fixing it.
Assigning myself since I have the fix done in #6219 and would do the cherry picking if we decide to do that.
Git blame shows @dckc as the one who should probably investigate this, so I'm assigning to them as well. Feel free to reassign as appropriate of course.
The text was updated successfully, but these errors were encountered: