Kuma: Re-render all documents that use the "compat" macro

Created on 29 Feb 2020  路  2Comments  路  Source: mdn/kuma

Since I was already working on https://github.com/mdn/kuma/issues/6532, I decided to also re-render of all of the documents that use the compat macro, since that hasn't been done since Jan. 9th (see https://github.com/mdn/kuma/issues/6325).

I run this gist within a ./manage.py shell_plus on a celery-worker pod, and scale-up the api pods and kumascript pods to six (6) pods each before I make the run. It usually takes about 1-2 hours to render about 20K documents.

Acceptance Criteria

  • [x] All documents that use the compat macro have been successfully re-rendered on prod
p1 Operational Necessity

Most helpful comment

@Elchi3 @tobinmori This is done. 20986 documents containing the compat macro were re-rendered in 63 minutes with no errors.

All 2 comments

@Elchi3 @tobinmori This is done. 20986 documents containing the compat macro were re-rendered in 63 minutes with no errors.

Thanks for the heads up @escattone

Was this page helpful?
0 / 5 - 0 ratings