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

OCPBUGS-31809: Pipeline details page Metrics tab crashed due to no custom data #13733

Merged

Conversation

lokanandaprabhu
Copy link
Contributor

@lokanandaprabhu lokanandaprabhu commented Apr 5, 2024

Fixes:
https://issues.redhat.com/browse/OCPBUGS-31809

Analysis / Root cause:
While doing the migration of Pipeline details page, Metrics page is expecting customData from Details page - https://github.com/openshift/console/blob/master/frontend/packages/pipelines-plugin/src/components/pipelines/pipeline-metrics/PipelineMetrics.tsx but in horizontalnav component exposed to dynamic plugin, we don't have customData prop. https://github.com/openshift/console/blob/master/frontend/packages/console-dynamic-plugin-sdk/docs/api.md#horizontalnav

Solution Description:
Calling customData values inside Metrics page

Screen shots / Gifs for design review:

---Before--

Screenshot 2024-04-05 at 6 10 46 PM

--After--
Screenshot 2024-04-05 at 6 02 03 PM

Unit test coverage report:
NA

Test setup:

1. Pipeline details page PR to be up for testing this[WIP][Story - https://issues.redhat.com/browse/ODC-7525]
2. Install Pipelines Operator and don't install Tekton result
3. Enabled Pipeline details page in dynamic plugin
4. create a pipeline and go to Metrics tab in details page

Browser conformance:

  • Chrome
  • Firefox
  • Safari
  • Edge

@openshift-ci-robot openshift-ci-robot added jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. labels Apr 5, 2024
@openshift-ci-robot
Copy link
Contributor

@lokanandaprabhu: This pull request references Jira Issue OCPBUGS-31809, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.16.0) matches configured target version for branch (4.16.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @sanketpathak

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

Fixes:
https://issues.redhat.com/browse/OCPBUGS-31809

Analysis / Root cause:
While doing the migration of Pipeline details page, Metrics page is expecting customData from Details page - https://github.com/openshift/console/blob/master/frontend/packages/pipelines-plugin/src/components/pipelines/pipeline-metrics/PipelineMetrics.tsx but in horizontalnav component exposed to dynamic plugin, we don't have customData prop. https://github.com/openshift/console/blob/master/frontend/packages/console-dynamic-plugin-sdk/docs/api.md#horizontalnav

Solution Description:
Calling customData values inside Metrics page

Screen shots / Gifs for design review:

---Before--

Screenshot 2024-04-05 at 6 10 46 PM

--After--
Screenshot 2024-04-05 at 6 02 03 PM

Unit test coverage report:
NA

Test setup:

  1. Pipeline details page PR to be up for testing this[WIP]
  2. Install Pipelines Operator and don't install Tekton result
  3. Enabled Pipeline details page in dynamic plugin
  4. create a pipeline and go to Metrics tab in details page

Browser conformance:

  • Chrome
  • Firefox
  • Safari
  • Edge

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot requested a review from sanketpathak April 5, 2024 12:49
@lokanandaprabhu
Copy link
Contributor Author

/cc @vikram-raj @jerolimov

@openshift-ci openshift-ci bot added the component/pipelines Related to pipelines-plugin label Apr 5, 2024
@openshift-ci-robot
Copy link
Contributor

@lokanandaprabhu: This pull request references Jira Issue OCPBUGS-31809, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.16.0) matches configured target version for branch (4.16.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @sanketpathak

In response to this:

Fixes:
https://issues.redhat.com/browse/OCPBUGS-31809

Analysis / Root cause:
While doing the migration of Pipeline details page, Metrics page is expecting customData from Details page - https://github.com/openshift/console/blob/master/frontend/packages/pipelines-plugin/src/components/pipelines/pipeline-metrics/PipelineMetrics.tsx but in horizontalnav component exposed to dynamic plugin, we don't have customData prop. https://github.com/openshift/console/blob/master/frontend/packages/console-dynamic-plugin-sdk/docs/api.md#horizontalnav

Solution Description:
Calling customData values inside Metrics page

Screen shots / Gifs for design review:

---Before--

Screenshot 2024-04-05 at 6 10 46 PM

--After--
Screenshot 2024-04-05 at 6 02 03 PM

Unit test coverage report:
NA

Test setup:

  1. Pipeline details page PR to be up for testing this[WIP][Story - https://issues.redhat.com/browse/ODC-7525]
  2. Install Pipelines Operator and don't install Tekton result
  3. Enabled Pipeline details page in dynamic plugin
  4. create a pipeline and go to Metrics tab in details page

Browser conformance:

  • Chrome
  • Firefox
  • Safari
  • Edge

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 openshift-eng/jira-lifecycle-plugin repository.

@lokanandaprabhu
Copy link
Contributor Author

/retest

Copy link
Contributor

openshift-ci bot commented Apr 8, 2024

@lokanandaprabhu: all tests passed!

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.

Copy link
Contributor

@Lucifergene Lucifergene left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Apr 11, 2024
Copy link
Member

@vikram-raj vikram-raj left a comment

Choose a reason for hiding this comment

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

Verified
/lgtm
/approve

Copy link
Contributor

openshift-ci bot commented Apr 18, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lokanandaprabhu, Lucifergene, vikram-raj

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. label Apr 18, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit 1641e81 into openshift:master Apr 19, 2024
6 checks passed
@openshift-ci-robot
Copy link
Contributor

@lokanandaprabhu: Jira Issue OCPBUGS-31809: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-31809 has been moved to the MODIFIED state.

In response to this:

Fixes:
https://issues.redhat.com/browse/OCPBUGS-31809

Analysis / Root cause:
While doing the migration of Pipeline details page, Metrics page is expecting customData from Details page - https://github.com/openshift/console/blob/master/frontend/packages/pipelines-plugin/src/components/pipelines/pipeline-metrics/PipelineMetrics.tsx but in horizontalnav component exposed to dynamic plugin, we don't have customData prop. https://github.com/openshift/console/blob/master/frontend/packages/console-dynamic-plugin-sdk/docs/api.md#horizontalnav

Solution Description:
Calling customData values inside Metrics page

Screen shots / Gifs for design review:

---Before--

Screenshot 2024-04-05 at 6 10 46 PM

--After--
Screenshot 2024-04-05 at 6 02 03 PM

Unit test coverage report:
NA

Test setup:

  1. Pipeline details page PR to be up for testing this[WIP][Story - https://issues.redhat.com/browse/ODC-7525]
  2. Install Pipelines Operator and don't install Tekton result
  3. Enabled Pipeline details page in dynamic plugin
  4. create a pipeline and go to Metrics tab in details page

Browser conformance:

  • Chrome
  • Firefox
  • Safari
  • Edge

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-bot
Copy link
Contributor

[ART PR BUILD NOTIFIER]

This PR has been included in build openshift-enterprise-console-container-v4.16.0-202404190512.p0.g1641e81.assembly.stream.el9 for distgit openshift-enterprise-console.
All builds following this will include this PR.

@jerolimov
Copy link
Member

/cherry-pick release-4.15

@openshift-cherrypick-robot

@jerolimov: new pull request created: #13781

In response to this:

/cherry-pick release-4.15

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
Copy link
Contributor

Fix included in accepted release 4.16.0-0.nightly-2024-04-21-123502

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. component/pipelines Related to pipelines-plugin jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants