spdx-tools: latest tag is published without any tests
Maintainer thường phản hồi trong vòng 2 ngày
@officialasishkumar đang làm issue này rồi.
Từ ngày 19/11/2026.
- #463 của @officialasishkumar — đang mở
Đá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
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- docker, json
- Lĩnh vực
- devops, documentation, testing
Hướng nghiên cứu
Compare the other images' test directories and tag dependencies with images/spdx-tools/main.tf. Add the smoke checks described for Version, nonroot execution, Verify, and Convert, and document the image in the top-level README. Done when the tests gate the latest tag and the README covers the image; pull request #463 is already open against this work.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
images/spdx-tools is the only image in this repo whose latest tag isn't gated on a test. Every other module (alpine-base, apko, busybox, gcc-musl, git, musl-dynamic, sdk, static) runs oci_exec_test checks against the freshly built digest and makes its oci_tag resource depends_on them. spdx-tools/main.tf just tags whatever apko produced:
resource "oci_tag" "version-tags" {
digest_ref = module.latest.image_ref
tag = "latest"
}
So if the image builds but doesn't work, for example because of a JRE packaging change, a broken spdx-tools-java launcher, or a nonroot permission problem, the nightly release job still moves ghcr.io/wolfi-dev/spdx-tools:latest to it, and nobody notices until a user hits it. Presubmit doesn't catch it either, because there's nothing to run.
The image also isn't mentioned in the top-level README, and it has no README of its own, unlike the other images.
Proposed fix:
- add
images/spdx-tools/testswith smoke tests that checkVersion, the nonroot user,Verifyon a valid SPDX JSON document, a JSON to tag-valueConvert(and verifying the result), and thatVerifyrejects an invalid document - make the
latesttag depend on those tests, the same way the other images do - document the image in the README
- Ngôn ngữ chính
- HCL
- Star
- 31
- Fork
- 25
- Merge trung bình
- 2 ngày 22 giờ
- Pull request đã merge (30 ngày)
- 19
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
- Đọ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 wolfi-dev/tools
-
README documents removed melange/wolfictl images and an sdk welcome prompt that no longer existsCó thể đã có người làm @officialasishkumar đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Some Alpine-based packages must be locked when building with terraformCó thể đã có người làm @cpanato đã nhận 27 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của wolfi-dev/tools
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
StellarCanary/ProtocolCanary-Action#698 ·
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 82/100
Infisical/infisical#9738 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Mend: dependency security vulnerability untriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
opensearch-project/OpenSearch-Dashboards#13241 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
shakurJJ/chainsettle-frontend#156 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Homebrew/homebrew-cask#304299 ·
Maintainer thường phản hồi trong vòng 1 ngày