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
expect(calls.some((c)=>c.method==="PATCH"&&c.url.endsWith("/pulls/42"))).toBe(false);// never closed under freeze
1370
-
expect(awaitenv.DB.prepare("select count(*) as n from audit_events where event_type = ?").bind("github_app.draft_dodge_closed").first<{n: number}>()).toMatchObject({n: 0});
1370
+
constaudit=awaitenv.DB.prepare("select outcome, detail from audit_events where event_type = ?").bind("github_app.draft_dodge_closed").first<{outcome: string;detail: string}>();
1371
+
expect(audit?.outcome).toBe("denied");
1372
+
expect(audit?.detail).toContain("agent actions paused -- draft-dodge close not enforced for contributor");
1371
1373
});
1372
1374
1373
1375
it("dry-run: audits a would-be draft-dodge close without touching GitHub (#killswitch-gap)",async()=>{
0 commit comments