TestEngineering/UI/AMO/Tips and Pointers: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 11: Line 11:
* To view the revision of AMO you're currently seeing, view-source of any page; in the bottom, you'll see something like <pre><!-- r24322 --></pre><p>This means you're at SVN revision number 24322 -- you can cross-link this to whatever revision number was posted in the checkin comment in the bug.
* To view the revision of AMO you're currently seeing, view-source of any page; in the bottom, you'll see something like <pre><!-- r24322 --></pre><p>This means you're at SVN revision number 24322 -- you can cross-link this to whatever revision number was posted in the checkin comment in the bug.
* Pages won't validate due to some proprietary attributes we use (like "addonname") but it should be very close.
* Pages won't validate due to some proprietary attributes we use (like "addonname") but it should be very close.
* Database queries are cached in memcache for 60 minutes.  This means if you change something that doesn't invalidate the cache it won't actually change for up to 60 minutes.
* If you want a really fast check to see if basic infrastructure is working look at the [https://addons.mozilla.org/services/monitor.php services monitor].  This is also one of the things nagios watches.
* Many scripts are run periodically via cron.  This means certain things won't update right away (in addition to the cache timeouts).  Some examples:
** Calculating weekly download, total download, collections, and review stats happens every 20 minutes
** Calculating the compatibility report happens every 5 minutes
** You can see exact times and all cron jobs in {{bug|487503}}


=Testing Add-on Uploading=
=Testing Add-on Uploading=
Line 18: Line 24:
before they can be complete; click on the "Complete Add-on" button to make them so
before they can be complete; click on the "Complete Add-on" button to make them so
* ...and now, they can be either in the "release" or "beta" channel
* ...and now, they can be either in the "release" or "beta" channel
== Production ==
===https://addons.mozilla.org/===
* Database queries are cached in memcache for 60 minutes.  This means if you change something that doesn't invalidate the cache it won't actually change for up to 60 minutes.
* If you want a really fast check to see if basic infrastructure is working look at the [https://addons.mozilla.org/services/monitor.php services monitor].  This is also one of the things nagios watches.
* Many scripts are run periodically via cron.  This means certain things won't update right away (in addition to the cache timeouts).  Some examples:
** Calculating weekly download, total download, collections, and review stats happens every 20 minutes
** Calculating the compatibility report happens every 5 minutes
** You can see exact times and all cron jobs in {{bug|487503}}


===https://versioncheck.amo/===
===https://versioncheck.amo/===
Confirmed users
9,511

edits

Navigation menu