Skip to content

Run Docs Search Sync only on upstream main - #129

Open
arthurianresolve wants to merge 1 commit into
krypticmouse:mainfrom
arthurianresolve:fix-docs-search-sync-forks
Open

arthurianresolve wants to merge 1 commit into
krypticmouse:mainfrom
arthurianresolve:fix-docs-search-sync-forks

Conversation

@arthurianresolve

Copy link
Copy Markdown

Summary of Fix

  • Run Docs Search Sync only in krypticmouse/DSRs on main.
  • Skip fork pushes and manual dispatches from other branches before installing dependencies or attempting to access the Mixedbread stores.
  • Keep the upstream main sync and its missing-key failure intact, so the documentation chat's dsrs-docs and dsrs-code indexes continue to refresh when the credential is configured.

Fixes #128

Why

The failed fork job received an empty MXBAI_API_KEY. The sync script writes to fixed store names and removes stale files; those production stores should be updated from upstream main. The docs chat Worker searches those stores when answering questions, so upstream syncing remains necessary.

Testing

  • actionlint .github/workflows/docs-search-sync.yaml — passed.
  • git diff --check — passed.
  • No live Mixedbread sync was run. The job condition has not yet been exercised on GitHub Actions.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG][Low] Docs Search Sync fails in forks without a Mixedbread key

1 participant