Skip to content

v0.12.0

Latest

Choose a tag to compare

@github-actions github-actions released this 28 Nov 05:47
· 4 commits to main since this release
83d83e9

Changed

  • A pushed vX.Y.Z tag publishes the image ghcr.io/tenishai/liminal (linux/amd64 and
    linux/arm64), after the whole CI, a native arm64 run and a vulnerability scan, and creates
    the GitHub release with an SBOM. release.yml is ported from cabal's; test.yml now accepts
    workflow_call so the release runs it on the tagged commit. Before this nothing published
    an image, so an install from released images had no liminal to pull.
  • CI: the integration job runs on every push and pull request, and ci requires it
    (issue 115). It clones techne without a token, so it was dispatch-only while techne
    was private. It was never dispatched, so the techne-backed memory handler's tests had
    never run in CI. The test that pins ci now checks it fails when either job does not
    succeed.
  • techne pin moves from 0.18.2 to 0.20.0 (#259). requirements-sources.txt pins the
    v0.20.0 tag, the memory extra needs tenish-techne>=0.20.0, and the Dockerfile's
    TECHNE_VERSION/TECHNE_WHEEL_SHA256 name the v0.20.0 release wheel
    (1e9371c5...). A sibling-checkout build needs ../techne at v0.20.0.

Fixed

  • /healthz reports notify as unconfigured without a webhook URL (issue 254). It
    said ready, but with no LIMINAL_NOTIFY_WEBHOOK_URL every notify.send that names no
    URL in its credentials or tool extras is refused. It now reads unconfigured: LIMINAL_NOTIFY_WEBHOOK_URL is unset ..., which, as for files and memory, does not
    make the gateway degraded, and startup logs liminal.handler_unconfigured for it.
  • Security: files.write refuses config that developer tools run with no command
    (part of issue 155). Without the files:protected_writes grant it now refuses .envrc
    (direnv loads it on cd), .vscode/tasks.json (a folderOpen task runs when the
    folder opens), .pre-commit-config.yaml, every lefthook config name (lefthook.yml,
    .lefthook.yaml, lefthook-local.json, ... in any directory) and anything under
    .husky/. These are code-execution paths, like .git/hooks. Files that run on a common
    command (conftest.py, Makefile) stay writable; LIMINAL_FILES_PROTECTED_PATTERNS
    can add them.
  • web and notify no longer read proxy settings from the environment (issue 204).
    With HTTPS_PROXY set, httpx sent pinned https requests through httpcore's proxy
    tunnel, which uses the pinned IP as the TLS server name, so certificate verification
    failed. Their clients now set trust_env=False: no env proxy, and no SSL_CERT_FILE
    or SSL_CERT_DIR either (the bundled certifi roots are used).

Docs

  • RELEASING.md names the index in the resolve command (#260).

Upgrading

  • The image is now published: ghcr.io/tenishai/liminal:v0.12.0, for linux/amd64 and linux/arm64. Installs that built their own image can pull it instead.
  • techne 0.20.0. The memory extra needs tenish-techne>=0.20.0, and an image built from a sibling checkout needs ../techne at v0.20.0. This is the techne cabal 0.5.1 pins, so the two now build together; liminal 0.11.0 pinned 0.18.2.
  • web and notify ignore HTTPS_PROXY, HTTP_PROXY, SSL_CERT_FILE and SSL_CERT_DIR. A deployment that reached the internet only through an environment proxy, or trusted a private CA through SSL_CERT_FILE, now fails those calls. Give the gateway direct egress, or use a webhook and fetch targets the public roots verify.
  • files.write refuses more paths without the files:protected_writes grant: .envrc, .vscode/tasks.json, .pre-commit-config.yaml, every lefthook config and anything under .husky/. An agent that wrote those needs the grant.
  • /healthz reports notify as unconfigured when LIMINAL_NOTIFY_WEBHOOK_URL is unset. The gateway is not marked degraded by it, but a monitor that matched notify: ready will see the change.

Image: ghcr.io/tenishai/liminal@sha256:0ddd7a925e66522ad2837e030e5e3aa61f7f300830c0decbc1985ea906c8b917 (tags v0.12.0, 83d83e9; linux/amd64, linux/arm64)