chore: extract branch from download of examples#16
Conversation
Greptile SummaryThis PR fixes the
Confidence Score: 5/5Safe to merge — the change correctly decouples the git ref from the version string, and the CI workflow is straightforward. The core logic fix is well-reasoned and accompanied by an explanatory comment. The CI workflow uses up-to-date action versions and mirrors the existing local workflow. No correctness issues are present in the changed code. No files require special attention. Important Files Changed
Reviews (2): Last reviewed commit: "ci: validate build and content download ..." | Re-trigger Greptile |
Add a CI workflow that runs on pull_request to main, mirroring the Dockerfile's setup (bun install, patch-package) and running bun run build + bun run download-content. This catches build and download-content regressions before merge instead of only at the staging Docker build. init-vector-store is skipped to avoid OpenAI cost on every PR. Also relabel the examples download log from 'branch' to 'version', since the value is now the version subdirectory and the git ref is always main. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
What does this PR do?
(Provide a description of what this PR does.)
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)
Related PRs and Issues
(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)
Have you read the Contributing Guidelines on issues?
(Write your answer here.)