-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: TaskRun Debug #2331
WIP: TaskRun Debug #2331
Conversation
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
The following is the coverage report on pkg/.
|
Can you add more details to the PR description and commit message to describe what debug mode does? Is there any supporting design doc with more info? |
Thanks, that's helpful. Adding this to the PR description and commit message will make this design more discoverable to future spelunkers. |
Update Entrypoint Runner to propogate Signals by having a chan being notified for them, and reading the chan at the end of the Run to propogate all caught signals to the main process.
It is a difficult task to do a RCA (Root Cause Analysis) of a failed TaskRun or PipelineRun. We often find ourselves changing the inputs, outputs and result parameters in the YAML definitions which turns developers more into YAML engineers for the CI/CD System instead of the CI/CD as an auxiliary tool for empowering the developer. Technical details for this are given here https://docs.google.com/document/d/1SWtGfkGOaeggqj3zY4pyJo1cJz0hBw9wStbIWkCPnL0/edit# Co-authored-by: Vibhav Bobade [email protected] Co-authored-by: Nikhil Thomas [email protected]
f4862cd
to
daec24f
Compare
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to determine that you authored the commits in this PR. Maybe you used a different email address in the git commits than was used to sign the CLA? If someone else authored these commits, then please add them to this pull request and have them confirm that they're okay with them being contributed to Google. If there are co-authors, make sure they're formatted properly. In order to pass this check, please resolve this problem and then comment ℹ️ Googlers: Go here for more info. |
The following is the coverage report on pkg/.
|
@waveywaves: The following tests failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
Some thoughts on this design, that I didn't see covered in the doc:
|
@waveywaves I'm going to close this PR for now, I think the next step here would be to expand the design proposal to include @imjasonh's recommendations, which I strongly 👍 (I'd love to see more specifically about the API this will expose to debugging tools, e.g. CLI, vscode plugin). Please reopen or let me know if you disagree! |
.spec.debug bool, is added to TaskRun API which enables
debug mode for the particular TaskRun.
Co-authored-by: Vibhav Bobade [email protected]
Co-authored-by: Nikhil Thomas [email protected]
Changes
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
See the contribution guide for more details.
Double check this list of stuff that's easy to miss:
cmd
dir, please updatethe release Task to build and release this image.
Reviewer Notes
If API changes are included, additive changes must be approved by at least two OWNERS and backwards incompatible changes must be approved by more than 50% of the OWNERS, and they must first be added in a backwards compatible way.
Release Notes