ci: automate llama.cpp pin updates#13
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Introduces llama_cpp.version as the single source of truth for the pinned llama.cpp tag, refactors CI and publish workflows to read from it, adds a scheduled automation workflow that opens/updates a stable bump PR with upstream changelog, and bumps the pin from b9116 to b9165. The reliability contract and docs (AGENTS.md, README.md, CONTRIBUTING.md) are updated to enforce and describe the new policy.
Changes:
- Add
llama_cpp.versionand have ci.yml/publish_assets.yml resolve the tag from it (publish carries it across jobs as a job output). - Add
.github/workflows/auto_llama_cpp_update.ymlto manage one stableautomation/bump-llama-cppPR with release notes/compare/commit-range, dispatch CI on the bot branch, and skip when a non-automation PR already touches the version file. - Extend
scripts/verify_ci_reliability.pyand the docs to require/describe the new pin file, automation workflow, and publish job-output behavior.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| llama_cpp.version | New pin file containing b9165. |
| .github/workflows/ci.yml | Adds workflow_dispatch; resolves LLAMA_CPP_TAG from llama_cpp.version instead of hard-coded default. |
| .github/workflows/publish_assets.yml | Makes llama_cpp_tag input optional, resolves default from version file, exposes resolved tag as a job output for the release step. |
| .github/workflows/auto_llama_cpp_update.yml | New scheduled/manual workflow to open or update a stable bump PR and dispatch CI on the automation branch. |
| scripts/verify_ci_reliability.py | Asserts new automation workflow shape, version-file format, removed stale defaults, and updated docs requirements. |
| AGENTS.md | Documents the auto-update workflow, dispatch behavior, and skip-on-conflict policy. |
| README.md | Documents pin file, automation PR, publish job-output behavior, and override semantics. |
| CONTRIBUTING.md | Documents guardrails for the new workflow and override semantics for llama_cpp_tag. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Summary
llama_cpp.versionas the single source of truth for the default llama.cpp checkout.b9116.automation/bump-llama-cppPR with upstream changelog context.b9116tob9165.llama.cpp update
b9116b9165Upstream changelog
Release notes for b9165
Details
ci : fix transform of top . entry in release archive (#23080)
fix transform of top . entry in release archive
simplify
macOS/iOS:
Linux:
Android:
Windows:
openEuler:
Commit range
Commits from b9116 to b9165 (first 80)
fa62042)706fbd8)ef93e98)fde69a3)89730c8)239a497)927dada)7bfe120)dded58b)cce09f0)a9883db)856c3ad)61af07c)bcfe63f)634275f)3796c94)5d44db6)e75cd5e)ad96bb8)7e16646)46be24d)2dfeca3)527045b)1e4579f)95d469a)ec562eb)7f3f843)4c1c3ac)9ed6e19)320a6a4)dbe7901)42532af)0f45f1a)81b0d88)67b2b7f)253ba11)97b658c)0c3e4fc)5ec717d)834a243)d81e63d)3e037f3)5c0e946)7155a49)91e84fe)d528444)ac33f03)d5dc2e0)769cc93)Test Plan
python3 -m py_compile scripts/verify_state_persistence_api.py scripts/verify_ci_reliability.py scripts/state_persistence_browser_smoke.pypython3 scripts/verify_state_persistence_api.pypython3 scripts/verify_ci_reliability.pygit diff --check.github/workflows/*.ymlbash -nfor workflow run scriptsgo run github.com/rhysd/actionlint/cmd/actionlint@latest -color=false .github/workflows/ci.yml .github/workflows/publish_assets.yml .github/workflows/auto_llama_cpp_update.ymlReview Notes
llama.cpptag via a build-job output.