Skip to content

fix(ci): reduce OSS upload and CDN refresh costs - #1549

Merged
anobaka merged 1 commit into
mainfrom
codex/reduce-ci-oss-cost
Oct 8, 2026
Merged

anobaka merged 1 commit into
mainfrom
codex/reduce-ci-oss-cost

Conversation

@anobaka

@anobaka anobaka commented Oct 8, 2026

Copy link
Copy Markdown
Owner

Release jobs upload through OSS transfer acceleration and send the same installer bytes again for version archives. Switch all five upload configurations to the Shanghai HTTPS endpoint. Upload installers and Windows portable packages to their version archive once, then copy them into the existing update feed; fall back to regional uploads when server-side copies fail.

Replace the release-wide CDN directory refresh with 24 active-channel/current-version files and the current version archive. Preserve historical caches, same-version recovery, and existing publication/download paths. Follow the pinned Velopack 1.2.0 filenames and check every requested refresh target across merged task IDs and pages without letting unrelated tasks block the release. File refreshes use the domain's existing query-parameter-independent cache key, verified read-only.

Validation

  • All 31 Python workflow-helper tests pass, including release channels, cache preservation, pagination, task failures, eventual visibility, and unrelated merged tasks.
  • Three-platform upload simulations pass with both server-side copying and copy-denied fallback; feed/archive bytes match and same-version reruns succeed.
  • Workflow syntax validation, ShellCheck for the changed deployment scripts/CDN workflow, and diff checks pass.
  • Read-only Shanghai endpoint checks and all three live desktop manifests match the expected package paths.

Regional upload timing and actual billing savings will be confirmed by the next deployment.

Closes #1548

Use regional HTTPS uploads and archive installers once before copying them
into the release feed, with a regional upload fallback for copy failures.
Refresh only active-channel and current-version CDN objects, preserving
historical caches and checking every target across merged tasks and pages.

Fixes #1548
@anobaka
anobaka force-pushed the codex/reduce-ci-oss-cost branch from a364fd1 to e27ef68 Compare October 8, 2026 01:32
@anobaka
anobaka merged commit 74f2a1e into main Oct 8, 2026
15 checks passed
@anobaka
anobaka deleted the codex/reduce-ci-oss-cost branch October 8, 2026 01:40
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.

降低 CI 发布中的 OSS 上传与 CDN 回源费用

1 participant