Skip to content

fix(ci): use R2 region for Appstore baseline downloads - #2314

Merged
zhaojing1987 merged 1 commit into
mainfrom
fix/appstore-r2-baseline-region
Nov 18, 2026
Merged

zhaojing1987 merged 1 commit into
mainfrom
fix/appstore-r2-baseline-region

Conversation

@zhaojing1987

Copy link
Copy Markdown
Collaborator

What Changed

  • Pass --region auto to the Cloudflare R2 baseline lookup and downloads for the manifest, apps index, and checksum.
  • Extend the workflow regression test to simulate a runner with AWS_DEFAULT_REGION=us-west-2 and document the region choice.

Why Changed

Appstore Publish failed with InvalidRegionName when the AWS CLI used us-west-2. The baseline step now explicitly selects the R2 signing region, matching the existing uploader.

Automated Validation

  • make test — passed: 1,008 tests (721 CLI, 271 build, 16 skills).
  • git diff --check origin/main...fix/appstore-r2-baseline-region — passed.

Known Risk

The change affects only baseline reads; it does not change artifact formats, checksum validation, or upload logic. Live R2 publishing has not been verified. Re-running the old failed run would use the original workflow revision.

Owner E2E Checklist

  • After merge, check that the new dev workflow run resolves the published R2 baseline and completes publishing.

Issue: No linked issue. Failed workflow run.

AI Test Report: The mocked AWS CLI rejects regions other than auto. The regression test covers first publication, an existing valid baseline, checksum failure, and storage failure. No live R2 writes were performed during validation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@zhaojing1987
zhaojing1987 merged commit a845b83 into main Nov 18, 2026
7 checks passed
@zhaojing1987
zhaojing1987 deleted the fix/appstore-r2-baseline-region branch November 18, 2026 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant