Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

assistant: Allow /docs to perform JIT indexing when run #14768

Merged
merged 2 commits into from
Jul 18, 2024

Conversation

maxdeviant
Copy link
Member

This PR updates the /docs slash command with the ability to just-in-time index a package when there are not yet any results in the index.

When running a /docs slash command, we fist check to see if there are any results in the index that would match the search.

If there are, we go ahead and return them, as we do today.

However, if there are not yet any results we kick off an indexing task as part of the command execution to fetch the results.

Release Notes:

  • N/A

@maxdeviant maxdeviant self-assigned this Jul 18, 2024
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Jul 18, 2024
@maxdeviant maxdeviant changed the title assistant: Allow /docs perform JIT indexing when run assistant: Allow /docs to perform JIT indexing when run Jul 18, 2024
@maxdeviant maxdeviant merged commit ad30550 into main Jul 18, 2024
10 checks passed
@maxdeviant maxdeviant deleted the marshall/allow-running-docs-with-no-existing-entries branch July 18, 2024 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant