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

推荐订阅源

月光博客
月光博客
T
Tenable Blog
D
DataBreaches.Net
GbyAI
GbyAI
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
腾讯CDC
V
Visual Studio Blog
B
Blog
雷峰网
雷峰网
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
I
InfoQ
M
MIT News - Artificial intelligence
有赞技术团队
有赞技术团队
T
Tailwind CSS Blog
The Cloudflare Blog
L
LangChain Blog
MongoDB | Blog
MongoDB | Blog
Vercel News
Vercel News
Cloudbric
Cloudbric
L
Lohrmann on Cybersecurity
博客园 - 司徒正美
T
The Exploit Database - CXSecurity.com
Google DeepMind News
Google DeepMind News
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Attack and Defense Labs
Attack and Defense Labs
Martin Fowler
Martin Fowler
SecWiki News
SecWiki News
T
Threat Research - Cisco Blogs
J
Java Code Geeks
Cyberwarzone
Cyberwarzone
Forbes - Security
Forbes - Security
Spread Privacy
Spread Privacy
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
大猫的无限游戏
大猫的无限游戏
O
OpenAI News
D
Darknet – Hacking Tools, Hacker News & Cyber Security
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Schneier on Security
Schneier on Security
S
Security @ Cisco Blogs
酷 壳 – CoolShell
酷 壳 – CoolShell
The Hacker News
The Hacker News
H
Help Net Security
Y
Y Combinator Blog
C
Cybersecurity and Infrastructure Security Agency CISA
T
Tor Project blog
量子位
U
Unit 42
S
SegmentFault 最新的问题
V
V2EX
D
Docker

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 test: trim doctor command hotspots · openclaw/openclaw@c66f16a test: isolate agent auth and spawn hotspots · openclaw/openclaw@9285935 test: stabilize MCP startup disposal race · openclaw/openclaw@dd9d2eb test: merge browser contract server suites · openclaw/openclaw@5817a76 test: narrow ollama provider discovery setup · openclaw/openclaw@a0d9598 build: declare qa-lab aimock runtime dependency · openclaw/openclaw@24431e5 test: speed up safe-bins exec harness · openclaw/openclaw@ee856ab test: preserve tool helpers in embedded runner mocks · openclaw/openclaw@acd86a0 refactor: move memory embeddings into provider plugins · openclaw/openclaw@77e6e4c test: reuse system-run temp fixtures · openclaw/openclaw@7e9ff0f test: trim hotspot wait overhead · openclaw/openclaw@12a59b0 Check: avoid duplicate boundary prep · openclaw/openclaw@baf11b8 test: reduce hotspot fixture overhead · openclaw/openclaw@3a59edd feat(ui): overhaul settings and slash command UX (#67819) thanks @Bun… · openclaw/openclaw@2cfb660 QA Matrix: exit cleanly on failure · openclaw/openclaw@42805d2 QA Matrix: isolate scenario coverage · openclaw/openclaw@7e659e1 Matrix: refresh crypto bootstrap state · openclaw/openclaw@94081d8 QA Lab: add provider registry · openclaw/openclaw@bb7e982 Matrix: add plugin changelog · openclaw/openclaw@4acab55 test: trim more hotspot overhead · openclaw/openclaw@f485311 test: trim remaining hotspot tests · openclaw/openclaw@6ba8626 test: narrow hotspot mocks · openclaw/openclaw@dbc8179 test: isolate gemini embedding request helpers · openclaw/openclaw@cd330f5 test: trim memory and mcp hotspots · openclaw/openclaw@fd48dfa test: slim provider registry mocks · openclaw/openclaw@2e08c77 test: harden Parallels update smoke · openclaw/openclaw@1a98090 feat: default Anthropic to Opus 4.7 · openclaw/openclaw@628b454 fix: harden node-host shell payload mutability checks · openclaw/openclaw@75c551e fix: land node-host approval binding for native binaries (#66731) (th… · openclaw/openclaw@29919bb CI: add daily schedule to CodeQL workflow (#67645) · openclaw/openclaw@69d25f5 fix(gateway): capture config hash after plugin auto-enable to prevent… · openclaw/openclaw@8c11210 fix: repair sanitized replay tool results before send (#67620) (thank… · openclaw/openclaw@c3c7a99 fix: restrict HTML timeout short-circuit to transient statuses · openclaw/openclaw@de129a6 fix: keep TUI watchdog bound to active run (#67401) (thanks @xantorres) · openclaw/openclaw@3525273 Gateway/skills: dedupe skills prefix-match + drop dead fallback on log · openclaw/openclaw@d7f489f Extensions/lmstudio: back off inference preload after consecutive fai… · openclaw/openclaw@b555214 TUI/streaming: add watchdog that resets the activity indicator after … · openclaw/openclaw@f44ab20 Agents/tool-loop: enable unknown-tool stream guard by default · openclaw/openclaw@36ed367 Gateway/skills: invalidate session skills snapshot on config write · openclaw/openclaw@b23d59a fix: classify HTML provider error pages correctly (#67642) (thanks @s… · openclaw/openclaw@e588e90 fix(skills): remove unused model-usage import (#67641) · openclaw/openclaw@55f05df docs(changelog): credit codex fix superseded PRs · openclaw/openclaw@e485f24 fix(openai-codex): normalize stale transport metadata in resolution a… · openclaw/openclaw@90801ba CI: pin Docker-related GitHub Actions (#67632) · openclaw/openclaw@f697b01 Android: modernize WebView and discovery API usage (#67627) · openclaw/openclaw@44a6e50 fix(deps): bump hono to 4.12.14 and @hono/node-server to 1.19.14 (GHS… · openclaw/openclaw@fbccc18 fix(deps): bump dompurify to 3.4.0 (#67614) · openclaw/openclaw@2c2dc00 CI: add explicit permissions to all workflow jobs (fixes code-scannin… · openclaw/openclaw@01b7516 fix: register bundled TTS providers and route overrides correctly (#6… · openclaw/openclaw@6ea3cdd fix: align host tilde paths with OS home (#62804) (thanks @stainlu) · openclaw/openclaw@ecfaf64 fix: flush creds queue before reconnect socket open (#67464) (thanks … · openclaw/openclaw@405c63f fix: strip standalone <function> tool call tags from visible text (#6… · openclaw/openclaw@78df859 fix(agents): preserve cli session metadata before transcript persist … · openclaw/openclaw@898fd04 docs(changelog): move cli transcript entry · openclaw/openclaw@c1817c6 fix(agents): normalize cli transcript api field · openclaw/openclaw@3a3fae0 docs(changelog): note cli transcript persistence · openclaw/openclaw@6c343f1 fix(agents): persist cli transcript turns · openclaw/openclaw@b8ef507 fix(msteams): harden security-sensitive flows (#65841) · openclaw/openclaw@c56b56e [Dashboard] Fix exec approval modal overflow for long command content… · openclaw/openclaw@053c5b0 Docs: remove QA changelog entry · openclaw/openclaw@7fd5771 QA: fix private runtime source loading (#67428) · openclaw/openclaw@d5933af docs(gateway): correct protocol.md schema path, hello-ok example, aut… · openclaw/openclaw@489404d CI: pin Node 22 runners to 22.18.0 · openclaw/openclaw@4ffa621 models.authStatus: normalize provider ids + tighten env-backed escape… · openclaw/openclaw@f2fdb9d Update CHANGELOG.md · openclaw/openclaw@7694a92 test(parallels): clean up npm update guard jobs · openclaw/openclaw@045ea7b Plugins: prefer scanDir override paths · openclaw/openclaw@b2974da fix(dreaming): default storage.mode to "separate" so phase blocks sto… · openclaw/openclaw@8c392f0 fix(memory-core): skip dreaming transcript ingestion via session stor… · openclaw/openclaw@a1b01f0 fix: dedupe replayed exec.finished node events (#67281) · openclaw/openclaw@5dcf526
chore(ci): tune stale policy and add backfill · openclaw/openclaw@d117ed1
vincentkoc · 2026-04-30 · via Recent Commits to openclaw:main

@@ -4,6 +4,32 @@ on:

44

schedule:

55

- cron: "17 3 * * *"

66

workflow_dispatch:

7+

inputs:

8+

backfill_stale_closures:

9+

description: "Close currently stale-eligible issues and PRs with the Barnacle app"

10+

required: false

11+

type: boolean

12+

default: false

13+

dry_run:

14+

description: "List matching stale-eligible items without closing them"

15+

required: false

16+

type: boolean

17+

default: true

18+

include_issues:

19+

description: "Include stale-eligible issues in the backfill"

20+

required: false

21+

type: boolean

22+

default: true

23+

include_prs:

24+

description: "Include stale-eligible pull requests in the backfill"

25+

required: false

26+

type: boolean

27+

default: true

28+

max_closures:

29+

description: "Maximum items to close when dry_run is false"

30+

required: false

31+

type: number

32+

default: 50

733834

env:

935

FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"

@@ -12,6 +38,7 @@ permissions: {}

12381339

jobs:

1440

stale:

41+

if: ${{ github.event_name != 'workflow_dispatch' || inputs.backfill_stale_closures != true }}

1542

permissions:

1643

issues: write

1744

pull-requests: write

@@ -35,10 +62,10 @@ jobs:

3562

uses: actions/stale@v10

3663

with:

3764

repo-token: ${{ steps.app-token.outputs.token || steps.app-token-fallback.outputs.token }}

38-

days-before-issue-stale: 7

39-

days-before-issue-close: 5

40-

days-before-pr-stale: 5

41-

days-before-pr-close: 3

65+

days-before-issue-stale: 14

66+

days-before-issue-close: 7

67+

days-before-pr-stale: 14

68+

days-before-pr-close: 7

4269

stale-issue-label: stale

4370

stale-pr-label: stale

4471

exempt-issue-labels: enhancement,maintainer,pinned,security,no-stale,bad-barnacle

@@ -95,7 +122,7 @@ jobs:

95122

days-before-issue-stale: -1

96123

days-before-issue-close: -1

97124

days-before-pr-stale: 27

98-

days-before-pr-close: 3

125+

days-before-pr-close: 7

99126

stale-pr-label: stale

100127

exempt-pr-labels: maintainer,no-stale,bad-barnacle

101128

operations-per-run: 2000

@@ -139,10 +166,10 @@ jobs:

139166

uses: actions/stale@v10

140167

with:

141168

repo-token: ${{ steps.app-token-fallback.outputs.token }}

142-

days-before-issue-stale: 7

143-

days-before-issue-close: 5

144-

days-before-pr-stale: 5

145-

days-before-pr-close: 3

169+

days-before-issue-stale: 14

170+

days-before-issue-close: 7

171+

days-before-pr-stale: 14

172+

days-before-pr-close: 7

146173

stale-issue-label: stale

147174

stale-pr-label: stale

148175

exempt-issue-labels: enhancement,maintainer,pinned,security,no-stale,bad-barnacle

@@ -197,7 +224,7 @@ jobs:

197224

days-before-issue-stale: -1

198225

days-before-issue-close: -1

199226

days-before-pr-stale: 27

200-

days-before-pr-close: 3

227+

days-before-pr-close: 7

201228

stale-pr-label: stale

202229

exempt-pr-labels: maintainer,no-stale,bad-barnacle

203230

operations-per-run: 2000

@@ -213,7 +240,217 @@ jobs:

213240

If you believe this PR should be revived, post in #clawtributors on Discord to talk to a maintainer.

214241

That channel is the escape hatch for high-quality PRs that get auto-closed.

215242243+

backfill-stale-closures:

244+

if: ${{ github.event_name == 'workflow_dispatch' && inputs.backfill_stale_closures == true }}

245+

permissions:

246+

issues: write

247+

pull-requests: write

248+

runs-on: blacksmith-16vcpu-ubuntu-2404

249+

steps:

250+

- uses: actions/create-github-app-token@v3

251+

id: app-token

252+

with:

253+

app-id: "2971289"

254+

private-key: ${{ secrets.GH_APP_PRIVATE_KEY_FALLBACK }}

255+

- name: Backfill stale closures

256+

uses: actions/github-script@v9

257+

env:

258+

DRY_RUN: ${{ inputs.dry_run }}

259+

INCLUDE_ISSUES: ${{ inputs.include_issues }}

260+

INCLUDE_PRS: ${{ inputs.include_prs }}

261+

MAX_CLOSURES: ${{ inputs.max_closures }}

262+

with:

263+

github-token: ${{ steps.app-token.outputs.token }}

264+

script: |

265+

const dayMs = 24 * 60 * 60 * 1000;

266+

const dryRun = process.env.DRY_RUN !== "false";

267+

const includeIssues = process.env.INCLUDE_ISSUES !== "false";

268+

const includePrs = process.env.INCLUDE_PRS !== "false";

269+

const maxClosures = Math.max(0, Number(process.env.MAX_CLOSURES || "50"));

270+

const nowMs = Date.now();

271+

const { owner, repo } = context.repo;

272+273+

const issueExemptLabels = new Set([

274+

"enhancement",

275+

"maintainer",

276+

"pinned",

277+

"security",

278+

"no-stale",

279+

"bad-barnacle",

280+

]);

281+

const prExemptLabels = new Set(["maintainer", "no-stale", "bad-barnacle"]);

282+

const maintainerAssociations = new Set(["OWNER", "MEMBER", "COLLABORATOR"]);

283+284+

const issueCloseMessage = [

285+

"Closing due to inactivity.",

286+

"If this is still an issue, please retry on the latest OpenClaw release and share updated details.",

287+

"If you are absolutely sure it still happens on the latest release, open a new issue with fresh steps to reproduce.",

288+

].join("\n");

289+

const prCloseMessage = [

290+

"Closing due to inactivity.",

291+

"If you believe this PR should be revived, post in #clawtributors on Discord to talk to a maintainer.",

292+

"That channel is the escape hatch for high-quality PRs that get auto-closed.",

293+

].join("\n");

294+295+

const hasAny = (labels, exemptLabels) => {

296+

for (const label of labels) {

297+

if (exemptLabels.has(label)) {

298+

return true;

299+

}

300+

}

301+

return false;

302+

};

303+

const isOlderThan = (dateString, days) => {

304+

const timestamp = Date.parse(dateString);

305+

return Number.isFinite(timestamp) && timestamp < nowMs - days * dayMs;

306+

};

307+308+

const candidates = [];

309+

const skipped = {

310+

missingStale: 0,

311+

exemptLabel: 0,

312+

maintainerAuthor: 0,

313+

notOldEnough: 0,

314+

disabledType: 0,

315+

};

316+317+

for await (const response of github.paginate.iterator(github.rest.issues.listForRepo, {

318+

owner,

319+

repo,

320+

state: "open",

321+

sort: "updated",

322+

direction: "asc",

323+

per_page: 100,

324+

})) {

325+

for (const item of response.data) {

326+

const isPr = Boolean(item.pull_request);

327+

if ((isPr && !includePrs) || (!isPr && !includeIssues)) {

328+

skipped.disabledType += 1;

329+

continue;

330+

}

331+332+

const labels = new Set((item.labels || []).map(label => label.name));

333+

if (!labels.has("stale")) {

334+

skipped.missingStale += 1;

335+

continue;

336+

}

337+338+

const exemptLabels = isPr ? prExemptLabels : issueExemptLabels;

339+

if (hasAny(labels, exemptLabels)) {

340+

skipped.exemptLabel += 1;

341+

continue;

342+

}

343+344+

if (maintainerAssociations.has(item.author_association)) {

345+

skipped.maintainerAuthor += 1;

346+

continue;

347+

}

348+349+

const assigned = (item.assignees || []).length > 0;

350+

let eligible = false;

351+

let lane = "";

352+

if (isPr && assigned) {

353+

lane = "assigned-pr";

354+

eligible = isOlderThan(item.created_at, 34);

355+

} else if (isPr) {

356+

lane = "unassigned-pr";

357+

eligible = isOlderThan(item.updated_at, 7);

358+

} else if (assigned) {

359+

lane = "assigned-issue";

360+

eligible = isOlderThan(item.updated_at, 10);

361+

} else {

362+

lane = "unassigned-issue";

363+

eligible = isOlderThan(item.updated_at, 7);

364+

}

365+366+

if (!eligible) {

367+

skipped.notOldEnough += 1;

368+

continue;

369+

}

370+371+

candidates.push({

372+

number: item.number,

373+

title: item.title,

374+

lane,

375+

isPr,

376+

assigned,

377+

createdAt: item.created_at,

378+

updatedAt: item.updated_at,

379+

authorAssociation: item.author_association,

380+

url: item.html_url,

381+

});

382+

}

383+

}

384+385+

const countsByLane = candidates.reduce((counts, candidate) => {

386+

counts[candidate.lane] = (counts[candidate.lane] || 0) + 1;

387+

return counts;

388+

}, {});

389+

const selected = maxClosures === 0 ? candidates : candidates.slice(0, maxClosures);

390+391+

core.info(`Dry run: ${dryRun}`);

392+

core.info(`Candidates: ${candidates.length}`);

393+

core.info(`Selected: ${selected.length}`);

394+

core.info(`Counts by lane: ${JSON.stringify(countsByLane)}`);

395+

core.info(`Skipped: ${JSON.stringify(skipped)}`);

396+

for (const candidate of selected) {

397+

core.info(`${dryRun ? "Would close" : "Closing"} ${candidate.lane} #${candidate.number}: ${candidate.title} (${candidate.url})`);

398+

}

399+400+

await core.summary

401+

.addHeading("Stale Closure Backfill")

402+

.addRaw(`Dry run: ${dryRun}\n\n`)

403+

.addRaw(`Candidates: ${candidates.length}\n\n`)

404+

.addRaw(`Selected: ${selected.length}\n\n`)

405+

.addCodeBlock(JSON.stringify({ countsByLane, skipped }, null, 2), "json")

406+

.addTable([

407+

[

408+

{ data: "Lane", header: true },

409+

{ data: "Number", header: true },

410+

{ data: "Title", header: true },

411+

{ data: "URL", header: true },

412+

],

413+

...selected.map(candidate => [

414+

candidate.lane,

415+

String(candidate.number),

416+

candidate.title,

417+

candidate.url,

418+

]),

419+

])

420+

.write();

421+422+

if (dryRun) {

423+

return;

424+

}

425+426+

for (const candidate of selected) {

427+

await github.rest.issues.createComment({

428+

owner,

429+

repo,

430+

issue_number: candidate.number,

431+

body: candidate.isPr ? prCloseMessage : issueCloseMessage,

432+

});

433+434+

if (candidate.isPr) {

435+

await github.rest.pulls.update({

436+

owner,

437+

repo,

438+

pull_number: candidate.number,

439+

state: "closed",

440+

});

441+

} else {

442+

await github.rest.issues.update({

443+

owner,

444+

repo,

445+

issue_number: candidate.number,

446+

state: "closed",

447+

state_reason: "not_planned",

448+

});

449+

}

450+

}

451+216452

lock-closed-issues:

453+

if: ${{ github.event_name != 'workflow_dispatch' || inputs.backfill_stale_closures != true }}

217454

permissions:

218455

issues: write

219456

runs-on: blacksmith-16vcpu-ubuntu-2404