ministryofjustice/analytical-platform

๐Ÿž Manage app page fails to display app information

Opened this issue ยท 0 comments

Describe the bug.

Occasionally a bug occurs that means that no information about an app is displayed when using the "Manage app" page.

This may be due to an authentication error retrieving secrets and variables about the app from the GitHub API, however further investigation into the code is required.

There is also an issue that appears specific to the gold-scorecard-form app, which incorrectly displays migration information that is no longer required.

To Reproduce

Cannot reliably replicate

Expected Behaviour

An error from the GitHub API should not stop us displaying other app information, that we can pull from other sources such as the DB.

The manage-app page for the gold-scorecard-from no londer displays migration info.

Additional context

Started to have a look at this previously and left notes in the code https://github.com/ministryofjustice/analytics-platform-control-panel/blob/8d49a0f4228a81865ac9d14182cf61841bda41a5/controlpanel/frontend/views/app.py#L87