Chains creates attestation for non-successful TaskRuns
Maintainer thường phản hồi trong vòng 2 ngày
@infernus01 đang làm issue này rồi.
Từ ngày 20/1/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Expected Behavior
The Tekton Chains controller should only create TaskRun attestations if the TaskRun succeeds.
Actual Behavior
The controller creates TaskRun attestations regardless of the final state of the TaskRun.
Steps to Reproduce the Problem
It's easier to verify this behavior when the transparency log is enabled. The steps below assume this has been done.
- Create a task, for example git-clone from the catalog:
curl 'https://raw.githubusercontent.com/tektoncd/catalog/main/task/git-clone/0.7/git-clone.yaml' | kubectl create -f -
- Create a taskrun from the task. Provide incorrect parameter values to cause it to fail. For example provide a
revisionvalue that does not exist:
tkn task start git-clone --param url=https://github.com/tektoncd/chains --param revision=yolo --use-param-defaults --workspace name=output,emptyDir= --showlog
- Verify the taskrun fails
- Verify an attestation for the taskrun was created by verifying the taskrun contains a valid value for the annotation
"chains.tekton.dev/transparency". This should not happen.
Additional Info
- Kubernetes version:
$ kubectl version --short
Flag --short has been deprecated, and will be removed in the future. The --short output will become the default.
Client Version: v1.24.2
Kustomize Version: v4.5.4
Server Version: v1.23.5+3afdacb
- Tekton Pipeline version:
$ tkn version
Client version: 0.21.0
Pipeline version: v0.33.2
Triggers version: v0.19.0
- Ngôn ngữ chính
- Go
- Star
- 279
- Fork
- 171
- Merge trung bình
- 2 ngày 4 giờ
- Pull request đã merge (30 ngày)
- 70
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- 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 tektoncd/chains
-
Add missing fields in `config.md` docsCó thể đã có người làm @cvas22 đã nhận 18 ngày trước. Đang mởkind/feature lifecycle/frozen
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 65/100
tektoncd/chains#748 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 42/100
tektoncd/chains#2024 · 2 reaction ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Bug: MarkSigned called despite signer-load or format-not-found failures (signed=true with no signature)Có thể đã có người làm @anithapriyanatarajan đã nhận 118 ngày trước. Đang mởkind/bug
tektoncd/chains#1796 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Warn when non-default TUF mirror URL is configuredCó thể làm lại được @anithapriyanatarajan đã nhận 166 ngày trước và không có pull request nào đang mở. Đang mởkind/feature
tektoncd/chains#1665 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Warn or block when OCI storage uses result-derived registry without storage.oci.repositoryCó thể đã có người làm @ahmedbektic đã nhận 38 ngày trước. Đang mởkind/feature
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của tektoncd/chains
Issue tương tự
-
[bug]: scan-all update-schedule does not auto-convert 5-field cron expressions as documentedCó thể đã có người làm @vishnums2k5 đã 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
goharbor/harbor-cli#1143 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 8 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
--info inline-right:PREFIX leaves the first character of the prefix when the info gets shorterĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
rossoctl/context-guru#1053 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] EphemeralJob matches every pod in the namespace when spec.selector is emptyCó thể đã có người làm @vishnums2k5 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
openkruise/kruise#2656 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày