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

推荐订阅源

Microsoft Azure Blog
Microsoft Azure Blog
aimingoo的专栏
aimingoo的专栏
F
Fortinet All Blogs
Blog — PlanetScale
Blog — PlanetScale
GbyAI
GbyAI
MongoDB | Blog
MongoDB | Blog
月光博客
月光博客
The Cloudflare Blog
量子位
T
Tailwind CSS Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
B
Blog
MyScale Blog
MyScale Blog
T
The Blog of Author Tim Ferriss
The GitHub Blog
The GitHub Blog
G
Google Developers Blog
D
DataBreaches.Net
V
Visual Studio Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Last Week in AI
Last Week in AI
U
Unit 42
博客园 - 聂微东
有赞技术团队
有赞技术团队
A
About on SuperTechFans

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
refactor: stop masking legacy plugin dependency staging ·...
steipete · 2026-05-02 · via Recent Commits to openclaw:main

@@ -86,64 +86,15 @@ describe("package dist inventory", () => {

8686

"cli.d.ts",

8787

);

8888

const omittedQaRuntimeChunk = path.join(packageRoot, "dist", "qa-runtime-B9LDtssJ.js");

89-

const omittedRuntimeDepsStamp = path.join(

90-

packageRoot,

91-

"dist",

92-

"extensions",

93-

"discord",

94-

".openclaw-runtime-deps-stamp.json",

95-

);

9689

const [omittedBuildStamp, omittedRuntimePostBuildStamp] = LOCAL_BUILD_METADATA_DIST_PATHS.map(

9790

(relativePath) => path.join(packageRoot, relativePath),

9891

);

99-

const omittedRuntimeDepsTempFile = path.join(

100-

packageRoot,

101-

"dist",

102-

"extensions",

103-

"discord",

104-

".openclaw-runtime-deps-backup-node_modules-old",

105-

"left-pad",

106-

"index.js",

107-

);

108-

const omittedRuntimeDepsTempSymlink = path.join(

109-

packageRoot,

110-

"dist",

111-

"extensions",

112-

"amazon-bedrock",

113-

".openclaw-runtime-deps-copy-KZmXaz",

114-

"node_modules",

115-

".bin",

116-

"fxparser",

117-

);

118-

const omittedExtensionNodeModuleSymlink = path.join(

119-

packageRoot,

120-

"dist",

121-

"extensions",

122-

"discord",

123-

"node_modules",

124-

".bin",

125-

"color-support",

126-

);

127-

const omittedExtensionRootAliasSymlink = path.join(

128-

packageRoot,

129-

"dist",

130-

"extensions",

131-

"node_modules",

132-

"openclaw",

133-

"plugin-sdk",

134-

);

13592

const omittedMap = path.join(packageRoot, "dist", "feature.runtime.js.map");

13693

await fs.mkdir(path.dirname(packagedQaChannelRuntime), { recursive: true });

13794

await fs.mkdir(path.dirname(packagedQaLabRuntime), { recursive: true });

13895

await fs.mkdir(path.dirname(omittedQaMatrixChunk), { recursive: true });

13996

await fs.mkdir(path.dirname(omittedQaLabTypes), { recursive: true });

140-

await fs.mkdir(path.dirname(omittedRuntimeDepsStamp), { recursive: true });

141-

await fs.mkdir(path.dirname(omittedRuntimeDepsTempFile), { recursive: true });

142-

await fs.mkdir(path.dirname(omittedRuntimeDepsTempSymlink), { recursive: true });

143-

await fs.mkdir(path.dirname(omittedExtensionNodeModuleSymlink), { recursive: true });

144-

await fs.mkdir(path.dirname(omittedExtensionRootAliasSymlink), { recursive: true });

14597

await fs.mkdir(path.join(packageRoot, "dist", "plugin-sdk"), { recursive: true });

146-

await fs.writeFile(path.join(packageRoot, "color-support.js"), "export {};\n", "utf8");

14798

await fs.writeFile(packagedQaChannelRuntime, "export {};\n", "utf8");

14899

await fs.writeFile(packagedQaLabRuntime, "export {};\n", "utf8");

149100

await fs.writeFile(omittedQaChunk, "export {};\n", "utf8");

@@ -154,26 +105,15 @@ describe("package dist inventory", () => {

154105

await fs.writeFile(omittedQaChannelProtocolPluginSdk, "export {};\n", "utf8");

155106

await fs.writeFile(omittedQaLabTypes, "export {};\n", "utf8");

156107

await fs.writeFile(omittedQaRuntimeChunk, "export {};\n", "utf8");

157-

await fs.writeFile(omittedRuntimeDepsStamp, "{}\n", "utf8");

158108

await fs.writeFile(omittedBuildStamp, "{}\n", "utf8");

159109

await fs.writeFile(omittedRuntimePostBuildStamp, "{}\n", "utf8");

160-

await fs.writeFile(omittedRuntimeDepsTempFile, "module.exports = 1;\n", "utf8");

161-

await fs.symlink(path.join(packageRoot, "color-support.js"), omittedRuntimeDepsTempSymlink);

162-

await fs.symlink(

163-

path.join(packageRoot, "color-support.js"),

164-

omittedExtensionNodeModuleSymlink,

165-

);

166-

await fs.symlink(

167-

path.join(packageRoot, "dist", "plugin-sdk"),

168-

omittedExtensionRootAliasSymlink,

169-

);

170110

await fs.writeFile(omittedMap, "{}", "utf8");

171111172112

await expect(writePackageDistInventory(packageRoot)).resolves.toEqual([]);

173113

});

174114

});

175115176-

it("ignores runtime-created install staging dirs during installed dist verification", async () => {

116+

it("reports runtime-created install staging dirs during installed dist verification", async () => {

177117

await withTempDir({ prefix: "openclaw-dist-inventory-stage-" }, async (packageRoot) => {

178118

const realFile = path.join(packageRoot, "dist", "real-AbC123.js");

179119

await fs.mkdir(path.dirname(realFile), { recursive: true });

@@ -207,7 +147,10 @@ describe("package dist inventory", () => {

207147

await fs.mkdir(path.dirname(suffixedStageFile), { recursive: true });

208148

await fs.writeFile(suffixedStageFile, "{}", "utf8");

209149210-

await expect(collectPackageDistInventoryErrors(packageRoot)).resolves.toEqual([]);

150+

await expect(collectPackageDistInventoryErrors(packageRoot)).resolves.toEqual([

151+

"unexpected packaged dist file dist/extensions/brave/.openclaw-install-stage/node_modules/typebox/build/compile/code.mjs",

152+

"unexpected packaged dist file dist/extensions/browser/.openclaw-install-stage-AbC123/node_modules/playwright-core/package.json",

153+

]);

211154

});

212155

});

213156