[External] repo.steampowered.com "latest-steam-client-general-availability" serves inconsistent snapshot revisions from Google Media CDN

Đang mở
#842 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
42/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
google-cloud
Lĩnh vực
cloud, infrastructure

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện các yêu cầu lặp lại tới URL latest-steam-client-general-availability và so sánh ETag, Last-Modified và Content-Length giữa các phản hồi. So sánh các kết quả đó với URL snapshot bất biến và truy vết nơi alias được quản lý; hoàn thành có nghĩa là mọi edge CDN đều trả về cùng một snapshot nhất quán và siêu dữ liệu khớp nhau.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

The following URL intermittently serves two different versions of the same file, depending on which CDN edge responds:

https://repo.steampowered.com/steamrt-images-scout/snapshots/latest-steam-client-general-availability/com.valvesoftware.SteamRuntime.Sdk-amd64,i386-scout-sysroot.tar.gz

This causes download clients to encounter Content-Length / Content-Range mismatches and makes resumed downloads unreliable.

Using the corresponding immutable snapshot path avoids the issue entirely.

Expected behavior:
The latest-steam-client-general-availability alias should consistently resolve to a single snapshot revision across all CDN edges.

Every request for the URL above should return identical values for:

  • ETag
  • Last-Modified
  • Content-Length

Actual behavior:
Repeated requests to the same URL alternate between two different objects.

Response A
HTTP/1.1 200 OK
Server: Google-Edge-Cache
Content-Length: 706479488
Last-Modified: Thu, 18 Jun 2026 14:41:00 GMT
ETag: "6a34037c-2a1c0580"
Age: 17812
X-CDN-Policy: :Google-Media-CDN
Response B
HTTP/1.1 200 OK
Server: Google-Edge-Cache
Content-Length: 706110603
Last-Modified: Mon, 25 May 2026 01:19:40 GMT
ETag: "6a13a3ac-2a16648b"
Age: 33555
X-CDN-Policy: :Google-Media-CDN

The responses differ in:

  • Content-Length
  • Last-Modified
  • ETag

while being returned for the same URL.

This causes download tools (e.g. wget) to receive different metadata depending on which edge serves the request, which (at least personally) resulted in repeated download failures due to mismatched object sizes and failed resume attempts, as well as preventing me from compiling an AUR package successfully.

Workaround:
By downloading the latest snapshot directly:

https://repo.steampowered.com/steamrt-images-scout/snapshots/1.0.20260618.246542/com.valvesoftware.SteamRuntime.Sdk-amd64,i386-scout-sysroot.tar.gz

the download worked correctly, and the archive's SHA-256 checksum matched what was in the published SHA256SUMS file.

This makes it seem to be a CDN cache inconsistency affecting the latest-steam-client-general-availability alias instead of the snapshot itself.

Since the static snapshot downloads correctly and verifies successfully, the archives appear to be fine.

Ngôn ngữ chính
Shell
Star
1.5k
Fork
98
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ValveSoftware/steam-runtime

Tất cả issue của ValveSoftware/steam-runtime

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.