System check the react i18n built .json files
Categories
(developer.mozilla.org Graveyard :: General, enhancement, P2)
Tracking
(Not tracked)
People
(Reporter: peterbe, Assigned: peterbe)
Details
(Keywords: in-triage)
Attachments
(1 file)
75 bytes,
text/x-github-pull-request
|
Details |
https://github.com/mozilla/kuma/pull/5420 has landed in master
.
This news code mandates that you execute make compile-react-i18n
at some point before starting the server. That creates files like {BASE_DIR}/static/jsi18n/{locale}/react.json
. If they don't exist or are corrupt you would get runtime errors in Django.
What we should do is assert, using the Django system checks framework, that all these files exist and are in working condition.
This bug is also about making sure that running system checks are in place in the deploy pipeline so that we don't proceed with the deployment if the system checks fail in any way.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
Updated•6 years ago
|
Assignee | ||
Comment 2•6 years ago
|
||
Note-to-self; I think the PR is nearly there but there are some decisions we need to make about how we trigger this in Jenkins. See https://github.com/mozilla/kuma/pull/5425#issuecomment-494419034
Comment 3•5 years ago
|
||
Comment 4•5 years ago
|
||
Updated•5 years ago
|
Description
•