From 209ed1659f43bbf62571f235dad480f87af91fb0 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 18 May 2026 21:54:14 +0000 Subject: [PATCH 1/4] Add CI check to prevent non-empty docs whitelist The docs site uses a whitelist feature for faster local dev builds. If pages are accidentally left in the whitelist, it would break the production deploy by only building those pages. This workflow runs on PRs that touch the whitelist file and fails if pages are listed. https://claude.ai/code/session_01NmYeZRggycSUdRUf4zcqNT --- .github/workflows/docs_whitelist.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/docs_whitelist.yml diff --git a/.github/workflows/docs_whitelist.yml b/.github/workflows/docs_whitelist.yml new file mode 100644 index 00000000000..2743a2950e0 --- /dev/null +++ b/.github/workflows/docs_whitelist.yml @@ -0,0 +1,17 @@ +name: docs whitelist check + +on: + pull_request: + paths: + - 'docs/app/reflex_docs/whitelist.py' + +permissions: + contents: read + +jobs: + check-whitelist: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - name: Assert whitelist is empty + run: echo -e "\nassert not WHITELISTED_PAGES, f'WHITELISTED_PAGES includes {WHITELISTED_PAGES}'" | cat "docs/app/reflex_docs/whitelist.py" - | python3 From 4003dddfce9f3e4060024585e6744556c9641c66 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 18 May 2026 21:55:43 +0000 Subject: [PATCH 2/4] Remove redundant docs whitelist workflow This workflow was in docs/app/.github/workflows/ which doesn't run for PRs to the main repo. The check is now in the main workflows. https://claude.ai/code/session_01NmYeZRggycSUdRUf4zcqNT --- docs/app/.github/workflows/whitelist.yml | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 docs/app/.github/workflows/whitelist.yml diff --git a/docs/app/.github/workflows/whitelist.yml b/docs/app/.github/workflows/whitelist.yml deleted file mode 100644 index 077bec01e89..00000000000 --- a/docs/app/.github/workflows/whitelist.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: whitelist check - -on: - pull_request: - -permissions: - contents: read - -jobs: - reflex-web: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - name: Assert whitelist is empty - run: echo -e "\nassert not WHITELISTED_PAGES, f'WHITELISTED_PAGES includes {WHITELISTED_PAGES}'" | cat "reflex_docs/whitelist.py" - | python3 From 2c6352d5d2095ebb33f950f91ef6af2590e29eb6 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 18 May 2026 22:01:45 +0000 Subject: [PATCH 3/4] Also run whitelist check when workflow file changes https://claude.ai/code/session_01NmYeZRggycSUdRUf4zcqNT --- .github/workflows/docs_whitelist.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/docs_whitelist.yml b/.github/workflows/docs_whitelist.yml index 2743a2950e0..86e7136c3d1 100644 --- a/.github/workflows/docs_whitelist.yml +++ b/.github/workflows/docs_whitelist.yml @@ -4,6 +4,7 @@ on: pull_request: paths: - 'docs/app/reflex_docs/whitelist.py' + - '.github/workflows/docs_whitelist.yml' permissions: contents: read From bf0451fd721c4d05306d9bbec035d329dfab697a Mon Sep 17 00:00:00 2001 From: Masen Furer Date: Mon, 18 May 2026 15:07:34 -0700 Subject: [PATCH 4/4] oopsie test --- docs/app/reflex_docs/whitelist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/app/reflex_docs/whitelist.py b/docs/app/reflex_docs/whitelist.py index 898784703ce..193d95ad415 100644 --- a/docs/app/reflex_docs/whitelist.py +++ b/docs/app/reflex_docs/whitelist.py @@ -11,7 +11,7 @@ """ WHITELISTED_PAGES = [ - # "/getting-started/introduction", + "/getting-started/introduction", ]