Fleet UI: Shows right status for vpp apps installed manually - #31674
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #31674 +/- ##
==========================================
- Coverage 63.71% 63.71% -0.01%
==========================================
Files 1962 1962
Lines 191370 191449 +79
Branches 6298 6334 +36
==========================================
+ Hits 121923 121973 +50
- Misses 59898 59927 +29
Partials 9549 9549
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| interface IGetStatusMessageProps { | ||
| isDUP?: boolean; | ||
| displayStatus: SoftwareInstallStatus | "pending"; | ||
| displayStatus: SoftwareInstallStatus; |
There was a problem hiding this comment.
Why were we able to drop this?
There was a problem hiding this comment.
There's an edge case here where VPP install activities that were added to the feed prior to v4.57 (when we split pending into pending_install/pending_uninstall) will list the status as "pending" rather than "pending_install", and will thus break the type. How you handle this is up to you, but after tracing things through it looks like that's why we have the | here so we probably need to keep it in some form (probably with a comment to explain why).
Issue
Closes #31652
Description
Checklist for submitter
If some of the following don't apply, delete the relevant line.