- ID
- 78025a1f-200b-42ae-82d1-c250ea4de6e3
BE-6861 Remove quiz redirect route from Django after verifying no active traffic
- source :: https://hungryroot.atlassian.net/browse/BE-6861
- tags :: Hungryroot API Project
- epic :: EP-411 Eng Parking Lot
- sprint :: HR BE Sprint 101 HR BE Sprint 102
- status :: Status - Complete
Tasks
DONE Review existing PR and remove quiz redirect
- ID
- 2d318887-aa07-e624-a8df-a77017b31dbc
DONE Document why there are still some hits in Datadog
- ID
- 11beed7f-7edd-cec3-83f6-4d7bc10bdaf9
DONE Test on QA
- ID
- 4700e9a7-b000-786e-3257-5a81e15f17b7
DONE Test on Staging
- ID
- e503d932-f127-b6e5-91ba-cf4b9d08a7a6
Description
Before removing the route, verify in Datadog that there are no meaningful or
recent calls to the quiz-redirect endpoint in production (and staging, if
applicable). This is to ensure there are no remaining consumers or unexpected
dependencies.
We should remove the legacy quiz-redirect route from the Django application as
part of the web platform’s migration to Astro pages. The web client no longer
relies on this Django backend route for quiz redirects, and the route should be
safely decommissioned once we confirm it is no longer receiving traffic.
Once confirmed, proceed with removing the route and any related view logic, URL
configuration, and supporting code from the Django application.
DD logs
Context
Web has migrated quiz flows to Astro pages and no longer depends on this Django
route
Removing unused backend routes reduces maintenance overhead and risk of stale
dependencies
Slack discussion and confirmation:
Acceptance Criteria
Datadog confirms no recent or significant traffic to the quiz-redirect route
Quiz-redirect route and associated Django code are fully removed
No regressions or errors related to quiz or onboarding flows after removal
Deployment is verified in production with no increase in 4xx/5xx errors related
to redirects
Note: There is a PR with broken tests here: https://github.com/hungryroot/hungryroot/pull/12875/changes