fix(doctor): stop promising --fix for working isolated shell-prompt cron jobs (#94655) (#94784)

Summary:
- Merged fix(doctor): stop promising --fix for working isolated shell-prompt cron jobs (#94655) after ClawSweeper review.

Automerge notes:
- PR branch already contained follow-up commit before automerge: fix(doctor): stop promising --fix for working isolated shell-prompt c…

Validation:
- ClawSweeper review passed for head 0d71970a16.
- Required merge gates passed before the squash merge.

Prepared head SHA: 0d71970a16
Review: https://github.com/openclaw/openclaw/pull/94784#issuecomment-4767423033

Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: ZengWen-DT <290981215+ZengWen-DT@users.noreply.github.com>
Co-authored-by: Altay <altay@hey.com>
Approved-by: altaywtf
This commit is contained in:
clawsweeper[bot]
2026-06-22 10:42:21 +00:00
committed by GitHub
parent e6f3912347
commit 6f17c4cc6d
8 changed files with 262 additions and 34 deletions

View File

@@ -2,6 +2,7 @@
import { describe, expect, it } from "vitest";
import {
collectRunJobsFromPages,
isRetryableGhJsonErrorMessage,
parseRunTimingArgs,
selectLatestMainPushCiRun,
summarizePnpmStoreWarmupBarrier,
@@ -143,6 +144,21 @@ describe("scripts/ci-run-timings.mjs", () => {
]);
});
it("retries transient GitHub API failures while preserving auth failures", () => {
for (const message of [
"gh: API secondary rate limit exceeded (HTTP 403)",
"gh: HTTP 429: too many requests",
"Command failed: gh api repos/openclaw/openclaw/actions/runs/1/jobs\nHTTP 502",
"read ECONNRESET",
]) {
expect(isRetryableGhJsonErrorMessage(message)).toBe(true);
}
expect(
isRetryableGhJsonErrorMessage("gh: Resource not accessible by integration (HTTP 403)"),
).toBe(false);
});
it("summarizes the pnpm store warmup fanout barrier", () => {
expect(
summarizePnpmStoreWarmupBarrier({