Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ env:
NODE_OPTIONS: "--max-old-space-size=8192"
CP_WEB_URL: https://cloud.rxc.app/
CP_BACKEND_URL: https://f188e2cd-51fb-4b29-b546-2ce4b9efc5d5.fly.dev/
DEV_TYPESENSE_HOST: ${{ secrets.DEV_TYPESENSE_HOST }}
DEV_TYPESENSE_SEARCH_API_KEY: ${{ secrets.DEV_TYPESENSE_SEARCH_API_KEY }}

jobs:
deploy:
Expand All @@ -42,15 +40,6 @@ jobs:
- name: Update Reflex CLI
run: uv pip install reflex-hosting-cli -U

- name: Index documentation to Typesense
env:
TYPESENSE_ADMIN_API_KEY: ${{ secrets.DEV_TYPESENSE_ADMIN_API_KEY }}
TYPESENSE_HOST: ${{ secrets.DEV_TYPESENSE_HOST }}
run: |
uv pip install typesense python-frontmatter markdown beautifulsoup4
python scripts/typesense_indexer.py --docs-path ./docs --blog-path ./blog --force
python scripts/synonym_indexer.py

- name: Deploy to Reflex
id: deploy
run: |
Expand Down
11 changes: 0 additions & 11 deletions .github/workflows/deploy-prd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ permissions:
env:
NODE_OPTIONS: "--max-old-space-size=8192"
FLY_API_TOKEN: ${{ secrets.PRD_FLY_API_TOKEN }}
Comment on lines 14 to 16
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Incomplete Typesense removal — leftover code remains

The CI/CD indexing steps are removed, but several Typesense artifacts still exist in the codebase:

  • pcweb/components/docpage/navbar/typesense.py — the search UI component that creates a Typesense client and reads TYPESENSE_HOST / TYPESENSE_SEARCH_API_KEY env vars
  • scripts/typesense_indexer.py and scripts/synonym_indexer.py — the indexing scripts
  • scripts/requirements.txt — lists typesense>=0.21.0
  • pyproject.toml — still has "typesense" as a dependency

If Typesense is being fully replaced, these files and references should be cleaned up in this PR (or a follow-up) to avoid dead code. If the search feature is still needed at runtime via a different indexing mechanism, that's worth noting in the PR description.

TYPESENSE_HOST: ${{ secrets.PRD_TYPESENSE_HOST }}
TYPESENSE_SEARCH_API_KEY: ${{ secrets.PRD_TYPESENSE_SEARCH_API_KEY }}

jobs:
deploy:
Expand All @@ -40,15 +38,6 @@ jobs:
- name: Update Reflex CLI
run: uv pip install reflex-hosting-cli -U

- name: Index documentation to Typesense
env:
TYPESENSE_ADMIN_API_KEY: ${{ secrets.PRD_TYPESENSE_ADMIN_API_KEY }}
TYPESENSE_HOST: ${{ secrets.PRD_TYPESENSE_HOST }}
run: |
uv pip install typesense python-frontmatter markdown beautifulsoup4
python scripts/typesense_indexer.py --docs-path ./docs --blog-path ./blog --force
python scripts/synonym_indexer.py

- name: Deploy to Reflex
id: deploy
run: |
Expand Down
11 changes: 0 additions & 11 deletions .github/workflows/deploy-stg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ env:
FLY_API_TOKEN: ${{ secrets.STG_FLY_API_TOKEN }}
CP_WEB_URL: https://cloud.reflexcorp.run/
CP_BACKEND_URL: https://29f4f535-4fb8-48b9-8b55-2000f2782aee.fly.dev/
TYPESENSE_HOST: ${{ secrets.STG_TYPESENSE_HOST }}
TYPESENSE_SEARCH_API_KEY: ${{ secrets.STG_TYPESENSE_SEARCH_API_KEY }}

jobs:
deploy:
Expand All @@ -42,15 +40,6 @@ jobs:
- name: Update Reflex CLI
run: uv pip install reflex-hosting-cli -U

- name: Index documentation to Typesense
env:
TYPESENSE_ADMIN_API_KEY: ${{ secrets.STG_TYPESENSE_ADMIN_API_KEY }}
TYPESENSE_HOST: ${{ secrets.STG_TYPESENSE_HOST }}
run: |
uv pip install typesense python-frontmatter markdown beautifulsoup4
python scripts/typesense_indexer.py --docs-path ./docs --blog-path ./blog --force
python scripts/synonym_indexer.py

- name: Deploy to Reflex
id: deploy
run: |
Expand Down
80 changes: 0 additions & 80 deletions .github/workflows/typesense-index.yml

This file was deleted.

Loading