ampproject / ampproject/amp.dev

Create article on dev channel testing flow for early bug detection

Open
#1,134 2 comments 0 reactions 0 assignees View on GitHub
Category: Documentation P2: Medium Type: New
Dominant language
HTML
Stars
600
Forks
675
PR merge metrics
No merged PRs in 30d

Description

Please document a sample flow to test AMP pages at scale with dev channel on, in order to early detect bugs in components.

Due to the evergreen nature of AMP components, in the unlikely event of a bug being introduced in the released code, some live pages could break. Guidance on how to setup a testing framework that surfaces these bugs in test environments would be extremely helpful.

Currently, this testing can be done manually by visiting [the experiments page](https://cdn.ampproject.org/experiments.html) and turning on the dev-channel flag, and programmatically by setting up the cookie AMP_CANARY=1 for domain cdn.ampproject.org

Thanks,

Contributor guide

Open the contributing guide

Research direction

Start with the experiments page and the documented AMP_CANARY=1 cookie behavior described in the issue. Document a sample flow for testing AMP pages at scale with dev channel enabled, including how the setup surfaces component bugs in test environments.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
documentation, testing
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.