Skip to content

Automate documentation index refresh - #105

Merged
ChiragAgg5k merged 1 commit into
mainfrom
chore/daily-docs-index
Aug 16, 2026
Merged

Automate documentation index refresh#105
ChiragAgg5k merged 1 commit into
mainfrom
chore/daily-docs-index

Conversation

@ChiragAgg5k

Copy link
Copy Markdown
Member

Summary

  • refresh the committed docs index from 476 pages / 3,618 chunks to 497 pages / 3,979 chunks
  • rebuild and commit the index every day at midnight UTC
  • allow manual index refreshes with workflow_dispatch
schedule:
  - cron: "0 0 * * *"

Test plan

  • uv run --group dev ruff check src tests
  • uv run --group dev black --check src tests
  • uv run --group dev pyright
  • uv run python -m unittest discover -s tests/unit -v
  • validated the refreshed vector/page mapping

@greptile-apps

greptile-apps Bot commented Aug 16, 2026

Copy link
Copy Markdown

Greptile Summary

The PR refreshes the committed documentation search index and adds automation to regenerate it daily or on demand.

  • Adds a serialized GitHub Actions workflow with write-only repository permissions needed to commit refreshed artifacts.
  • Installs locked development dependencies and provides the OpenAI credential to the existing index builder.
  • Commits regenerated vector and metadata files to main when their contents change.
  • Updates the packaged index from 476 pages and 3,618 chunks to 497 pages and 3,979 chunks.

Confidence Score: 5/5

The PR appears safe to merge, with no concrete changed-code defect identified.

The workflow supplies the documented build inputs, uses frozen dependencies, serializes its own runs, stages both generated artifacts together, and avoids creating a commit when the index is unchanged.

Important Files Changed

Filename Overview
.github/workflows/update-docs-index.yml Adds a pinned, serialized daily/manual index-refresh workflow that builds both artifacts and commits them only when changed.
src/mcp_server_appwrite/data/docs_index.npz Refreshes the packaged vector and chunk-to-page mapping artifact generated by the existing builder.
src/mcp_server_appwrite/data/docs_index_meta.json Refreshes the corresponding page metadata for the expanded documentation corpus.

Reviews (1): Last reviewed commit: "chore: automate documentation index refr..." | Re-trigger Greptile

@ChiragAgg5k
ChiragAgg5k merged commit 4d0f564 into main Aug 16, 2026
5 checks passed
@ChiragAgg5k
ChiragAgg5k deleted the chore/daily-docs-index branch August 16, 2026 11:06
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