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

推荐订阅源

Last Week in AI
Last Week in AI
D
DataBreaches.Net
腾讯CDC
Recent Announcements
Recent Announcements
有赞技术团队
有赞技术团队
A
About on SuperTechFans
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Google DeepMind News
Google DeepMind News
Microsoft Security Blog
Microsoft Security Blog
云风的 BLOG
云风的 BLOG
罗磊的独立博客
月光博客
月光博客
MyScale Blog
MyScale Blog
U
Unit 42
Martin Fowler
Martin Fowler
Stack Overflow Blog
Stack Overflow Blog
T
Tailwind CSS Blog
Engineering at Meta
Engineering at Meta
N
Netflix TechBlog - Medium
G
Google Developers Blog
博客园 - 【当耐特】
D
Docker
I
InfoQ
雷峰网
雷峰网

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
docs: document release runner scripts · openclaw/openclaw...
steipete · 2026-06-05 · via Recent Commits to openclaw:main

@@ -1,10 +1,14 @@

11

#!/usr/bin/env node

223+

// Generates release dependency evidence artifacts and summaries.

34

import { execFileSync } from "node:child_process";

45

import { appendFile, mkdir, readFile, rm, writeFile } from "node:fs/promises";

56

import path from "node:path";

67

import process from "node:process";

789+

/**

10+

* Dependency evidence reports generated for release artifacts.

11+

*/

812

export const DEPENDENCY_EVIDENCE_REPORTS = [

913

{

1014

name: "npm advisory vulnerability gate",

@@ -70,13 +74,19 @@ function runCommand(command, args, { rootDir, execFileSyncImpl = execFileSync })

7074

});

7175

}

727677+

/**

78+

* Resolves the release tag when the release ref is a SHA or tag.

79+

*/

7380

export function resolveReleaseTag({ releaseRef, packageVersion }) {

7481

if (/^[0-9a-fA-F]{40}$/u.test(releaseRef)) {

7582

return `v${packageVersion}`;

7683

}

7784

return releaseRef;

7885

}

798687+

/**

88+

* Resolves the previous reachable release tag for dependency diffs.

89+

*/

8090

export function resolvePreviousReleaseTag({

8191

rootDir = process.cwd(),

8292

execFileSyncImpl = execFileSync,

@@ -114,6 +124,9 @@ export function resolvePreviousReleaseTag({

114124

);

115125

}

116126127+

/**

128+

* Creates the dependency evidence manifest payload.

129+

*/

117130

export function createDependencyEvidenceManifest({

118131

generatedAt = new Date().toISOString(),

119132

releaseTag,

@@ -149,6 +162,9 @@ async function readJson(filePath) {

149162

return JSON.parse(await readFile(filePath, "utf8"));

150163

}

151164165+

/**

166+

* Reads generated reports and collects summary counts.

167+

*/

152168

export async function collectDependencyEvidenceSummaryCounts(evidenceDir) {

153169

const [vulnerability, transitiveRisk, ownershipSurface, dependencyChanges] = await Promise.all([

154170

readJson(reportPath(evidenceDir, "dependency-vulnerability-gate.json")),

@@ -171,6 +187,9 @@ export async function collectDependencyEvidenceSummaryCounts(evidenceDir) {

171187

};

172188

}

173189190+

/**

191+

* Renders the dependency evidence Markdown summary.

192+

*/

174193

export function renderDependencyEvidenceSummary({ releaseTag, releaseSha, baseRef, counts }) {

175194

return `${[

176195

"# Dependency release evidence",

@@ -199,6 +218,9 @@ export function renderDependencyEvidenceSummary({ releaseTag, releaseSha, baseRe

199218

].join("\n")}\n`;

200219

}

201220221+

/**

222+

* Renders the GitHub Actions step summary for dependency evidence.

223+

*/

202224

export function renderDependencyEvidenceStepSummary({ evidenceArtifactName, baseRef, counts }) {

203225

return `${[

204226

"### Dependency release evidence",

@@ -267,6 +289,9 @@ function runEvidenceReports({ rootDir, outputDir, baseRef, execFileSyncImpl }) {

267289

);

268290

}

269291292+

/**

293+

* Generates dependency evidence reports, manifest, and summaries for a release.

294+

*/

270295

export async function generateDependencyReleaseEvidence({

271296

rootDir = process.cwd(),

272297

outputDir,

@@ -402,6 +427,9 @@ function parseArgs(argv) {

402427

return options;

403428

}

404429430+

/**

431+

* Runs the dependency release evidence generator CLI.

432+

*/

405433

export async function main(argv = process.argv.slice(2)) {

406434

await generateDependencyReleaseEvidence(parseArgs(argv));

407435

return 0;