Skip to content

v0.2.0-alpha.16

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 02 Dec 19:25
· 78 commits to main since this release

Cloud mode always keeps integrations in the main API, integration statuses take the main API's vocabulary, and grad <resource> view opens a resource's page (the Gradiated console on Cloud, grad's web UI elsewhere). One additive migration (0027) renames the stored statuses. On Gradiated Cloud, deploy the main API's integration routes (with their KMS key) before this release: Cloud grad calls them for every integration.

  • Integration status is pending, active or failing (breaking). untested becomes pending, and ok becomes active. This covers the API, all four SDKs, the CLI and the web UI. Migration 0027 rewrites grad's stored values and keeps the old ones valid while the previous release still runs.

  • Cloud mode (AUTH_MODE=cloud) always uses the main API's integrations. GRAD_CLOUD_INTEGRATIONS and the boot-time move of grad's own integrations are gone. On Cloud, grad ignores rows in its grad_integrations table and logs N local integrations are ignored in Cloud mode once at boot. Without CLOUD_INTERNAL_API_URL and CLOUD_SERVICE_TOKEN, integrations answer 503 integrations_unavailable.

  • allowed_hosts is gone from the Cloud contract, in records, creates and patches. A credential only ever goes to its integration's host. Integration ids are opaque: int_… self-hosted, UUIDs on Cloud.

  • grad <resource> view (CLI, GET /v1/whoami, Helm):

    • Added grad runs view RUN (runs and interactive trainers), grad datasets view NAME, grad evals view EVAL, grad artifacts view REF (NAME@latest too) and grad checkpoints view CKPT. Each resolves its reference like the group's get and opens the resource's page.
    • On Gradiated Cloud these open exactly the resource's console_url from the server (the CLI builds no console path), signed in by the browser's console session, with no key in the URL. On a local or self-hosted server they open grad's own web UI and hand over the profile's key once in the #key= fragment, as before. --no-open prints the URL; --json returns {url, mode, opened}.
    • Breaking (CLI): grad ui takes no run or trainer id any more. It opens the runs page (/runs, on the console on Cloud); grad ui RUN exits 2 and names the view command to use.
    • Resource groups answer to their singular: grad run, dataset, artifact, checkpoint, model, env, key, integration and source (grad eval view works too).
    • Dataset and Artifact (get and list) gain console_url, and GET /v1/whoami returns console_url (the console's runs page), when GRAD_CONSOLE_URL is set. Every console path now comes from one server helper (consolePath in server/api/src/deps.ts). Helm sets GRAD_CONSOLE_URL from cloud.consoleUrl.