Skip to content

ci: remove docs indexing - #12435

Merged
alumni merged 1 commit into
typeorm:v0.3from
alumni:v03/fix-docs-ci
May 7, 2026
Merged

alumni merged 1 commit into
typeorm:v0.3from
alumni:v03/fix-docs-ci

Conversation

@alumni

@alumni alumni commented May 7, 2026

Copy link
Copy Markdown
Collaborator

Description of change

Remove TypeSense indexing for docs (which have switched to a local index in the meantime).

Pull-Request Checklist

  • Code is up-to-date with the v0.3 branch
  • This pull request links relevant issues as Fixes #00000
  • There are new or updated tests validating the change (tests/**.test.ts)
  • Documentation has been updated to reflect this change (docs/docs/**.md)

@alumni

alumni commented May 7, 2026

Copy link
Copy Markdown
Collaborator Author

TODO: should probably remove docs/docsearch-scraper-config.json

@qodo-free-for-open-source-projects

qodo-free-for-open-source-projects Bot commented May 7, 2026 •

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (1) 📘 Rule violations (0)

Grey Divider


Remediation recommended

1. Orphaned Typesense config 🐞 Bug ⚙ Maintainability
Description
Removing the Typesense indexing workflow leaves docs/docsearch-scraper-config.json with no remaining
in-repo consumer, which will mislead maintainers about the active docs search/indexing mechanism.
This is now dead configuration because the docs site uses local Lunr search instead of Typesense.
Code

.github/workflows/docsearch.yml[L44-51]

-      - run: |
-          docker run \
-            -e TYPESENSE_API_KEY=${{ secrets.TYPESENSE_API_KEY }} \
-            -e TYPESENSE_HOST="${{ secrets.TYPESENSE_HOST }}" \
-            -e TYPESENSE_PORT="443" \
-            -e TYPESENSE_PROTOCOL="https" \
-            -e CONFIG="$(cat docs/docsearch-scraper-config.json | jq -r tostring)" \
-            typesense/docsearch-scraper
Evidence
The deleted workflow was the (only) automation that consumed docs/docsearch-scraper-config.json (it
injects the JSON into the docsearch scraper container). The docs site configuration enables local
search via docusaurus-lunr-search and contains no Typesense integration, so keeping the Typesense
scraper config is now an unreferenced artifact.

.github/workflows/docsearch.yml[44-51]
docs/docusaurus.config.ts[189-224]
docs/docsearch-scraper-config.json[1-44]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The Typesense indexing workflow was deleted, but the Typesense scraper configuration file remains in the repo.
## Issue Context
With Typesense indexing removed and local search enabled in the Docusaurus docs, `docs/docsearch-scraper-config.json` is now unused. Keeping it around increases confusion/maintenance cost.
## Fix Focus Areas
- docs/docsearch-scraper-config.json[1-44]
- .github/workflows/docsearch.yml[44-51]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Grey Divider

  • Author self-review: I have reviewed the code review findings, and addressed the relevant ones.

Previous review results

Review updated until commit d683eaa

Results up to commit e8ffd66


🐞 Bugs (1) 📘 Rule violations (0)


Remediation recommended
1. Orphaned Typesense config 🐞 Bug ⚙ Maintainability
Description
Removing the Typesense indexing workflow leaves docs/docsearch-scraper-config.json with no remaining
in-repo consumer, which will mislead maintainers about the active docs search/indexing mechanism.
This is now dead configuration because the docs site uses local Lunr search instead of Typesense.
Code

.github/workflows/docsearch.yml[L44-51]

-      - run: |
-          docker run \
-            -e TYPESENSE_API_KEY=${{ secrets.TYPESENSE_API_KEY }} \
-            -e TYPESENSE_HOST="${{ secrets.TYPESENSE_HOST }}" \
-            -e TYPESENSE_PORT="443" \
-            -e TYPESENSE_PROTOCOL="https" \
-            -e CONFIG="$(cat docs/docsearch-scraper-config.json | jq -r tostring)" \
-            typesense/docsearch-scraper
Evidence
The deleted workflow was the (only) automation that consumed docs/docsearch-scraper-config.json (it
injects the JSON into the docsearch scraper container). The docs site configuration enables local
search via docusaurus-lunr-search and contains no Typesense integration, so keeping the Typesense
scraper config is now an unreferenced artifact.

.github/workflows/docsearch.yml[44-51]
docs/docusaurus.config.ts[189-224]
docs/docsearch-scraper-config.json[1-44]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The Typesense indexing workflow was deleted, but the Typesense scraper configuration file remains in the repo.

## Issue Context
With Typesense indexing removed and local search enabled in the Docusaurus docs, `docs/docsearch-scraper-config.json` is now unused. Keeping it around increases confusion/maintenance cost.

## Fix Focus Areas
- docs/docsearch-scraper-config.json[1-44]
- .github/workflows/docsearch.yml[44-51]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Qodo Logo

@alumni
alumni force-pushed the v03/fix-docs-ci branch from e8ffd66 to d683eaa Compare May 7, 2026 14:12
@alumni
alumni merged commit c38c754 into typeorm:v0.3 May 7, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants