Skip to content

Revert "BE: Add profiling to track code optimization"#2909

Merged
jrdh merged 1 commit intomainfrom
revert-2901-CDD-2984-django-debug-toolbar-profiling
Jan 7, 2026
Merged

Revert "BE: Add profiling to track code optimization"#2909
jrdh merged 1 commit intomainfrom
revert-2901-CDD-2984-django-debug-toolbar-profiling

Conversation

@jrdh
Copy link
Copy Markdown
Contributor

@jrdh jrdh commented Jan 7, 2026

Reverts #2901

I thought the production deployment pipeline was failing to reload the API tasks in ECS because too many of them had been triggered at the same time and it was just taking a long time to get through them. This was until I realised it was failing in all WKEs (e.g. https://github.com/UKHSA-Internal/data-dashboard-infra/actions/runs/20784424311) and actually looked at some logs and found that the health check on the new tasks were failing because of an error from this PR. Specifically, the debug_toolbar module isn't available because it's a dev dependency not a prod dependency and therefore isn't available in the production images:

image

This should be easy to fix but reverting for a quick fix and then we can revisit tomorrow.

@jrdh jrdh requested a review from a team as a code owner January 7, 2026 16:53
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Jan 7, 2026

@jrdh jrdh merged commit 0b6197c into main Jan 7, 2026
15 checks passed
@jrdh jrdh deleted the revert-2901-CDD-2984-django-debug-toolbar-profiling branch January 7, 2026 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant