fix(github): raise Barnacle active PR limit · openclaw/openclaw@1b951c5
vincentkoc
·
2026-05-03
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | // Barnacle owns deterministic GitHub triage and auto-response behavior. |
2 | 2 | |
3 | | -const activePrLimit = 10; |
| 3 | +const activePrLimit = 20; |
4 | 4 | |
5 | 5 | const thirdPartyExtensionMessage = |
6 | 6 | "Please publish this as a third-party plugin on [ClawHub](https://clawhub.ai) instead of adding it to the core repo. Docs: https://docs.openclaw.ai/plugin and https://docs.openclaw.ai/tools/clawhub"; |
@@ -80,7 +80,7 @@ export const managedLabelSpecs = {
|
80 | 80 | }, |
81 | 81 | "r: too-many-prs": { |
82 | 82 | color: "D93F0B", |
83 | | -description: "Auto-close: author has more than ten active PRs.", |
| 83 | +description: "Auto-close: author has more than twenty active PRs.", |
84 | 84 | }, |
85 | 85 | "r: too-many-prs-override": { |
86 | 86 | color: "C2E0C6", |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -204,7 +204,7 @@ describe("barnacle-auto-response", () => {
|
204 | 204 | expect(managedLabelSpecs["r: support"].description).toContain("support requests"); |
205 | 205 | expect(managedLabelSpecs["r: false-positive"].description).toContain("false positive"); |
206 | 206 | expect(managedLabelSpecs["r: third-party-extension"].description).toContain("ClawHub"); |
207 | | -expect(managedLabelSpecs["r: too-many-prs"].description).toContain("ten active PRs"); |
| 207 | +expect(managedLabelSpecs["r: too-many-prs"].description).toContain("twenty active PRs"); |
208 | 208 | |
209 | 209 | for (const label of Object.values(candidateLabels)) { |
210 | 210 | expect(managedLabelSpecs[label]).toBeDefined(); |
@@ -495,7 +495,7 @@ describe("barnacle-auto-response", () => {
|
495 | 495 | ); |
496 | 496 | expect(calls.createComment).not.toContainEqual( |
497 | 497 | expect.objectContaining({ |
498 | | -body: expect.stringContaining("more than 10 active PRs"), |
| 498 | +body: expect.stringContaining("more than 20 active PRs"), |
499 | 499 | }), |
500 | 500 | ); |
501 | 501 | expect(calls.update).not.toContainEqual(expect.objectContaining({ state: "closed" })); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。