Skip to content

chore(model-catalog-api): pin image to the CKAN autocomplete fix - #106

Merged
mosoriob merged 2 commits into
mainfrom
chore/model-catalog-api-ckan-autocomplete
Aug 28, 2026
Merged

chore(model-catalog-api): pin image to the CKAN autocomplete fix#106
mosoriob merged 2 commits into
mainfrom
chore/model-catalog-api-ckan-autocomplete

Conversation

@mosoriob

Copy link
Copy Markdown
Contributor

Deploys mintproject/model-catalog-api#9.

Why

The standard-variable autocomplete on the CKAN dataset form returns no suggestions. It has been broken since the model catalog moved off the v1.8.0 FastAPI service to the current Hasura-backed one. Two behaviours the widget relies on were never ported:

  • label filters with _eq, so a partial term matches nothing.
  • enable_ckan does not exist, so the response is a JSON-LD array that CKAN's parseCompletions cannot read.

model-catalog-api#9 adds label_contains and enable_ckan. CI on that PR is green and the image is published.

Change

before after
components.model_catalog_api.image.tag latest f711a6b49d4ed523f6fd365d1da488669b127735
charts/mint/Chart.yaml version 9.0.0-beta.3 9.0.0-beta.4

Pinning the SHA rather than staying on latest follows what most images in values.yaml already do (cromo, mic-web, mic-api, data-catalog, model-catalog-endpoint, model-catalog-explorer, mint-ui-react). It also makes the rollout explicit: with latest and pullPolicy: Always the new image lands whenever a pod next restarts, which is not a deploy anyone chose.

The chart version bump is required for ct lint --check-version-increment.

charts/mint/README.md is updated to match; the helm-docs action will confirm it.

Verified

  • helm lint charts/mint — 0 charts failed.
  • Image exists in GHCR: ghcr.io/mintproject/model-catalog-api:f711a6b4… returns 200 from the registry manifest API.

Two things to check before merging

  1. This SHA is the head of the model-catalog-api#9 branch, not a merge commit. If APIs are working fine but there is no data. #9 picks up review commits or is squash-merged, re-point this tag at the resulting SHA. Merging this before APIs are working fine but there is no data. #9 pins a commit that is not yet on their main.
  2. Chart version collision. I claimed 9.0.0-beta.4. There is an unpushed local branch (fix/config-checksum-annotations) that also bumps to 9.0.0-beta.4. Whichever merges second needs beta.5.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Vh9z6U8JosPJnGqPNQf3fk

mosoriob and others added 2 commits August 27, 2026 21:18
Deploys mintproject/model-catalog-api#9, which restores the standard
variable autocomplete on the CKAN dataset form. That widget has been
returning no suggestions since the catalog moved off the v1.8.0 FastAPI
service: `label` filtered with `_eq` so partial terms matched nothing, and
`enable_ckan` did not exist so CKAN could not read the response shape.

Pin the tag to the commit SHA rather than leaving it on `latest`. This is
what most images in values.yaml already do, and it makes the rollout
explicit instead of depending on when a pod happens to restart.

Chart version bumped so `ct lint` accepts the change.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Vh9z6U8JosPJnGqPNQf3fk
@mosoriob
mosoriob merged commit b64ef1c into main Aug 28, 2026
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