Skip to content
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

odo dev: Cleanup after displaying the error #6024

Conversation

feloy
Copy link
Contributor

@feloy feloy commented Aug 11, 2022

What type of PR is this:

/kind bug

What does this PR do / why we need it:

Which issue(s) this PR fixes:

Fixes #6023

PR acceptance criteria:

  • Unit test

  • Integration test

  • Documentation

How to test changes / Special notes to the reviewer:

@netlify
Copy link

netlify bot commented Aug 11, 2022

Deploy Preview for odo-docusaurus-preview canceled.

Name Link
🔨 Latest commit 0c715d3
🔍 Latest deploy log https://app.netlify.com/sites/odo-docusaurus-preview/deploys/62f51bb9cedb0400083c1907

@openshift-ci openshift-ci bot added the kind/bug Categorizes issue or PR as related to a bug. label Aug 11, 2022
@openshift-ci openshift-ci bot requested review from cdrage and rm3l August 11, 2022 15:02
@odo-robot
Copy link

odo-robot bot commented Aug 11, 2022

Unit Tests on commit 12f27d8 finished successfully.
View logs: TXT HTML

@sonarqubecloud
Copy link

sonarqubecloud bot commented Aug 11, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@odo-robot
Copy link

odo-robot bot commented Aug 11, 2022

Windows Tests (OCP) on commit 12f27d8 finished with errors.
View logs: TXT HTML

@odo-robot
Copy link

odo-robot bot commented Aug 11, 2022

OpenShift Tests on commit 12f27d8 finished successfully.
View logs: TXT HTML

@odo-robot
Copy link

odo-robot bot commented Aug 11, 2022

Kubernetes Tests on commit 12f27d8 finished successfully.
View logs: TXT HTML

@odo-robot
Copy link

odo-robot bot commented Aug 11, 2022

Validate Tests on commit 12f27d8 finished successfully.
View logs: TXT HTML

Copy link
Member

@rm3l rm3l left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

/approve

@openshift-ci
Copy link

openshift-ci bot commented Aug 11, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rm3l

The full list of commands accepted by this bot can be found here.

The pull request process is described here

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. Required by Prow. label Aug 11, 2022
@feloy feloy requested review from valaparthvi and removed request for cdrage August 17, 2022 06:57
@dharmit
Copy link
Member

dharmit commented Aug 17, 2022

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. Required by Prow. label Aug 17, 2022
@feloy
Copy link
Contributor Author

feloy commented Aug 17, 2022

Did we increase the Sonar Cloud sensitivity?

The code removes one parameter from the eventWatcher function and does not increase the cognitive complexity of eventWatcher function, and the check now fails, when it was not blocking before.

@valaparthvi @dharmit any idea?

@valaparthvi
Copy link
Contributor

valaparthvi commented Aug 17, 2022

Did we increase the Sonar Cloud sensitivity?

The code removes one parameter from the eventWatcher function and does not increase the cognitive complexity of eventWatcher function, and the check now fails, when it was not blocking before.

@valaparthvi @dharmit any idea?

We haven't made any recent changes to the sonar cloud. We can override them for now. I've marked them as "won't fix" at the moment.

@valaparthvi
Copy link
Contributor

/override windows-integration-test/Windows-test

@openshift-ci
Copy link

openshift-ci bot commented Aug 17, 2022

@valaparthvi: Overrode contexts on behalf of valaparthvi: windows-integration-test/Windows-test

In response to this:

/override windows-integration-test/Windows-test

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.

@dharmit
Copy link
Member

dharmit commented Aug 17, 2022

The code removes one parameter from the eventWatcher function and does not increase the cognitive complexity of eventWatcher function, and the check now fails, when it was not blocking before.

Technically, you are correct. But the number of parameters error that SonarCloud raised is something I find a bad idea as well #5933 (comment).

@feloy
Copy link
Contributor Author

feloy commented Aug 17, 2022

/override ci/prow/v4.10-integration-e2e
Tests pass on IBM cloud

@openshift-ci
Copy link

openshift-ci bot commented Aug 17, 2022

@feloy: Overrode contexts on behalf of feloy: ci/prow/v4.10-integration-e2e

In response to this:

/override ci/prow/v4.10-integration-e2e
Tests pass on IBM cloud

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.

@openshift-merge-robot openshift-merge-robot merged commit 60c9a78 into redhat-developer:main Aug 17, 2022
feloy added a commit to feloy/odo that referenced this pull request Aug 18, 2022
cdrage pushed a commit to cdrage/odo that referenced this pull request Aug 31, 2022
* odo dev: Cleanup after displaying the error

* Fix integration test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. Required by Prow. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. Required by Prow.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error message displayed after cleanup is done
5 participants