Repository navigation
fix(dev-script): vector store script - #326
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
Description
This pull request updates the way the vector store indexing workflow tracks and stores the last indexed content revision. Instead of using a repository variable, it now stores the revision in a file (
last-indexed-content-sha.txt) on a dedicated branch (vector-store-state). The workflow and documentation are updated to reflect this new approach, improving auditability and integration with repository rules.Workflow and State Management Changes:
last-indexed-content-sha.txton thevector-store-statebranch rather than using theLAST_INDEXED_CONTENT_SHArepository variable. The branch is created automatically if it doesn't exist.vector-store-statebranch instead of fetching a repository variable, with improved error handling for invalid or missing state.contents: write(no longer requiresactions: write).Documentation Updates:
dev/README.mdis updated to explain the new mechanism for storing and advancing the indexed revision, including details about the state file and branch requirements.Error Handling Improvements:
Related Issue
NA
Screenshots/Screencasts
NA
Notes to Reviewer
NA