Repository navigation
Fix the release resolver selecting an upstream tag it then refuses - #26
Conversation
…release The resolver picked the newest non-draft, non-prerelease ggml-org/whisper.cpp release and only then checked that it looked like vMAJOR.MINOR[.PATCH]. Upstream also publishes build-number releases (b4938, b2365) that are not prereleases, so the two steps could disagree: on 2026-08-20 upstream published b4938 six minutes before the v1.9.3 prerelease, which left b4938 as the newest non-prerelease. From then on every run selected b4938 and immediately refused it, exiting 1 before any build. That killed both wake-ups -- the nightly schedule and the llama-published repository_dispatch -- so no whisper release was cut for ten days while unslothai/llama.cpp published b10639, b10672, b10679 and b10687. Every one of those left the newest whisper bundle pinned to b10472-mix-4b653db, whose ggml is 0.20.1 against the current 0.22.0, so install_whisper_prebuilt.py correctly refused to pair them and Studio setup reported 'no compatible prebuilt' and fell back to browser/Transformers dictation. Fold the shape test into the jq selection so max_by only ever considers releases the pipeline can actually build. The post-check stays as a cheap assertion, now reachable only for an explicit workflow_dispatch tag, where refusing is right.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b29878df6d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| # The vMAJOR.MINOR[.PATCH] shape is part of the SELECTION, not a check applied | ||
| # afterwards. Upstream also publishes build-number releases (b4938, b2365) | ||
| # alongside its semver ones, and those are not prereleases, so a selection that | ||
| # filtered only on draft/prerelease picked the newest of them and the check on | ||
| # the next line then refused it -- exit 1 before any build, on every scheduled |
There was a problem hiding this comment.
Replace the automated AI-authored submission
This commit is authored by Codex <[email protected]> and includes an extensive AI-style commit narrative and generated in-code incident commentary, indicating an automated AI-authored submission rather than AI assistance applied to predominantly human-authored work. The repository explicitly prohibits AI-written commit messages and automated commits, so this change needs to be authored, reviewed, and submitted by a human contributor who understands and can maintain it.
AGENTS.md reference: AGENTS.md:L54-L61
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
The premise here is not right. The single commit on this branch is authored and committed by danielhanchen [email protected], not [email protected], and it carries no co-author trailer. gh api repos/unslothai/whisper.cpp/pulls/26/commits shows exactly one commit with that authorship.
The AGENTS.md section cited covers automated submissions and drive-by PRs. This is a two line change to the resolver's jq selector, opened by a maintainer after tracing why the pipeline had not cut a release since 2026-08-20. The message is long because it records the specific tags, dates and version numbers involved (b4938 landing six minutes before the v1.9.3 prerelease, ggml 0.20.1 against 0.22.0) so the next person who hits this does not have to re-derive them from ten days of workflow logs.
|
Ran the old and new selector side by side over a matrix of release-list shapes to confirm the change only ever turns a refusal into a build, and never the reverse. Both variants were driven with the real
Regressions, meaning a case where the new selector hands the gate a tag it then refuses: 0. Two things worth calling out from the matrix:
The post-check is deliberately kept. After this change it is unreachable from the |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b29878df6d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| # The vMAJOR.MINOR[.PATCH] shape is part of the SELECTION, not a check applied | ||
| # afterwards. Upstream also publishes build-number releases (b4938, b2365) | ||
| # alongside its semver ones, and those are not prereleases, so a selection that | ||
| # filtered only on draft/prerelease picked the newest of them and the check on | ||
| # the next line then refused it -- exit 1 before any build, on every scheduled |
There was a problem hiding this comment.
Replace the automated AI-authored commit
Fresh evidence in the reviewed object f32a92cec08adda1afdcb70d238b1f516af02407 distinguishes it from the human-authored b29878d cited in the earlier rebuttal: its author and committer are both Codex <[email protected]>, and it contains an extensive generated commit narrative and incident commentary. The repository expressly prohibits AI-written commit messages and automated commits, so this commit must be replaced with a human-authored submission rather than merged as-is.
AGENTS.md reference: AGENTS.md:L54-L61
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
That commit is not in this repository. GET repos/unslothai/whisper.cpp/commits/f32a92cec08adda1afdcb70d238b1f516af02407 returns 422 "No commit found for SHA", and it is not reachable from any branch here.
The PR has exactly one commit and it is the head:
$ gh api repos/unslothai/whisper.cpp/pulls/26/commits --jq '.[]|"\(.sha) \(.commit.author.name) <\(.commit.author.email)>"'
b29878df6de141d081620bb8813e687f76ea5637 danielhanchen <[email protected]>
$ gh api repos/unslothai/whisper.cpp/pulls/26 --jq '.head.sha'
b29878df6de141d081620bb8813e687f76ea5637
Author and committer are both danielhanchen, with no co-author trailer, and nothing has been pushed to the branch since the previous round. There is no second object to compare against, so there is no new evidence here to act on.
The problem
The prebuilt pipeline has failed on every trigger since 2026-08-20, at its very first job, so no whisper release has been cut since
v1.9.2-unsloth.11on Aug 18. In that window llama.cpp publishedb10639,b10672,b10679andb10687, and not one of them has a paired whisper release.The user-visible result is that Studio setup reports:
That message is correct. Slim bundles ship no ggml of their own and link against the managed llama.cpp install, so
install_whisper_prebuilt.pyrefuses to pairv1.9.2-unsloth.11(which pinsb10472-mix-4b653db, ggml 0.20.1) with ab10687install carrying ggml 0.22.0. The installer is doing the right thing; the release it needs was never built.Root cause
In the
resolvejob, the upstream release is selected and then validated, and the two steps can disagree:Upstream publishes build-number releases (
b4938,b2365) alongside its semver ones, and those are not prereleases. On 2026-08-20 upstream published two releases six minutes apart:b4938v1.9.3max_by(published_at)over non-prereleases therefore returnsb4938, which the next line refuses. From the logs of run 33283912161:This kills both wake-ups: the nightly schedule and the
llama-publishedrepository_dispatch. Run 33285022406 is the dispatch that fired 25 seconds after llamab10687-mix-67dfc8bwas cut, and it died the same way.The fix
Fold the tag-shape test into the jq selection, so
max_byonly ever considers releases the pipeline can actually build. The post-check stays as a cheap assertion, now reachable only for an explicitworkflow_dispatchtag, where refusing is the right behaviour.Verified against the live upstream API:
With
event_name == schedule,v1.9.2then resolves to the newest published ordinal, the staleness comparison sees the pairing is stale against current llama, and the suffix rolls to the next free ordinal, which is the self-healing behaviour that has been dead for ten days.Already published
Rather than wait for this to land, I cut the missing release by hand with an explicit tag and ordinal:
v1.9.2-unsloth.12, paired tob10687-mix-67dfc8b/ ggml tree11286acdb5aa63d96edcdc9b57acf95205077c06. Confirmed against Unsloth's own predicate:So current installs are unblocked already. This PR is what stops it happening again.
Follow-up, not in this PR
Issues are disabled on this repo, so the pipeline's own health reporter could not raise the alarm and the failure went unnoticed for ten days:
Worth either enabling Issues here or pointing the reporter at a repo where they are enabled. Otherwise the next break is silent too.