-
Notifications
You must be signed in to change notification settings - Fork 392
hotfix: Uptime interface for LongView API response #11667
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
hotfix: Uptime interface for LongView API response #11667
Conversation
mjac0bs
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.
Confirmed that Uptime is now rendering, thanks for the fix, @harsh-akamai. It would be good to follow this PR up with some test coverage in longview.spec.ts.
| Prod | This Branch |
|---|---|
![]() |
![]() |
|
@hkhalil-akamai Oh, this needs a changelog update. It has the version bump. |
faf4972
|
Coverage Report: ✅ |
Cloud Manager UI test results🔺 1 failing test on test run #4 ↗︎
Details
TroubleshootingUse this command to re-run the failing tests: yarn cy:run -s "cypress/e2e/core/kubernetes/smoke-lke-create.spec.ts" |
|||||||||||||||||


Description 📝
Bug Summary 🐛
Uptimewhich has been incorrectly mapped in CM asuptime. This in turn displays 'Uptime not available'.https://github.com/linode/manager/blob/develop/packages/manager/src/features/Longview/request.types.ts#L120-L121
The Fix 🔧
Uptimeto rightly have a keyUptimeinstead ofuptimePreview 📷
How to test 🧪
Author Checklists
As an Author, to speed up the review process, I considered 🤔
👀 Doing a self review
❔ Our contribution guidelines
🤏 Splitting feature into small PRs
➕ Adding a changeset
🧪 Providing/improving test coverage
🔐 Removing all sensitive information from the code and PR description
🚩 Using a feature flag to protect the release
👣 Providing comprehensive reproduction steps
📑 Providing or updating our documentation
🕛 Scheduling a pair reviewing session
📱 Providing mobile support
♿ Providing accessibility support
As an Author, before moving this PR from Draft to Open, I confirmed ✅