-
Notifications
You must be signed in to change notification settings - Fork 367
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
upcoming: [M3-7743] - Handle errors gracefully when FF enabled without MSW #10189
Conversation
Coverage Report: ✅ |
packages/manager/.changeset/pr-10189-upcoming-features-1707838240012.md
Outdated
Show resolved
Hide resolved
...ges/manager/src/features/ObjectStorage/AccessKeyLanding/AccessKeyTable/AccessKeyTableRow.tsx
Outdated
Show resolved
Hide resolved
...es/manager/src/features/ObjectStorage/AccessKeyLanding/AccessKeyTable/AccessKeyTableRows.tsx
Outdated
Show resolved
Hide resolved
…240012.md Co-authored-by: Dajahi Wiley <114682940+dwiley-akamai@users.noreply.github.com>
This reverts commit 4ff4c1c.
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.
App doesn't crash with feature flag enabled but MSW off ✅
Didn't observe any regressions in normal flows with feature flag off ✅
I would still prefer doing away with the intermediary AccessKeyTableRows.tsx
file since that departs from how we handle tables/rows elsewhere in the app, but approving given the above and since this PR didn't introduce that component.
Service Worker (MSW). This can be removed during the feature flag cleanup. */} | ||
{isObjMultiClusterEnabled && | ||
objectStorageKey && | ||
objectStorageKey?.regions?.length > 0 && ( |
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.
Maybe store in a variable since it gets used twice
|
cc: @hana-linode for review |
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.
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.
Confirmed that the app no longer crashes when the OBJ Multi Cluster
feature flag is on with the MSW off
Now, we return an empty cell instead of null when there is no data(MSW off). This addresses the issue.. ( |
Description 📝
Handles error scenarios gracefully when MSW is off.
Changes 🔄
List any change relevant to the reviewer.
How to test 🧪
Prerequisites
(How to setup test environment)
Reproduction steps
(How to reproduce the issue, if applicable)
Verification steps
(How to verify changes)
As an Author I have considered 🤔
Check all that apply