[UX] Show license validity errors on GL subscription page
Problem
In a recent escalation (Zendesk ticket), a customer reported that the current license on their SM instance "rolled back" to an earlier version. We don't have confirmation yet, but feel pretty confident that this happened because of license validity checks that occurs when GL is choosing the current license.
Proposal
We should consider whether it would be helpful to surface license validation errors to the user while on the Subscription page. This came up as an idea when looking into the problem.
This might not be 100% straightforward because of the way the current license is loaded. The logic pulls the most recent 100 licenses from the DB and selects the first license that is valid and has started (e.g. start date in the past). If there are multiple invalid licenses that are encountered, it could be tricky to present this information to the user.
Is there a more effective way to present this license validity information to the user? Perhaps a validity indicator could be shown in the license table?
Proposal 1
Show the last relevant error. Given how licenses are loaded, I would say that this will be the error for license X-1 with X being the current license and X-1 the prior license that we tried to load but failed.