Skip to content

fix(dev-script): vector store script - #326

Merged
babblebey merged 2 commits into
mainfrom
fix/vector-store-script
Nov 24, 2026
Merged

babblebey merged 2 commits into
mainfrom
fix/vector-store-script

Conversation

@babblebey

Copy link
Copy Markdown
Member

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:

  • The workflow now writes the indexed content SHA to last-indexed-content-sha.txt on the vector-store-state branch rather than using the LAST_INDEXED_CONTENT_SHA repository variable. The branch is created automatically if it doesn't exist.
  • The workflow reads the indexed SHA from the state file on the vector-store-state branch instead of fetching a repository variable, with improved error handling for invalid or missing state.
  • The workflow permission requirements are updated to only need contents: write (no longer requires actions: write).

Documentation Updates:

  • The documentation in dev/README.md is 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:

  • Error messages and checks are updated to reference the new state file and branch, providing clearer guidance if the marker is missing or invalid.

Related Issue

NA

Screenshots/Screencasts

NA

Notes to Reviewer

NA

@vercel

vercel Bot commented Nov 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
jargons-dev Ready Ready Preview Nov 24, 2026 1:03pm UTC

@babblebey
babblebey merged commit a881b4a into main Nov 24, 2026
7 checks passed
@babblebey
babblebey deleted the fix/vector-store-script branch November 24, 2026 13:04

This branch was successfully deployed

1 active deployment
Preview — 4550aa12 Deployed Nov 24, 2026 by vercel[bot]
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