New Tab and New Pocket Production Cluster Smoke Test
Categories
(Firefox :: New Tab Page, task, P1)
Tracking
()
People
(Reporter: jirving, Unassigned, NeedInfo)
References
Details
The pocket backend could use some help from the firefox team. We are making some changes on our production cluster which host the APIs for FF New Tab. Before switching over we would like to run some sort of sanity check against this new cluster. Would it be possible to have someone on the firefox new tab team point a build/config to the new cluster and run a smoke check to confirm that there are no surprises in the behavior?
New cluster: https://production-web.readitlater.com
Comment 1•5 years ago
|
||
Jesh, what's the timeframe you need this by? Do you need it this week, or can we tackle sometime 8/19-8/30?
Updated•5 years ago
|
Comment 2•5 years ago
•
|
||
To test that this works, we need to test three things, feeds, layouts, and spocs.
Helpful tools to test:
- In about:config Set
browser.newtabpage.activity-stream.asrouter.devtoolsEnabled
totrue
- Go to about:home#devtools-ds
- This page lets you expire cache and look at the endpoint used for feeds, spocs, and layout, and when it was last fetched.
To test feeds:
- Set
browser.newtabpage.activity-stream.discoverystream.endpoints
tohttps://getpocket.cdn.mozilla.net/,https://spocs.getpocket.com/,https://production-web.readitlater.com/,https://gist.githubusercontent.com/
- Set
browser.newtabpage.activity-stream.discoverystream.config
to{"api_key_pref":"extensions.pocket.oAuthConsumerKey","collapsible":true,"enabled":true,"show_spocs":true,"hardcoded_layout":false,"personalized":false,"layout_endpoint":"https://gist.githubusercontent.com/ScottDowne/896655ea2b387309ff1b821c6265ceb4/raw/a75aa336a610d548df6aa98d123df6b5eee14925/new-endpoint" }
- Ensure you see pocket stories and a message above them like "If you see spocs, and stories, we're goodHow it works"
- You can also verify it in about:home#devtools-ds under "Feeds Data" (nightly only)
To test layout
- Set
browser.newtabpage.activity-stream.discoverystream.endpoints
tohttps://getpocket.cdn.mozilla.net/,https://spocs.getpocket.com/,https://production-web.readitlater.com/
- Set
browser.newtabpage.activity-stream.discoverystream.config
to{"api_key_pref":"extensions.pocket.oAuthConsumerKey","collapsible":true,"enabled":true,"show_spocs":true,"hardcoded_layout":false,"personalized":false,"layout_endpoint":"https://production-web.readitlater.com/v3/newtab/layout?version=1&consumer_key=$apiKey&layout_variant=basic"}
- Ensure you see three stories.
- No easy way to verify this in about:home#devtools-ds atm.
To test old spocs:
- Set
browser.newtabpage.activity-stream.discoverystream.endpoints
tohttps://getpocket.cdn.mozilla.net/,https://spocs.getpocket.com/,https://production-web.readitlater.com/
- Set
browser.newtabpage.activity-stream.discoverystream.spocs-endpoint
tohttps://production-web.readitlater.com/v3/firefox/unique-spocs
- Set
browser.newtabpage.activity-stream.discoverystream.config
to{"api_key_pref":"extensions.pocket.oAuthConsumerKey","collapsible":true,"enabled":true,"show_spocs":true,"hardcoded_layout":true,"personalized":false,"layout_endpoint":"https://getpocket.cdn.mozilla.net/v3/newtab/layout?version=1&consumer_key=$apiKey&layout_variant=basic"}
- Ensure you see spocs.
- You can also verify it in about:home#devtools-ds under "spocs_endpoint" (nightly only)
Comment 3•5 years ago
|
||
Jesh - are we good here?
Comment 4•5 years ago
|
||
Yeah me and Daniel verified these.
Description
•