google-stackdriver-profiler: floating latest URL broke CI, and the dependency bot cannot update the entry
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- build-system
Hướng nghiên cứu
Start with the three named entry points: libbuildpack.FindMatchingVersion and Manifest.DefaultVersion for resolving date versions, then tasks/update-buildpack-dependency/dependencies.rb in buildpacks-ci for version comparison. The issue identifies failures in each area but leaves the cross-repository design undecided. Done means agreeing on an approach that handles date versions through resolution and bot updates without breaking the Stackdriver binding.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Symptom
Concourse specs-switchblade-docker-cflinuxfs4 build 202 failed on one test,
Frameworks/APM_Agents/with_Google_Stackdriver_Profiler_service_binding/detects_and_installs_Google_Stackdriver_Profiler:
dependency sha256 mismatch: expected 509b87c4...7bde0c, actual bd443833...f835
The manifest entry points at the floating URL
https://storage.googleapis.com/cloud-profiler/java/latest/profiler_java_agent.tar.gz.
Google moved latest to a new release on 2026-10-27 without changing the URL.
- Old pinned hash
509b87c4...iscloud-profiler-java-agent_20241028_RC00.tar.gz. - Current hash
bd443833...iscloud-profiler-java-agent_20261026_RC00.tar.gz.
#1520 updates the hash. It fixes today's failure, but the same failure will come back on the next upload.
Root causes
- Floating URL. The entry uses
.../java/latest/...with a pinned sha256, so it breaks whenever Google re-uploads. - Bot skips the entry. The depwatcher already sees the dated releases (
build-google-stackdriver-profiler-latest
succeeded 2026-10-27).update-google-stackdriver-profiler-latest-javabuild 10 then logged
SKIP: Built version is not required by buildpack.- The manifest entry was added by hand with
version: 0.4.0. latest?inbuildpacks-citasks/update-buildpack-dependency/dependencies.rbcompares a date version only against
other date versions.0.4.0is not one, so a newYYYYMMDD_RCNNnever counts as newer.
- The manifest entry was added by hand with
- Resolver cannot handle date versions. A probe against
libbuildpack.FindMatchingVersionwith manifest versions
20241028_RC00and20261026_RC00fails for every constraint (0.x,x,*,+,20.x, the exact version),
withInvalid Semantic Versionorimproper constraint.
GoogleStackdriverProfilerFramework.Supply()callsManifest.DefaultVersion(...), so if the bot ever wrote a date version,
staging with a Stackdriver binding would fail.
Options
- Merge #1520 only. This is the minimum, and updates stay manual.
- Interim: use the versioned URI
.../java/cloud-profiler-java-agent_20261026_RC00.tar.gzwith the matching sha256.
This stops the silent swap.0.4.0is only a made-up label (Google's agent uses date versions), so bump it to0.5.0
for this artifact and add a comment next to the entry with the real date version and URI. The0.xdefault pin still
resolves. Bump the minor on each manual update. Updates stay manual. - Make the bot work:
libbuildpackmust resolve date versions, or the framework must bypassDefaultVersion.
buildpacks-cilatest?must also treat a date version as newer than a semver-like one.
This touches three repos, so it needs a design decision.
Proposal
Merge #1520 now, do option 2 as a follow-up PR, and use this issue to decide on option 3.
- Ngôn ngữ chính
- Go
- Star
- 455
- Fork
- 2.5k
- Merge trung bình
- 22 giờ 9 phút
- Pull request đã merge (30 ngày)
- 69
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của cloudfoundry/java-buildpack
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 12/100
cloudfoundry/java-buildpack#1549 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
New Relic agent is installed but never attached to the JVM (v5.0.4 and later)Có thể đã có người làm @stokpop đã nhận 3 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
cloudfoundry/java-buildpack#1542 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 10/100
cloudfoundry/java-buildpack#1469 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Support configurable initial/minimum heap size relative to (/as a percentage of) calculated XmxĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
cloudfoundry/java-buildpack#1377 · 5 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
cloudfoundry/java-buildpack#1364 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của cloudfoundry/java-buildpack
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
github/github-mcp-server#3865 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
kind/features
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
TencentBlueKing/bk-nodemgr#4017 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ssa: wait errors drop the kstatus message, so health check failures don't say whyCó thể đã có người làm @schdief đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
equinor/radix-operator#2066 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
microsoft/terraform-provider-msgraph#188 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày