feat: add copilot-setup-steps.yml — install CSM-LLM-QA@main with SHA-pinned pip cache#148
Merged
Merged
Conversation
Copilot created this pull request from a session on behalf of
nevstop
May 28, 2026 07:11
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a Copilot coding-agent setup workflow so cloud agent sessions can pre-install CSM-LLM-QA with an SHA-keyed pip cache.
Changes:
- Adds
.github/workflows/copilot-setup-steps.ymlwith the requiredcopilot-setup-stepsjob. - Resolves
CSM-LLM-QA@mainto a commit SHA before install. - Caches
~/.cache/pipusing the resolved SHA with prefix restore fallback.
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.
Copilot cloud agent had no pre-install setup, requiring it to discover and install
CSM-LLM-QAad-hoc each session. This adds acopilot-setup-steps.ymlthat always tracksmainwhile keeping the pip cache effective.Key design
mainresolution —git ls-remotefetches the latest commit SHA ofCSM-LLM-QA@mainwithout cloning. No GitHub API rate-limit concern.pip install git+...@<SHA>(not@main) so pip can match the exact wheel in its cache, rather than re-cloning on every run.actions/cachekey ispip-csm-llm-qa-<SHA>: exact hit whenmainhasn't changed;restore-keys: pip-csm-llm-qa-gives a partial hit on SHA change, reusing already-cached heavy deps (chromadb,sentence-transformers,openai) and only rebuilding the CSM-LLM-QA wheel.