Hive Hive
Sign in

fix(search): restore translation guide search sync

GitHub issue · Closed

Metadata
Source
tuist/tuist #10897
Updated
Jun 24, 2026
Details

This fixes the stale translation guide search result by repairing both the docs redirect path and the Hetzner-hosted DocSearch refresh flow.

  • move the legacy /contributors/translate redirect into the docs redirect layer and cover it with redirect tests
  • update the DocSearch config to stop indexing the legacy translation slug
  • make the scraper scripts sync configs and indexer helpers onto /opt/docsearch and reinstall the missing systemd timer on the search host

How to test locally

  • bash -n search/bin/scrape search/bin/scrape-cron
  • jq empty search/config/docsearch.json
  • cd server && mix format --check-formatted lib/tuist/docs/redirects.ex lib/tuist_web/plugs/legacy_redirects_plug.ex test/tuist/docs/redirects_test.exs test/tuist_web/plugs/legacy_redirects_plug_test.exs
  • cd server && mix test test/tuist/docs/redirects_test.exs test/tuist_web/plugs/legacy_redirects_plug_test.exs (fails locally in this worktree because the test database is missing users)
Flights

Investigate, reproduce, or fix this item in an isolated repository. Each Flight preserves its outcome and agent session.

New Flights are paused Configure model inference, GitHub, and a sandbox provider to start another Flight. Existing results remain available below.
No Flights yet

Start a Flight and preserve its objective, outcome, and session here.

Comments

No GitHub comments yet.