Built-in ingestion pipeline with configurable user profiles#34
Merged
jasperblues merged 2 commits intoembabel:mainfrom Feb 28, 2026
Merged
Built-in ingestion pipeline with configurable user profiles#34jasperblues merged 2 commits intoembabel:mainfrom
jasperblues merged 2 commits intoembabel:mainfrom
Conversation
…olerance IngestionRunner (ApplicationRunner) ingests configured URLs and local directories on startup when guide.reload-content-on-startup=true and prints a structured INGESTION COMPLETE banner summarizing results. Ingestion is fault-tolerant at every level: per-URL, per-directory, and per-document failures are collected with reasons into IngestionResult and never block remaining items. DataManager depends on ChunkingContentElementRepository from rag-core instead of a custom RagStore wrapper, using the library's existing storage abstraction. Stats use ContentElementRepositoryInfo directly. GuideProperties gains a directories list for local repo ingestion and robust path resolution (tilde, absolute, and relative paths). User profiles live under scripts/user-config/ (gitignored). fresh-ingest.sh wipes and re-ingests from scratch; append-ingest.sh adds without clearing. Both read GUIDE_PROFILE from .env and pass the config location to Spring. Includes .env.example, INGESTION-TESTING.md, and 97 passing tests. Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
|
Thanks @jmjava 🙏 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ApplicationRunner) ingests URLs and local directories on startup whenguide.reload-content-on-startup=true, printing a structured INGESTION COMPLETE bannerChunkingContentElementRepositoryfrom rag-core (no customRagStorewrapper), using the library's existing storage abstractionscripts/user-config/withfresh-ingest.shandappend-ingest.shscripts~/, absolute, relative)Test plan
./scripts/fresh-ingest.shend-to-end and verify INGESTION COMPLETE banner./scripts/append-ingest.shwith new content onlycurl http://localhost:1337/api/v1/data/statsreturns store metricsCloses #32
Made with Cursor