-
Notifications
You must be signed in to change notification settings - Fork 6
[release-v1.17] fix: PaC does not refer tekton hub #1438
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
Conversation
twoGiants
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great that you removed the hub reference! 😸 👍
Now there is new logic with error handling. Usually I'd say this needs unit tests to cover it. Wdys in this case?
|
@jrangelramos please verify that this works. |
@twoGiants Wrt test for errors in general: I do not find it very useful for "non actionable/recoverable" errors. I mean errors where there is nothing to be done -- you either interrupt/crash whole app or just print warning. OK I mean it's good to check we are not ignoring any error but it is quite well done in Go IMO. Go forces you to check errors by design, so there is little change there is unhandled error. However I think they are very much useful when we return "sentinel" error which value is subsequently test using |
|
it works. it looks good to me |
Fine with me then! 👍
Not sure I understand correctly => returning an error where there was no such an operation before looks actionable to me BUT I might misunderstand what you want to say. I'll write you a PM, no need for a Github comment discussion 😆
Agree 👍 |
twoGiants
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
Let me know when the tests are fixed so I can lgtm it! 👍
fd243e6 to
affb183
Compare
|
rebased |
|
@twoGiants lgtm plz |
Ah not yet some test are failing. |
might be a flake |
97797d2 to
7f655fa
Compare
|
@twoGiants I added fix up to our testing setup so event the KinD cluster have the Openshift Pipelines specific task. |
Signed-off-by: Matej Vašek <[email protected]>
Signed-off-by: Matej Vašek <[email protected]>
7f655fa to
c8195f7
Compare
Signed-off-by: Matej Vašek <[email protected]>
Signed-off-by: Matej Vašek <[email protected]>
Signed-off-by: Matej Vašek <[email protected]>
|
@twoGiants all tests are passing. |
twoGiants
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
/lgtm
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: matejvasek, twoGiants The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Uh oh!
There was an error while loading. Please reload this page.