Skip to content

Publish models-router - #112

Merged
bsbodden merged 1 commit into
mainfrom
feat/publish-models-router
Aug 8, 2026
Merged

Publish models-router#112
bsbodden merged 1 commit into
mainfrom
feat/publish-models-router

Conversation

@bsbodden

@bsbodden bsbodden commented Aug 8, 2026

Copy link
Copy Markdown
Member

models-router was missing from the release allowlist in build.gradle.kts, so every version
until now built it and shipped it nowhere. Maven Central has no models-router artifact at any
version.

That means the pretrained task classifier, its packaged 0.65 MB index, ModelRouter.discoverLocal()
and the catalog discovery added in 0.3.1 are all unreachable from a dependency.

Found by resolving the 0.3.1 artifacts after publishing rather than assuming the release covered
everything it built:

models         200
models-api     200
models-router  404
backend-java   200
backend-apple  200

The catalog SPI itself was never affected — it lives in models-api, which is published, and its
classes are verifiably in the 0.3.1 jar. The ModelJars provider work is unblocked regardless.

Adding a module to the allowlist pulls in two inventories that assert against it, RELEASING.md
and the documentation module table. Both updated.

Version moves to 0.3.2; 0.3.1 is immutable.

The module was missing from the release allowlist, so every version until now
built it and shipped it nowhere. The pretrained task classifier, its packaged
index, ModelRouter.discoverLocal() and the catalog discovery added in 0.3.1
were all unreachable from a dependency — Maven Central has no models-router
artifact at any version.

Found by resolving the 0.3.1 artifacts after publishing rather than trusting
the release to have covered everything it built.

The catalog SPI was never affected: it lives in models-api, which is published,
and its classes are present in the 0.3.1 jar. So the ModelJars provider work is
unblocked either way.

Adding a module to the allowlist pulls in two inventories that assert against
it — RELEASING.md and the documentation module table — both of which are
checked, and both updated here.
@bsbodden
bsbodden merged commit 1c989b0 into main Aug 8, 2026
31 checks passed
@bsbodden
bsbodden deleted the feat/publish-models-router branch August 8, 2026 21:35
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