This should not be needed as of ops 2.10.0 release. We should test whether 2.10.0 successfully fixes this issue, and if so remove the current workaround.
What needs to get done
test whether ops 2.10.0 fixes the relation-broken handling issue
remove the workaround
update any charms that use this library to remove the workaround from all charms
When is the task considered done
publish an updated charm library with the hack removed
update all charms that use the library (or create separate issues for them to be updated)
Why it needs to get done
The kubeflow_dashboard libraryu has the following workaround:
https://github.com/canonical/kubeflow-dashboard-operator/blob/05ac84bf63bff38da543f2f3a77a8123966e1d3f/lib/charms/kubeflow_dashboard/v0/kubeflow_dashboard_links.py#L320-L337
This should not be needed as of ops 2.10.0 release. We should test whether 2.10.0 successfully fixes this issue, and if so remove the current workaround.
What needs to get done
When is the task considered done