admin: Add graph collection lifecycle support and improve admin logging#192
Merged
m1rl0k merged 3 commits intoContext-Engine-AI:testfrom Jan 21, 2026
Merged
admin: Add graph collection lifecycle support and improve admin logging#192m1rl0k merged 3 commits intoContext-Engine-AI:testfrom
m1rl0k merged 3 commits intoContext-Engine-AI:testfrom
Conversation
…ng - Add INDEX_GRAPH_EDGES to CONFIG_DRIFT_RULES and documentation - Extend delete_collection_everywhere to delete both main and graph collections - Add _delete_collection_and_graph helper for staging cleanup - Replace print statements with proper logging throughout admin scripts - Add flash message support to admin UI templates - Extend test coverage for collection deletion with graph collections - Add staging lifecycle and workspace state tests
🤖 Augment PR SummarySummary: This PR extends the admin/staging lifecycle to treat “graph edge” Qdrant collections as first-class companions of a main collection, and improves operational visibility in the admin UI. Changes:
Technical Notes: Graph collection operations are designed to be best-effort to avoid breaking main lifecycle flows when the graph collection is absent. 🤖 Was this summary useful? React with 👍 or 👎 |
Ensures graph collection deletion is more robust by handling potential errors and improves the fallback mechanism for determining the slug order when processing delta bundles. It also introduces a new mechanism to delegate Qdrant collection deletion to an existing helper function `delete_collection_qdrant` if available, enhancing testability by allowing monkeypatching of this function.
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.
admin: Add graph collection lifecycle support and improve admin logging