Skip to content
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

relation-broken events may have the departing app's data, requiring special handling. #124

Open
ca-scribner opened this issue Jun 28, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ca-scribner
Copy link
Contributor

For a relation-broken event, the departing app's data may still be in the data bag when we handle that event. This is discussed in more detail in discourse and github.

To avoid leaving dead links in the sidebar, get_sidebar_items must handle this, returning only the current applications and omitting the departing one (at least until the above issues reach resolution). This is currently done in the charm by inspecting the environment variables and inferring what data we should omit.

@ca-scribner ca-scribner added the bug Something isn't working label Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant