Skip to content

clink v0.14.0

Choose a tag to compare

@orhaugh orhaugh released this 02 Nov 05:59
· 279 commits to main since this release

clink v0.14.0 ships the ops console with clink: the SDK tarball and the
runtime image carry it, and a Coordinator serves it. Job modules need
rebuilding against this release; see Compatibility.

The SDK tarball in this release lacks the console; v0.14.1 carries it. The
runtime image is unaffected.

pip install pyclink==0.14.0

The ops console comes with clink. The console reached users only through
a separate image, which paired it with clink 0.4.0. The SDK tarball and the
runtime image now carry clink-fe v0.2.0 at share/clink/console, and a
Coordinator with an HTTP port serves it at /. --http-static-dir=<dir>
serves another bundle and --no-console serves none; the Helm chart's
coordinator.console maps to it. /api/v1/cluster reports the engine's
version, which the console shows beside its own.

A console behind a token loads. With CLINK_AUTH_TOKEN set, a browser
could not load the console, because its page and scripts needed the token
too. A Coordinator now serves the console's own files without it; they hold
no cluster data. The console asks for the token and sends it on every API call
and on the live event stream, which still require it.

A quickstart. examples/quickstart/compose.yml starts a Coordinator, two
Workers, a streaming job and a bounded SQL job from the published image, with
the console on http://localhost:8081.

Job names. GET /api/v1/jobs and GET /api/v1/jobs/:id carry the name
each job was submitted with, and the console shows it beside the number.

The CHANGELOG lists every change.

Compatibility.

  • snapshots.hpp, a header on the plugin ABI surface, changed, so the plugin
    ABI fingerprint rotates. Rebuild job modules against this release; a
    cluster refuses an older module at submission and names the headers that
    differ. The cluster wire protocol is unchanged.
  • Checkpoints and savepoints from v0.13.1 restore.
  • A Coordinator with an HTTP port serves the console at / in place of the
    JSON signpost it returned before. Pass --no-console, or set
    coordinator.console: false in the Helm chart, to keep the signpost.
  • With CLINK_AUTH_TOKEN set, a Coordinator that serves a console answers a
    GET or HEAD outside /api/ and /metrics without the token, with the
    console's files only.
  • The clink-console image is no longer built. Its last tag pairs the
    console with clink 0.4.0.