CDN bot protection blocks QA test runs
メンテナーはふだん 7 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
調査の方向性
The repo-side work is in .github/workflows/qa.yml, where the bypass secret and header name would be passed only to the Playwright test steps, plus the Playwright config, where traces must be disabled whenever the header is set and the header must be scoped to the site's own host. The AWS WAF rule and the secret setup belong to infra and repo admins and cannot be done from code. Done means a manual QA run against staging and prod returns no 403s, and traces stay off when the header is present.
索引モデルが issue の本文から書いたものです。
説明
What's wrong: strapi.io (prod and staging) is behind CloudFront + AWS WAF bot protection. After a burst of automated requests, it answers Playwright test traffic with HTTP 403 "Request blocked … Generated by cloudfront"; WebKit gets blocked almost immediately. Test runs then fail on blocked pages instead of on real issues (the tests now report "Unexpected HTTP status … 403"). CI and scheduled runs (.github/workflows/qa.yml) will hit the same.
Ask (infra / CDN owners): an AWS WAF rule that lets requests carrying a secret header through:
- match header
x-qa-bypass(name up to you) against a secret value - action Allow, placed before the bot-control and rate-based rules (or exclude matching requests from them via a scope-down statement)
- on both CloudFront distributions, staging and prod
- share the value with QA through a secure channel (not chat or Jira); rotate it if it leaks
An IP allowlist doesn't work well: GitHub-hosted runners don't have fixed IPs.
Ask (repo admins): GitHub → Settings → Secrets and variables → Actions:
- secret
CDN_BYPASS_HEADER_VALUE - variable
CDN_BYPASS_HEADER_NAME, only if the header isn'tx-qa-bypass - optionally, put the secret in a GitHub Environment restricted to
stagingandmain
QA side (how the secret stays safe):
- the header is only sent to our own host, never to third-party scripts (Cookiebot, Google, HubSpot, …)
- only the test steps in
qa.ymlget it; the workflow is manual-only, and runs from forks never receive secrets - Playwright traces are disabled while it's set (they record headers and are uploaded as artifacts in our public repo); Lighthouse runs without it
Done when: a full QA run against prod and staging with the header gets no 403s.
- 主要言語
- TypeScript
- スター
- 6
- フォーク
- 5
- 平均マージ
- 5日 6時間
- マージ済み PR(30日)
- 7
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
strapi/website のほかの issue
-
[SEO] Remove /blog/categories page from sitemap対応中かも @fonodi が 5 日前に担当しました。 オープンreopened
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
strapi/website#128 · 担当者 2 名 ·
メンテナーはふだん 7 日以内に返信
-
Create a new collection type and component for cloud-legal対応中かも @fonodi が 12 日前に担当しました。 オープンenhancement
strapi/website#169 · 担当者 2 名 ·
メンテナーはふだん 7 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
メンテナーはふだん 7 日以内に返信
-
Update GitHub Actions that still run on Node.js 20再び着手できるかも @matej-marcisovsky が 30 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
strapi/website#153 · 担当者 1 名 ·
メンテナーはふだん 7 日以内に返信
-
Pricing buttons don't respond until the cards hydrate対応中かも @fonodi が 5 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
strapi/website#152 · 担当者 1 名 ·
メンテナーはふだん 7 日以内に返信
似ている issue
-
[BUG]: Duplicate preposition in heading and unformatted feedback text on Strengthen Argument pageオープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
AOSSIE-Org/DebateAI#801 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
agents area: runtime automation chore cli consistency dependencies developer-experience difficulty: easy documentation enhancement good first issue help wanted hygiene json-output priority: P3 starters tests
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
Add: BOM Cineオープンapproved check:passed streams:add
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信