Repository navigation
sync-lemonade-fork: follow Lemonade releases, not main - #303
Conversation
|
Docs7 for 1bit-monster/engine
Commit |
PR Reviewer Guide 🔍(Review updated until commit a3e7102)Here are some key observations to aid the review process:
|
|
Persistent review updated to latest commit 2395714 |
2395714 to
ac42b4b
Compare
|
Persistent review updated to latest commit ac42b4b |
The
|
|
Persistent review updated to latest commit f2bb215 |
The fork now merges upstream's latest release tag (never a pre-release), so each weekly engine release carries that week's Lemonade release. The header names the Workflows permission the token lacks: every daily sync since 2026-09-26 was refused for touching upstream's workflows. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… workflow scope The daily sync never needed upstream's workflow files: the fork disables every workflow it has right after the merge, so mirroring them buys nothing — and GitHub refuses a push that creates or updates .github/workflows unless the token carries the `workflow` scope. That refusal is why every sync from 2026-09-26 to 2026-10-05 failed, and it is what stalled the fork at upstream 6deeb05. Both paths now put the fork's own .github back over the merge result: the clean merge (merge --no-commit, restore .github, commit) and the conflict hand-off (the sync/<tag> branch is built from upstream's release with the fork's .github kept). A scratch-repo check confirmed each path keeps the fork's workflows, drops upstream's new ones, merges upstream's code, and still produces a real merge commit. HRX_BUMP_TOKEN therefore needs Contents, Pull requests and Actions read/write only — no Workflows permission (classic token: no `workflow` scope).
The step ran under `set -euo pipefail` and treated a failed disable as fatal. A workflow that is already disabled, or that GitHub manages (dynamic workflows), answers HTTP 422 -- so the step aborted the entire sync job. It fired on every run immediately after the self-test, because the self-test re-enables and re-disables a workflow and the next run still saw it listed active. Report the skip and continue instead of failing the sync over cleanup. Evidence: run 37376579837 -- SELFTEST PASSED, then "gh: Unable to disable this workflow. (HTTP 422)" and exit code 1.
f2bb215 to
a3e7102
Compare
|
Persistent review updated to latest commit a3e7102 |
…ng on HRX, so the loader no longer holds a second copy in GTT (fixes #856) (#2147) * bump llama.cpp to 209091986: the model weights stay in the file mapping on HRX, so the loader no longer holds a second copy in GTT (fixes #856) Pin 1703bfeaa -> 209091986: llama.cpp #303 (engine #1962) and #304 (engine #856). #304 keeps the model in the loader's file mapping on HRX: an HRX0_Mapped host buffer with no device allocation, from which HRX makes its device copies. Qwen3-4B Q4_K_M peak GTT 5,665.3 -> 3,225.3 MiB on a short prompt; text identical; KLD 0; steady-state speed unchanged. What remains after a long prompt (prefill reads q4_k/q6_k in the stored layout, so HRX keeps a device copy in each layout: 6,311.8 -> 6,055.8 MiB) is documented in docs/hrx.md and tracked in #2137. tools/hrx_gtt_split.py counts an HRX0_Mapped buffer as host memory. Co-Authored-By: Claude Opus 5.5 <[email protected]> * docs/hrx.md: the device-copy count rises while GTT falls under #304, so the opt-out is not the smaller footprint (review on llama.cpp#304) Co-Authored-By: Claude Opus 5.5 <[email protected]> * bump llama.cpp to 204493d40: #304 as merged Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: bong-water-water-bong <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
…en (engine #1962) (#2157) The f16-range section still listed the draft head's logits step as open. It has been on main since the pin moved to 204493d40 (llama.cpp #303, engine #2147). The paragraph now says what the two faults were, what was measured, and where the unmeasured remainder is tracked (#2127, #2150). Co-authored-by: bong-water-water-bong <[email protected]> Co-authored-by: Claude Fable 5.2 <[email protected]>
What
The daily Lemonade fork sync, fixed twice over.
1. It follows Lemonade releases, not
main— the sync now merges upstream's latest release tag (never a pre-release, nevermain), so each weekly engine release builds on that week's Lemonade release.2. It no longer needs the token's Workflows permission. The sync never needed upstream's workflow files — it disables every workflow in the fork immediately after the merge, so mirroring them buys nothing. But GitHub refuses a push that creates or updates
.github/workflowsunless the token carries theworkflowscope, and that refusal is why every sync from 2026-09-26 to 2026-10-05 failed, stalling the fork at upstream6deeb05.Both paths now keep the fork's own
.github:merge --no-commit --no-ff, restore the fork's.githubover the result, commitsync/<tag>branch is built from upstream's release with the fork's.githubkeptSo
HRX_BUMP_TOKENneeds Contents, Pull requests and Actions read/write only — no Workflows permission, noworkflowscope, no token change required from the owner. The workflow header now says so.Verified
.githubis the fork's only, 0 upstream workflow files leaked, upstream's code still merged,onebitpreserved, and a real merge commit (2 parents) is produced.githubis the fork's only, 0 leaked, fork-only workflow keptyaml.safe_loadparses the workflow; all 4run:blocks passbash -n.selftestdispatch input proves the token's write access (branch push, PR open/close, workflow disable) and leaves the fork unchanged — that is the right way to confirm after this lands.Open question for the maintainer — RFC?
CONTRIBUTING.mdasks for an accepted RFC for "anything touching security: authentication, network exposure, secrets, workflows' permissions." This change touches a workflow's permission requirement, but it removes a privilege rather than grants one, and it is fixing a job that has failed daily for ten days. I read that as a bug fix, which the same section says a PR is enough for. Flagging it so you can decide — if you want an RFC, say so and I will open one.Notes
gh release viewresolvesv2026.40.0(29b21e7), which the fork already contains.