Skip to content

fix(ci): retry transient artifact API reads - #120654

Merged
vincentkoc merged 1 commit into
mainfrom
fix/release-artifact-api-retry
Aug 8, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix/release-artifact-api-retry

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Aug 8, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes an issue where release and install-smoke validation could fail immediately when a read-only GitHub artifact API request hit a transient network timeout, rate limit, or server error even though the uploaded candidate artifact was valid.

Why This Change Was Made

The trusted shared-image artifact helper now owns a GET-only, three-attempt retry with 2s and 4s delays for transport failures, explicit rate limiting, and HTTP 5xx responses. Authentication/status failures and JSON or immutable-tuple mismatches still fail immediately, and all three install-smoke consumers keep their local archive digest and exact target/run/attempt artifact-name checks.

User Impact

Release operators get fewer false-negative install-smoke failures from transient GitHub API reads. Runtime and package behavior are unchanged.

Evidence

  • node scripts/run-vitest.mjs test/scripts/shared-image-artifact.test.ts test/scripts/install-smoke-no-push-workflow.test.ts test/scripts/package-acceptance-workflow.test.ts (190 tests passed on exact head)
  • pnpm check:workflows (zizmor and interpolation guard passed)
  • node scripts/check-changed.mjs -- scripts/docker/shared-image-artifact.sh .github/workflows/install-smoke-reusable.yml test/scripts/shared-image-artifact.test.ts test/scripts/install-smoke-no-push-workflow.test.ts (Blacksmith Testbox passed on the production diff before the test-only amendment: https://github.com/openclaw/openclaw/actions/runs/31270080803)
  • bash -n scripts/docker/shared-image-artifact.sh
  • pnpm exec oxfmt --check test/scripts/package-acceptance-workflow.test.ts
  • git diff --check
  • Autoreview: clean, no accepted/actionable findings
  • Production LOC: +71/-86 (net -15); tests: +187/-9
  • No long E2E or Parallels run

@vincentkoc vincentkoc self-assigned this Aug 8, 2026
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper review

@clawsweeper

clawsweeper Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Command router queued. I will update this comment with the next step.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: M maintainer Maintainer-authored PR labels Aug 8, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review August 8, 2026 17:50
@vincentkoc
vincentkoc force-pushed the fix/release-artifact-api-retry branch from 051816b to 10b0be5 Compare August 8, 2026 17:56
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Command router queued. I will update this comment with the next step.

@vincentkoc
vincentkoc merged commit 0d45efd into main Aug 8, 2026
110 checks passed
@vincentkoc
vincentkoc deleted the fix/release-artifact-api-retry branch August 8, 2026 18:05
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

vincentkoc added a commit to IsaiahStapleton/openclaw that referenced this pull request Aug 8, 2026
…0807

* origin/main:
  fix(qa): honor Crabbox SSH fallback ports (openclaw#120539)
  refactor(core): adopt normalization-core leaf helpers across production (openclaw#120350)
  fix(release): scope upgrade plugin credentials (openclaw#120666)
  fix(ai): preserve long Responses sessions after server compaction (openclaw#120457)
  fix(test): keep fork E2E setup builds observable (openclaw#120653)
  fix(cloud-workers): retain provider operation ownership (openclaw#120661)
  docs: runners plan — one placement model for sessions, devices, and cloud (openclaw#120657)
  refactor(cli): inline state migration policy (openclaw#120641)
  feat(update): scheduled update campaigns with countdown, dev-channel auto-update, and Updates settings page (openclaw#120506)
  chore(i18n): refresh native locales (openclaw#120614)
  fix(ci): retry transient artifact API reads (openclaw#120654)
  fix(clawrouter): honor advertised reasoning efforts (openclaw#120631)
  fix(infra): unify env-truthiness, missing-path, realpath, and abort-sleep semantics (openclaw#120359)
  fix(maintainers): parse merge comment URL structurally (openclaw#120649)
  fix(ui): label only operator-pinned runtimes in model picker rows (openclaw#120646)
  docs(agents): replace exact-head re-review gate with 12-hour review window

# Conflicts:
#	src/agents/payload-redaction.ts
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR scripts Repository scripts size: M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant