Skip to content

fix: give the React UI a reachable model catalog API URL - #118

Merged
mosoriob merged 1 commit into
mainfrom
fix/ui-react-model-catalog-api
Sep 12, 2026
Merged

mosoriob merged 1 commit into
mainfrom
fix/ui-react-model-catalog-api

Conversation

@mosoriob

Copy link
Copy Markdown
Contributor

The ui-react ConfigMap never emitted MODEL_CATALOG_API. Every deployment therefore fell back to the image default, http://api.models.mint.local/v2.0.0. Only a local deployment can reach that host.

Effect

src/lib/tapis-apps.ts sends every Tapis request to that base, and nothing else uses it. So the component location picker from monorepo#255 fails for every user of every non-local deployment.

On mint.tacc.utexas.edu the picker looked healthy. That result was false: the workstation that tested it resolves mint.local to a development cluster. A user without that name would see the picker fail.

Change

Derive the key from the model_catalog_api component ingress, the same way the template already derives HASURA_ENDPOINT, DATA_CATALOG_API and ENSEMBLE_MANAGER_API. Add the matching components.ui_react.config.model_catalog_api override.

Verification

Rendered with the chart defaults, the value does not change:

MODEL_CATALOG_API: "http://api.models.mint.local/v2.0.0"

Rendered with the mint.tacc.utexas.edu values:

MODEL_CATALOG_API: "https://api.models.mint.tacc.utexas.edu/v2.0.0"

That host answers 200 for /v2.0.0/tapis/portals/apps and returns the same application list.

🤖 Generated with Claude Code

https://claude.ai/code/session_01M6tnQ7Rs76qJnXJD7jSbtK

The ui-react ConfigMap never emitted MODEL_CATALOG_API, so every deployment
fell back to the image default, http://api.models.mint.local/v2.0.0. Only a
local deployment can reach that host.

src/lib/tapis-apps.ts sends every Tapis request to that base, and nothing
else uses it. So the component location picker added by mintproject/monorepo#255
fails for every user of every non-local deployment. On mint.tacc.utexas.edu the
picker appeared to work only from a workstation that resolves mint.local to a
development cluster.

Derive the key from the model_catalog_api component's own ingress, the same
way HASURA_ENDPOINT, DATA_CATALOG_API and ENSEMBLE_MANAGER_API are derived,
and add the matching config.model_catalog_api override.

Rendered against the mint.tacc.utexas.edu values, the template now emits
https://api.models.mint.tacc.utexas.edu/v2.0.0, which answers 200. The chart
default is unchanged.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M6tnQ7Rs76qJnXJD7jSbtK
@mosoriob
mosoriob merged commit 5f54144 into main Sep 12, 2026
5 of 6 checks passed
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