惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

罗磊的独立博客
Y
Y Combinator Blog
Recent Announcements
Recent Announcements
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
Visual Studio Blog
MyScale Blog
MyScale Blog
M
MIT News - Artificial intelligence
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
T
The Blog of Author Tim Ferriss
Martin Fowler
Martin Fowler
博客园 - 【当耐特】
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
宝玉的分享
宝玉的分享
Engineering at Meta
Engineering at Meta
WordPress大学
WordPress大学
Google DeepMind News
Google DeepMind News
C
Check Point Blog
Last Week in AI
Last Week in AI
F
Fortinet All Blogs
博客园 - 聂微东
Blog — PlanetScale
Blog — PlanetScale
H
Help Net Security
GbyAI
GbyAI
云风的 BLOG
云风的 BLOG

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
fix(ci): exempt automation PRs from Barnacle PR limit · o...
vincentkoc · 2026-04-30 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -375,10 +375,12 @@ jobs:

375375

return false;

376376

};

377377
378-

const isClawsweeperPullRequest =

379-

typeof headRefName === "string" && headRefName.startsWith("clawsweeper/");

378+

const automationPrHeadPrefixes = ["clawsweeper/", "clownfish/"];

379+

const isAutomationPullRequest =

380+

typeof headRefName === "string" &&

381+

automationPrHeadPrefixes.some((prefix) => headRefName.startsWith(prefix));

380382
381-

if ((await isPrivilegedAuthor()) || isClawsweeperPullRequest) {

383+

if ((await isPrivilegedAuthor()) || isAutomationPullRequest) {

382384

if (labelNames.has(activePrLimitLabel)) {

383385

try {

384386

await github.rest.issues.removeLabel({

Original file line numberDiff line numberDiff line change

@@ -237,10 +237,14 @@ const candidateActionRules = [

237237

];

238238
239239

const normalizeLogin = (login) => login.toLowerCase();

240+

const automationPrHeadPrefixes = ["clawsweeper/", "clownfish/"];

240241
241-

export function isClawsweeperPullRequest(pullRequest) {

242+

export function isAutomationPullRequest(pullRequest) {

242243

const headRefName = pullRequest.headRefName ?? pullRequest.head?.ref ?? "";

243-

return typeof headRefName === "string" && headRefName.startsWith("clawsweeper/");

244+

return (

245+

typeof headRefName === "string" &&

246+

automationPrHeadPrefixes.some((prefix) => headRefName.startsWith(prefix))

247+

);

244248

}

245249
246250

export function extractIssueFormValue(body, field) {

@@ -1031,7 +1035,7 @@ export async function runBarnacleAutoResponse({ github, context, core = console

10311035

if (pullRequest && labelSet.has(activePrLimitOverrideLabel)) {

10321036

labelSet.delete(activePrLimitLabel);

10331037

}

1034-

if (pullRequest && isClawsweeperPullRequest(pullRequest)) {

1038+

if (pullRequest && isAutomationPullRequest(pullRequest)) {

10351039

await removeLabels(github, context, pullRequest.number, [activePrLimitLabel], labelSet);

10361040

}

10371041
Original file line numberDiff line numberDiff line change

@@ -290,20 +290,26 @@ describe("barnacle-auto-response", () => {

290290

);

291291

});

292292
293-

it("does not close ClawSweeper PRs for the active PR limit", async () => {

294-

for (const headRef of [

295-

{ head: { ref: "clawsweeper/openclaw-openclaw-73880" } },

296-

{ headRefName: "clawsweeper/openclaw-openclaw-73880" },

293+

it("does not close automation PRs for the active PR limit", async () => {

294+

for (const automationPullRequest of [

295+

{ head: { ref: "clawsweeper/openclaw-openclaw-73880" }, login: "app/openclaw-clawsweeper" },

296+

{ headRefName: "clawsweeper/openclaw-openclaw-73880", login: "app/openclaw-clawsweeper" },

297+

{

298+

head: { ref: "clownfish/ghcrawl-156993-autonomous-smoke" },

299+

login: "app/openclaw-clownfish",

300+

},

301+

{ headRefName: "clownfish/ghcrawl-156993-autonomous-smoke", login: "app/openclaw-clownfish" },

297302

]) {

298303

const { calls, github } = barnacleGithub([]);

304+

const { login, ...pullRequest } = automationPullRequest;

299305
300306

await runBarnacleAutoResponse({

301307

github,

302308

context: barnacleContext(

303309

{

304-

...headRef,

310+

...pullRequest,

305311

user: {

306-

login: "app/openclaw-clawsweeper",

312+

login,

307313

},

308314

},

309315

["r: too-many-prs"],