Skip to content

Update compose to v5.8.1 and match short model names in -c status - #366

Merged
CLHatch merged 2 commits into
mainfrom
status-model-short-names
Nov 27, 2026
Merged

CLHatch merged 2 commits into
mainfrom
status-model-short-names

Conversation

@CLHatch

@CLHatch CLHatch commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Carries Renovate's compose SDK update (#364) with the change it needs.

compose v5.8.1 fixes a model written in short form (ai/smollm2) being pulled again on every up (docker/compose#14532, from docker/compose#14531): it now matches a model reference to the runner's list in normalized form (docker.io/ai/smollm2:latest).

-c status compared the reference as written with the runner's full tags, matching what compose did before. With v5.8.1 that made status call a short-named model Not Pulled while up treated it as existing. Status now normalizes both sides the same way compose does: normalizeModelReference is a copy of compose's, which isn't exported, Hugging Face references included.

go mod tidy also drops the modules v5.8.1 no longer uses (secrets-engine/x, connectrpc.com/connect, golang.org/x/mod) and the old versions' sums.

Confirmed live on a Linux test host with model: ai/smollm2: two -c up runs show the model Existing, with no pull, and -c status shows it Existing (Not Pulled before this change). Merging this marks #364 merged too.

renovate Bot and others added 2 commits November 27, 2026 13:30
compose v5.8.1 matches a model reference to the runner's list in its
normalized form, so a model written ai/smollm2 is no longer pulled again
on every up. Status compared the reference as written with the runner's
full tags, so it called that model Not Pulled. It now normalizes both
the way compose does.

go mod tidy drops the modules compose v5.8.1 no longer uses.
@sourcery-ai

sourcery-ai Bot commented Nov 27, 2026

Copy link
Copy Markdown

Sorry @CLHatch, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 2 days and 10 hours by commenting @sourcery-ai review. Upgrade to get a review now.

@CLHatch
CLHatch merged commit 34df527 into main Nov 27, 2026
6 checks passed
@CLHatch
CLHatch deleted the status-model-short-names branch November 27, 2026 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant