Repository navigation
v2.1.3
Patch release: model services register again when published on another port, and console sample data carries the config's covariates.
Fixed
- Services register with the orchestrator when the advertised port differs from the port they bind (CLIM-1248). Chapkit now requires servicekit 2.0.3, whose readiness probe targets the local bind port instead of
SERVICEKIT_PORT. A model image started withuvicorn main:app --port 8000(as generated bychapkit init) and run with-p 18701:8000andSERVICEKIT_PORT=18701, needed when the orchestrator runs on the Docker host, previously timed out withregistration.readiness_timeoutand skipped registration; it now registers as<SERVICEKIT_HOST>:18701. (#125) GET /api/v1/ml/$generate-sample-datanow loads the config named byconfig_idand includes itsadditional_continuous_covariatesin the generated train and predict frames (historic and future), typed asnumberin the schema. Previously the id was only echoed back, so training or predicting from the console on sample data failed inside the model on the missing columns. The console Predict page passes the selected training artifact'sconfig_id, so predict samples carry the trained model's covariates. (#121, CLIM-1214)
Changed
$generate-sample-datareturns 404 for an unknownconfig_idand 400 for a malformed one, instead of silently echoing it. (#121)- Dependency updates: servicekit 2.0.3, geojson-pydantic 2.2.0, and frontend and GitHub Actions dependency groups. (#122, #123, #124, #125)
Upgrading
No code changes required. Model images need to be rebuilt on chapkit 2.1.3 to pick up the registration fix; for an orchestrator on the Docker host, set SERVICEKIT_HOST=host.docker.internal and SERVICEKIT_PORT to the published host port. Callers of $generate-sample-data that passed a config_id which does not exist now get a 404.
What's Changed
- chore: bump version to 2.2.0.dev0 by @mortenoh in #120
- fix: include the config's covariates in $generate-sample-data payloads (CLIM-1214) by @mortenoh in #121
- chore: require servicekit 2.0.3 by @mortenoh in #125
- chore(deps): bump astral-sh/setup-uv from 10.1.0 to 10.2.0 in the github-actions group by @dependabot[bot] in #122
- chore(deps): bump the python-dependencies group across 1 directory with 3 updates by @dependabot[bot] in #123
- chore(deps): bump the frontend-dependencies group in /frontend with 10 updates by @dependabot[bot] in #124
- chore: release 2.1.3 by @mortenoh in #126
Full Changelog: v2.1.2...v2.1.3