mdn / sprints

Archived: MDN Web Docs issues are tracked in the content repository.
https://github.com/mdn/content
Creative Commons Zero v1.0 Universal
149 stars 142 forks source link

Prepare prod for beta.developer.mozilla.org #1448

Closed escattone closed 5 years ago

escattone commented 5 years ago

User story

As a developer, I want to prepare production to handle the separate beta.developer.mozilla.org and wiki.developer.mozilla.org domains so we're ready when we make those domains public.

Acceptance criteria

Tasks

escattone commented 5 years ago
escattone commented 5 years ago
escattone commented 5 years ago

I published all of the production documents to the production S3 bucket. Well, all except one. There is this one evil document (/zh-CN/docs/Archive/Web/LiveConnect) which crashes the celery worker when it is run. When I tried to publish it manually it crashed Python as well. Also, when I request the document like https://developer.mozilla.org/zh-CN/docs/Archive/Web/LiveConnect, I wait and wait and wait (>30 seconds) but no response. Something is rotten with that document.

jmswisher commented 5 years ago

Given that it's under /Archive, it's probably not a big deal to delete that document. It would be great to figure out what's wrong with it, but not if it turns into a rabbit hole.

escattone commented 5 years ago

I also re-published all of the stage documents to the stage S3 bucket. I did this because https://github.com/mozilla/kuma/pull/5402 added an enSlug attribute to the JSON that the document API returns.

escattone commented 5 years ago

I'm going to document the results of my testing against prod.

Home page

Load https://developer.mozilla.org/en-US and https://wiki.developer.mozilla.org/en-US

Load https://beta.developer.mozilla.org/en-US

Article page

Load https://developer.mozilla.org/en-US/docs/Web/HTML, https://wiki.developer.mozilla.org/en-US/docs/Web/HTML, and https://beta.developer.mozilla.org/en-US/docs/Web/HTML

escattone commented 5 years ago

Functional and Headless Tests

The Firefox and Chrome functional tests as well as the headless tests pass when run against stage (https://developer.allizom.org) from Jenkins.

The Firefox and Chrome functional tests as well as the headless tests pass when run against https://wiki.developer.mozilla.org.

escattone commented 5 years ago

Submitted https://github.com/mozilla/kuma/pull/5426 (minor tweaks) to address a testing issue with the headless tests when run against the production or wiki domains.

escattone commented 5 years ago

The Firefox and Chrome functional tests as well as the headless tests pass when run against https://developer.mozilla.org.

escattone commented 5 years ago

Full Manual Tests

Content tests

These URLs should have similar results for anonymous or logged-in users:

Anonymous tests

Test these URLs as an anonymous user:

Regular Account Tests (for https://wiki.developer.mozilla.org)

Some things to try with a regular account, to exercise write functionality:

Admin Tests (for https://wiki.developer.mozilla.org)

Some things to try with an admin account, to exercise restricted functionality:

escattone commented 5 years ago

Test anomalies (none are failures in regard to this effort, but indicate follow-on work):

escattone commented 5 years ago

The acceptance criteria has been met.