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
Copy file name to clipboardExpand all lines: src/queue/review-evasion.ts
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1365,4 +1365,6 @@ async function closeSynchronizeAmendmentIfPolicyEnabled(
1365
1365
/* v8 ignore next -- fail-safe: an audit write failure never blocks the handler. */
1366
1366
()=>undefined,
1367
1367
);
1368
+
/* v8 ignore next -- best-effort: the guarded CAS update never rejects against a healthy D1, and a cleanup failure here must never block the webhook. */
it("terminalizes the active-review tracking row on enforcement close -- leaves no dangling row for the PR's reviewed headSha, matching the four sibling guards",async()=>{
constaudit=awaitenv.DB.prepare("select outcome from audit_events where event_type = ?").bind("github_app.synchronize_amend_closed").first<{outcome: string}>();
0 commit comments