fix(ci): pin CML binary instead of unauthenticated setup-cml - #994
Conversation
setup-cml still calls the GitHub releases API through Octokit with `token:` (ignored; the option is `auth:`), so GITHUB_TOKEN from ActivityWatch#981 does not avoid the runner-IP rate limit. Install a checksummed v0.20.6 linux-x64 binary instead. Git-Session-Id: 1e3051e2-fd86-5e23-a270-b88cfdc96171
Review guide (auto-posted)Structured warm-up for reviewers — what changed, what to run, where to look. Key files
Suggested verification
Known risks / watch points
Suggested review focus
Generated by |
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #994 +/- ##
=======================================
Coverage 57.66% 57.66%
=======================================
Files 51 51
Lines 3231 3231
Branches 754 754
=======================================
Hits 1863 1863
Misses 1352 1352
Partials 16 16 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
CI-green and mergeable — waiting only on a maintainer click. This PR is ready to merge, but the bot has pull-only access to this repo and can't self-merge — surfacing it here so it isn't lost. The monitoring loop will stop re-flagging it now that this note is posted. |
Problem
Master
Commentis red on run 35805105352 (setup-cml:API rate limit exceededfor the runner IP). Build, Lint, and CodeQL on the same SHA (c8c0306) are green.#981 passed
GITHUB_TOKENintoiterative/setup-cml, but that action constructs Octokit withtoken:instead ofauth:, so the lookup stays unauthenticated and still burns the shared 60/hour IP quota. Same error on run 35345893651 (2026-09-18).Fix
Stop calling the GitHub releases API. Download a checksummed
cml-linux-x64from iterative/cml v0.20.6 (current latest, already whatversion: latestresolved to) and put it onPATH.Verification
cml publishandcml comment create.