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

推荐订阅源

U
Unit 42
博客园 - Franky
T
Tailwind CSS Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
月光博客
月光博客
人人都是产品经理
人人都是产品经理
雷峰网
雷峰网
Hugging Face - Blog
Hugging Face - Blog
有赞技术团队
有赞技术团队
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
阮一峰的网络日志
阮一峰的网络日志
C
Check Point Blog
爱范儿
爱范儿
T
The Blog of Author Tim Ferriss
aimingoo的专栏
aimingoo的专栏
Stack Overflow Blog
Stack Overflow Blog
博客园 - 聂微东
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
L
LangChain Blog
云风的 BLOG
云风的 BLOG
MyScale Blog
MyScale Blog
Microsoft Security Blog
Microsoft Security Blog
The Cloudflare Blog
博客园 - 三生石上(FineUI控件)

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
ci: retry transient checkout fetch timeouts · openclaw/op...
steipete · 2026-05-29 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -88,10 +88,22 @@ jobs:

8888

git -C "$GITHUB_WORKSPACE" remote add origin "https://github.com/${CHECKOUT_REPO}.git"

8989

fetch_checkout_ref() {

9090

local ref="$1"

91-

timeout --signal=TERM --kill-after=10s 30s git -C "$GITHUB_WORKSPACE" \

92-

-c protocol.version=2 \

93-

fetch --no-tags --prune --no-recurse-submodules --depth=1 origin \

94-

"+${ref}:refs/remotes/origin/checkout"

91+

local fetch_status

92+

for attempt in 1 2 3; do

93+

timeout --signal=TERM --kill-after=10s 30s git -C "$GITHUB_WORKSPACE" \

94+

-c protocol.version=2 \

95+

fetch --no-tags --prune --no-recurse-submodules --depth=1 origin \

96+

"+${ref}:refs/remotes/origin/checkout" && return 0

97+

fetch_status="$?"

98+

if [ "$fetch_status" != "124" ] && [ "$fetch_status" != "137" ]; then

99+

return "$fetch_status"

100+

fi

101+

if [ "$attempt" = "3" ]; then

102+

return "$fetch_status"

103+

fi

104+

echo "::warning::checkout fetch for '$ref' timed out on attempt $attempt; retrying"

105+

sleep 5

106+

done

95107

}

96108

if fetch_checkout_ref "$CHECKOUT_REF"; then

97109

:

@@ -337,10 +349,22 @@ jobs:

337349

git -C "$GITHUB_WORKSPACE" remote add origin "https://github.com/${CHECKOUT_REPO}.git"

338350

fetch_checkout_ref() {

339351

local ref="$1"

340-

timeout --signal=TERM --kill-after=10s 30s git -C "$GITHUB_WORKSPACE" \

341-

-c protocol.version=2 \

342-

fetch --no-tags --prune --no-recurse-submodules --depth=1 origin \

343-

"+${ref}:refs/remotes/origin/checkout"

352+

local fetch_status

353+

for attempt in 1 2 3; do

354+

timeout --signal=TERM --kill-after=10s 30s git -C "$GITHUB_WORKSPACE" \

355+

-c protocol.version=2 \

356+

fetch --no-tags --prune --no-recurse-submodules --depth=1 origin \

357+

"+${ref}:refs/remotes/origin/checkout" && return 0

358+

fetch_status="$?"

359+

if [ "$fetch_status" != "124" ] && [ "$fetch_status" != "137" ]; then

360+

return "$fetch_status"

361+

fi

362+

if [ "$attempt" = "3" ]; then

363+

return "$fetch_status"

364+

fi

365+

echo "::warning::checkout fetch for '$ref' timed out on attempt $attempt; retrying"

366+

sleep 5

367+

done

344368

}

345369

if fetch_checkout_ref "$CHECKOUT_REF"; then

346370

:

@@ -1583,10 +1607,25 @@ jobs:

15831607

git init "$GITHUB_WORKSPACE"

15841608

git -C "$GITHUB_WORKSPACE" config gc.auto 0

15851609

git -C "$GITHUB_WORKSPACE" remote add origin "https://github.com/${CHECKOUT_REPO}.git"

1586-

timeout --signal=TERM --kill-after=10s 30s git -C "$GITHUB_WORKSPACE" \

1587-

-c protocol.version=2 \

1588-

fetch --no-tags --prune --no-recurse-submodules --depth=1 origin \

1589-

"+${CHECKOUT_SHA}:refs/remotes/origin/checkout"

1610+

fetch_checkout_ref() {

1611+

local fetch_status

1612+

for attempt in 1 2 3; do

1613+

timeout --signal=TERM --kill-after=10s 30s git -C "$GITHUB_WORKSPACE" \

1614+

-c protocol.version=2 \

1615+

fetch --no-tags --prune --no-recurse-submodules --depth=1 origin \

1616+

"+${CHECKOUT_SHA}:refs/remotes/origin/checkout" && return 0

1617+

fetch_status="$?"

1618+

if [ "$fetch_status" != "124" ] && [ "$fetch_status" != "137" ]; then

1619+

return "$fetch_status"

1620+

fi

1621+

if [ "$attempt" = "3" ]; then

1622+

return "$fetch_status"

1623+

fi

1624+

echo "::warning::checkout fetch for '$CHECKOUT_SHA' timed out on attempt $attempt; retrying"

1625+

sleep 5

1626+

done

1627+

}

1628+

fetch_checkout_ref

15901629

git -C "$GITHUB_WORKSPACE" checkout --detach refs/remotes/origin/checkout

15911630
15921631

- name: Setup Python

Original file line numberDiff line numberDiff line change

@@ -50,6 +50,9 @@ describe("ci workflow guards", () => {

5050

expect(checkoutStep.run, jobName).toContain(

5151

'timeout --signal=TERM --kill-after=10s 30s git -C "$GITHUB_WORKSPACE"',

5252

);

53+

expect(checkoutStep.run, jobName).toContain("for attempt in 1 2 3");

54+

expect(checkoutStep.run, jobName).toContain("timed out on attempt $attempt; retrying");

55+

expect(checkoutStep.run, jobName).not.toContain("if timeout --signal=TERM");

5356

expect(checkoutStep.run, jobName).toContain("-c protocol.version=2");

5457

expect(checkoutStep.run, jobName).toContain(

5558

"fetch --no-tags --prune --no-recurse-submodules --depth=1 origin",