mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-09 03:22:40 +00:00
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 head0d71970a16. - Required merge gates passed before the squash merge. Prepared head SHA:0d71970a16Review: 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:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user