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

推荐订阅源

N
Netflix TechBlog - Medium
I
InfoQ
Engineering at Meta
Engineering at Meta
Jina AI
Jina AI
Recent Announcements
Recent Announcements
T
The Blog of Author Tim Ferriss
P
Proofpoint News Feed
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
D
Docker
Microsoft Security Blog
Microsoft Security Blog
宝玉的分享
宝玉的分享
Last Week in AI
Last Week in AI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
GbyAI
GbyAI
博客园 - Franky
博客园 - 聂微东
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - 叶小钗
酷 壳 – CoolShell
酷 壳 – CoolShell
B
Blog RSS Feed
WordPress大学
WordPress大学
MyScale Blog
MyScale 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(lint): cap oxlint helper memory locally · openclaw/op...
vincentkoc · 2026-05-27 · via Recent Commits to openclaw:main

@@ -227,7 +227,7 @@ describe("local-heavy-check-runtime", () => {

227227

});

228228229229

it("serializes local oxlint runs onto one thread on constrained hosts", () => {

230-

const { args } = applyLocalOxlintPolicy([], makeEnv(), CONSTRAINED_HOST);

230+

const { args, env } = applyLocalOxlintPolicy([], makeEnv(), CONSTRAINED_HOST);

231231232232

expect(args).toEqual([

233233

"--type-aware",

@@ -237,10 +237,12 @@ describe("local-heavy-check-runtime", () => {

237237

"error",

238238

"--threads=1",

239239

]);

240+

expect(env.GOGC).toBe("30");

241+

expect(env.GOMEMLIMIT).toBe("3GiB");

240242

});

241243242244

it("defaults local oxlint to one thread on roomy hosts", () => {

243-

const { args } = applyLocalOxlintPolicy([], makeEnv(), ROOMY_HOST);

245+

const { args, env } = applyLocalOxlintPolicy([], makeEnv(), ROOMY_HOST);

244246245247

expect(args).toEqual([

246248

"--type-aware",

@@ -250,10 +252,16 @@ describe("local-heavy-check-runtime", () => {

250252

"error",

251253

"--threads=1",

252254

]);

255+

expect(env.GOGC).toBe("30");

256+

expect(env.GOMEMLIMIT).toBe("3GiB");

253257

});

254258255259

it("honors an explicit oxlint thread count", () => {

256-

const { args } = applyLocalOxlintPolicy(["--threads=8"], makeEnv(), ROOMY_HOST);

260+

const { args, env } = applyLocalOxlintPolicy(

261+

["--threads=8"],

262+

makeEnv({ GOGC: "80", GOMEMLIMIT: "5GiB" }),

263+

ROOMY_HOST,

264+

);

257265258266

expect(args).toEqual([

259267

"--threads=8",

@@ -263,10 +271,12 @@ describe("local-heavy-check-runtime", () => {

263271

"--report-unused-disable-directives-severity",

264272

"error",

265273

]);

274+

expect(env.GOGC).toBe("80");

275+

expect(env.GOMEMLIMIT).toBe("5GiB");

266276

});

267277268278

it("allows forcing full-speed oxlint runs on roomy hosts", () => {

269-

const { args } = applyLocalOxlintPolicy(

279+

const { args, env } = applyLocalOxlintPolicy(

270280

[],

271281

makeEnv({

272282

OPENCLAW_LOCAL_CHECK_MODE: "full",

@@ -281,6 +291,8 @@ describe("local-heavy-check-runtime", () => {

281291

"--report-unused-disable-directives-severity",

282292

"error",

283293

]);

294+

expect(env.GOGC).toBeUndefined();

295+

expect(env.GOMEMLIMIT).toBeUndefined();

284296

});

285297286298

it("skips the heavy-check lock for explicit oxlint file targets", () => {