Skip to content

feat(cozy-search): Use the rag-index triggers as the setup marker - #3147

Merged
paultranvan merged 1 commit into
masterfrom
feat/assistants-setup-marker
Sep 22, 2026
Merged

paultranvan merged 1 commit into
masterfrom
feat/assistants-setup-marker

Conversation

@paultranvan

Copy link
Copy Markdown
Contributor

Ensuring only the triggers at startup left an instance with triggers firing on every file change and nothing to index until the assistant was opened, since the knowledge base folders come from the provisioned assistants.

The triggers are now created last, so their presence means an earlier session went through the whole setup. ensureAssistantsSetup, the startup entry point, stops after that single request when both exist, and runs the whole autoprovisioning otherwise: the folders are indexed before the assistant is ever opened.

Ensuring only the triggers at startup left an instance with triggers
firing on every file change and nothing to index until the assistant
was opened, since the knowledge base folders come from the provisioned
assistants.

The triggers are now created last, so their presence means an earlier
session went through the whole setup. ensureAssistantsSetup, the
startup entry point, stops after that single request when both exist,
and runs the whole autoprovisioning otherwise: the folders are indexed
before the assistant is ever opened.

useRagIndexTriggers and ensureRagIndexTriggers, published in 2.5.0 and
used by no app yet, are replaced by useAssistantsSetup and
ensureAssistantsSetup.
@coderabbitai

coderabbitai Bot commented Sep 21, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: cbb59839-f5ed-4107-8fab-4c9457c43fac


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@paultranvan
paultranvan merged commit 576253e into master Sep 22, 2026
3 checks passed
@paultranvan
paultranvan deleted the feat/assistants-setup-marker branch September 22, 2026 19:31
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.

1 participant