Skip to content

Commit ae44228

Browse files
authored
increase per-category issue cap to 25 (#37248)
1 parent beefa26 commit ae44228

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

actions/setup/js/handle_agent_failure.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const path = require("path");
2727

2828
const DEFAULT_ACTION_FAILURE_ISSUE_EXPIRES_HOURS = 24 * 7;
2929
const FAILURE_ISSUE_DEDUP_WINDOW_HOURS = 24;
30-
const FAILURE_ISSUE_CATEGORY_DAILY_CAP = 5;
30+
const FAILURE_ISSUE_CATEGORY_DAILY_CAP = 25;
3131
const FAILURE_ISSUE_WINDOW_MS = FAILURE_ISSUE_DEDUP_WINDOW_HOURS * 60 * 60 * 1000;
3232
const DEFAULT_OTEL_JSONL_PATH = "/tmp/gh-aw/otel.jsonl";
3333
// Engine-side 429/rate-limit signatures:

actions/setup/js/handle_agent_failure.test.cjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -707,8 +707,8 @@ describe("handle_agent_failure", () => {
707707
if (q.includes('"gh-aw-failure-issue:"') && q.includes('"failure_categories:"')) {
708708
return {
709709
data: {
710-
total_count: 5,
711-
items: Array.from({ length: 5 }, (_, index) => ({
710+
total_count: 25,
711+
items: Array.from({ length: 25 }, (_, index) => ({
712712
number: index + 1,
713713
html_url: `https://github.com/owner/repo/issues/${index + 1}`,
714714
created_at: now,

0 commit comments

Comments
 (0)