When a user customizes their build pipeline and moves past the basic one, the UI shows them in the Activity tab, aggregating pipeline runs based on their commit. Pipeline runs from the basic pipeline only display in the Pipeline Run tab, and can't be displayed in the same way, since they don't provide any commit or source information until the build pipeline run finishes, then the task-summary step adds in the build.appstudio.openshift.io/repo annotation, which contains the rev information we could use in the UI to attach that run to a commit.
We need to provide the source version that the basic pipeline run is building when the the pipeline run is invoked, so that the UI can use that information, and we can provide a consistent experience to users, regardless of which pipeline they use. How can we get that information into basic build pipeline runs?
An advanced pipeline has these related annotations:
build.appstudio.redhat.com/commit_sha=61ed44b0c02f4d7b3b464c4ab78f092bf14c1192 pipelinesascode.tekton.dev/sha-url=https://github.com/mattreid/partner-catalog/commit/61ed44b0c02f4d7b3b464c4ab78f092bf14c1192 build.appstudio.openshift.io/repo=https://github.com/mattreid/partner-catalog?rev=61ed44b0c02f4d7b3b464c4ab78f092bf14c1192
and this label
pipelinesascode.tekton.dev/sha=61ed44b0c02f4d7b3b464c4ab78f092bf14c1192
A basic pipeline run doesn't get that label or anything else about what version of code it's building until it completes and gets the build.appstudio.openshift.io/repo annotation.