NO-JIRA: Fix the All panel in the RegressedTestsModal#3263
NO-JIRA: Fix the All panel in the RegressedTestsModal#3263openshift-merge-bot[bot] merged 2 commits intoopenshift:mainfrom
All panel in the RegressedTestsModal#3263Conversation
…y the view name instead of a direct array as expected
|
Pipeline controller notification For optional jobs, comment This repository is configured in: automatic mode |
|
@smg247: This pull request explicitly references no jira issue. DetailsIn response to this:
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. |
WalkthroughThe RegressedTestsModal component now reads a Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes 🚥 Pre-merge checks | ✅ 6 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (6 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@sippy-ng/src/component_readiness/RegressedTestsModal.js`:
- Line 134: The code reads allRegressedTests[view] which can throw if
allRegressedTests is undefined; update the RegessedTestsModal component so the
access is guarded with optional chaining on the allRegressedTests prop when
assigning regressedTests (use a safe access that falls back to an empty array),
referencing the allRegressedTests and view symbols and the regressedTests prop
assignment to locate the change.
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: neisw, smg247 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 |
|
Scheduling required tests: |
|
/retest |
|
/test e2e |
|
/override ci/prow/e2e |
|
@smg247: Overrode contexts on behalf of smg247: ci/prow/e2e DetailsIn response to this:
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-sigs/prow repository. |
|
@smg247: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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-sigs/prow repository. I understand the commands that are listed here. |
Due to #3236, the
Allpanel was passing an object containing a single array keyed by the view name instead of a direct array as expected.Summary by CodeRabbit