Docs: Add TaskRun Status documentation section #7147
Hi @HamzaMateen. Thanks for your PR.
I'm waiting for a tektoncd member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.
<details>
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
</details>
/kind documentation
/ok-to-test
I think this is retriesStatus
provenance (lower case)
The go types are upper case, but the yaml/json rendering is lower case. Same goes for refSource, featureFlags, sidecars, etc...
NIT: I think the "most relevant" comment is not necessary, but it's also ok to keep
podName is missing in the "Required" section
This should be results.
NIT: I would say "contains" instead of "describes" - there is no description really. it's their names and values
sidecars (plural). This is the comment in the code:
The list has one entry per sidecar in the manifest. Each entry represents the imageid of the corresponding sidecar.
spanContext is missing in this list
I guess this was changed by mistake?
Thanks for this!
It looks mostly good - I left a couple of comments.
When I generated the API spec using Swagger, I found out that podName was required but default so I skipped it. I will add it in my next edition. Thanks
Got it!
this comment made everything clear.
I couldn't think through this naming used, now I have some idea. thanks
indeed!
I will edit this PR and send my changes as soon as I am done with them. Thanks for your thorough review, appreciated!
can you please elaborate a bit more on this? should I write this line instead of the one already there?
I just wanted to point out that it can be multiple sidecars, so maybe you could reuse part of that wording
Thank you for the updates, it lgtm!
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: <a href="https://github.com/tektoncd/pipeline/pull/7147#pullrequestreview-1653361632" title="Approved">afrittoli</a>
The full list of commands accepted by this bot can be found here.
The pull request process is described here
<details >
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
</details>
<!-- META={"approvers":[]} -->
I think this should be just results?
https://github.com/tektoncd/pipeline/blob/0a4357adbeee412428102b25e7876b38a123946b/pkg/apis/pipeline/v1/taskrun_types.go#L228
Ohh, I will update it again. Thanks!
Thanks! lmk when it's updated and we can merge this
Update done! (the commit message isn't very accurate) but I didn't see the point of changing it for just a typo.
Update done! (the commit message isn't very accurate) but I didn't see the point of changing it for just a typo.
Thanks! Would you mind squashing the 3 commits? This should be the one last thing to merge it.
Done!
Thank you!
/lgtm
afrittoli
HamzaMateen
[Issue Link: #5720]
Description:
This PR addresses the issue by adding a new section to the
docs/taskruns.mdfile to document the fields in TaskRun status. The structure of the new section closely follows that of the PipelineRun status documentation, with Required and Optional sections.Changes Made:
docs/taskruns.mdfor TaskRun Status documentation.Files Changed
Testing Done:
Verified the changes by building the documentation locally and reviewing the updated
taskruns.mdfile. Ensured that the new section follows the established documentation structure.Screenshots:
N/A
Checklist:
contributing.mdfor documentation contributions.git commit -s).Fixes #5720
Release Notes
``
release-note
``NONE