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

推荐订阅源

有赞技术团队
有赞技术团队
小众软件
小众软件
The Cloudflare Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园_首页
酷 壳 – CoolShell
酷 壳 – CoolShell
爱范儿
爱范儿
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
雷峰网
雷峰网
Jina AI
Jina AI
博客园 - 【当耐特】
V
Visual Studio Blog
美团技术团队
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
罗磊的独立博客
大猫的无限游戏
大猫的无限游戏
量子位
IT之家
IT之家
G
Google Developers Blog
V
V2EX
The GitHub Blog
The GitHub Blog
月光博客
月光博客
GbyAI
GbyAI

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(mantis): skip zombie telegram queue runs · openclaw/o...
obviyus · 2026-05-19 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -309,8 +309,18 @@ jobs:

309309

set -euo pipefail

310310

current_created="$(gh api "repos/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}" --jq .created_at)"

311311

stale_before="$(date -u -d '8 hours ago' +%Y-%m-%dT%H:%M:%SZ)"

312+

run_has_active_jobs() {

313+

local run_id="$1"

314+

local run_state="$2"

315+

if [[ "$run_state" != "in_progress" ]]; then

316+

return 0

317+

fi

318+

local active_jobs

319+

active_jobs="$(gh run view "$run_id" --repo "$GITHUB_REPOSITORY" --json jobs --jq '[.jobs[] | select(.status == "queued" or .status == "in_progress" or .status == "waiting" or .status == "pending" or .status == "requested")] | length')"

320+

[[ "$active_jobs" != "0" ]]

321+

}

312322

while true; do

313-

blockers="$(

323+

candidates="$(

314324

for workflow in mantis-telegram-desktop-proof.yml mantis-telegram-live.yml; do

315325

for status in queued in_progress waiting pending requested; do

316326

gh run list --repo "$GITHUB_REPOSITORY" --workflow "$workflow" --status "$status" --limit 100 --json databaseId,status,createdAt,url \

@@ -322,6 +332,12 @@ jobs:

322332

done

323333

done | sort -u

324334

)"

335+

blockers=""

336+

while IFS=$'\t' read -r created run_id run_state url; do

337+

if [[ -n "$run_id" ]] && run_has_active_jobs "${run_id#\#}" "$run_state"; then

338+

blockers+="${created}"$'\t'"${run_id}"$'\t'"${run_state}"$'\t'"${url}"$'\n'

339+

fi

340+

done <<<"$candidates"

325341

if [[ -z "$blockers" ]]; then

326342

break

327343

fi

Original file line numberDiff line numberDiff line change

@@ -273,8 +273,18 @@ jobs:

273273

set -euo pipefail

274274

current_created="$(gh api "repos/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}" --jq .created_at)"

275275

stale_before="$(date -u -d '8 hours ago' +%Y-%m-%dT%H:%M:%SZ)"

276+

run_has_active_jobs() {

277+

local run_id="$1"

278+

local run_state="$2"

279+

if [[ "$run_state" != "in_progress" ]]; then

280+

return 0

281+

fi

282+

local active_jobs

283+

active_jobs="$(gh run view "$run_id" --repo "$GITHUB_REPOSITORY" --json jobs --jq '[.jobs[] | select(.status == "queued" or .status == "in_progress" or .status == "waiting" or .status == "pending" or .status == "requested")] | length')"

284+

[[ "$active_jobs" != "0" ]]

285+

}

276286

while true; do

277-

blockers="$(

287+

candidates="$(

278288

for workflow in mantis-telegram-desktop-proof.yml mantis-telegram-live.yml; do

279289

for status in queued in_progress waiting pending requested; do

280290

gh run list --repo "$GITHUB_REPOSITORY" --workflow "$workflow" --status "$status" --limit 100 --json databaseId,status,createdAt,url \

@@ -286,6 +296,12 @@ jobs:

286296

done

287297

done | sort -u

288298

)"

299+

blockers=""

300+

while IFS=$'\t' read -r created run_id run_state url; do

301+

if [[ -n "$run_id" ]] && run_has_active_jobs "${run_id#\#}" "$run_state"; then

302+

blockers+="${created}"$'\t'"${run_id}"$'\t'"${run_state}"$'\t'"${url}"$'\n'

303+

fi

304+

done <<<"$candidates"

289305

if [[ -z "$blockers" ]]; then

290306

break

291307

fi

Original file line numberDiff line numberDiff line change

@@ -120,7 +120,10 @@ describe("Mantis Telegram Desktop proof workflow", () => {

120120

expect(step.run).toContain("for status in queued in_progress waiting pending requested");

121121

expect(step.run).toContain("stale_before=");

122122

expect(step.run).toContain(".createdAt >= $stale_before");

123-

expect(step.run).not.toContain('select(.status == "queued"');

123+

expect(step.run).toContain("run_has_active_jobs()");

124+

expect(step.run).toContain('gh run view "$run_id"');

125+

expect(step.run).toContain("${run_id#\\#}");

126+

expect(step.run).not.toContain('.[] | select(.status == "queued"');

124127

expect(step.run).toContain("sleep 60");

125128

}

126129

});