Chains creates attestation for non-successful TaskRuns
Los mantenedores suelen responder en 2 días
@infernus01 ya está trabajando en esto.
Desde el 20/1/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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
- Lenguaje dominante
- Go
- Estrellas
- 279
- Forks
- 171
- Merge medio
- 2 d 4 h
- PR fusionados (30 d)
- 70
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de tektoncd/chains
-
Add missing fields in `config.md` docsPosiblemente ocupada @cvas22 la tomó hace 18 días. Abiertokind/feature lifecycle/frozen
Dificultad 1/5 1-3 horas Aptitud para principiantes 65/100
tektoncd/chains#748 · 3 comentarios ·
Los mantenedores suelen responder en 2 días
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 42/100
tektoncd/chains#2024 · 2 reacciones ·
Los mantenedores suelen responder en 2 días
-
Bug: MarkSigned called despite signer-load or format-not-found failures (signed=true with no signature)Posiblemente ocupada @anithapriyanatarajan la tomó hace 118 días. Abiertokind/bug
tektoncd/chains#1796 · 1 asignado ·
Los mantenedores suelen responder en 2 días
-
Warn when non-default TUF mirror URL is configuredQuizá libre de nuevo @anithapriyanatarajan la tomó hace 166 días y no hay ningún pull request abierto. Abiertokind/feature
tektoncd/chains#1665 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 2 días
-
Warn or block when OCI storage uses result-derived registry without storage.oci.repositoryPosiblemente ocupada @ahmedbektic la tomó hace 38 días. Abiertokind/feature
Dificultad 3/5 1-2 días Aptitud para principiantes 62/100
Los mantenedores suelen responder en 2 días
Todos los issues de tektoncd/chains
Issues similares
-
Support kubevirt CRDsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
rancher/rancher-ai-mcp#206 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
open-telemetry/opentelemetry-go-compile-instrumentation#1743 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
tomasz-tomczyk/crit#1159 ·
Los mantenedores suelen responder en 1 día
-
SelectOneHealthyInstance panics when instance weights are fractional (e.g. 0.5)Posiblemente ocupada @Ajax-1 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
nacos-group/nacos-sdk-go#929 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
google/osv-scanner#3270 ·
Los mantenedores suelen responder en 1 día