Skip to content

moca v0.10.0

Choose a tag to compare

@pdettori pdettori released this 05 Nov 16:19
0695305

moca v0.10.0

Removes the deprecated Knative/KEDA deployment path (#691, closes #490), as
ADR-0041
scheduled: the end-of-October-2026 floor passed, and every respondent on #490 had migrated to P6 or
never used the path. P6, the warm-worker-pool supervisor on deploy/k8s, deploy/vm and
deploy/compose, is now the only runtime.

What was removed (#691)

  • deploy/knative/ in full: manifests, setup, smoke and demo scripts, overlays, Shipwright builds,
    plus the moca-sandbox and moca-echo-target image builds and the Makefile demo targets.
  • Async fan-out and the cron on-ramp: the KEDA drainer (leaf-job.ts), the CronJob dispatcher
    (cron-dispatch.ts) and @moca/work-queue. POST /runs with async: true now answers
    400 async_removed, which names the removal, instead of being accepted and never drained.
  • The kubectl half of @moca/k8s-sandbox (KubectlTransport, pod listing, single-pod config).
    Sandbox selection is records-only and always uses the leased relay transport.
  • docs/migrating-from-knative.md and the three Knative-only demos. The promote preflight's sandbox
    inventory now ships from harness/sandbox-inventory/ and defaults to the remote-worker image.

Stale configuration fails loudly: SH_SANDBOX_DISCOVERY=pods|both, a pool selector without
SH_REMOTE_SANDBOX=1, KAGENTI_SANDBOX_POD and KAGENTI_SANDBOX_NAME each throw an error that names
the variable and ADR-0041. None of them silently changes behavior.

Known gap: archetypes A (async fan-out) and C (scheduled dispatch) have no P6 equivalent yet. The
replacement is tracked in #686 (async fan-out) and #536 (cron).

Fixes

  • IBM Bob's MCP config (#677, #684): both config filenames are written, and written only once when
    they are linked.
  • Turn counts (#672, #420): sessions count completed turns instead of reporting 0.
  • Login cache (#667, #529): a cached login is matched by control-plane endpoint, not by how the URL
    is spelled.
  • Fresh images: the VM paths pull the sandbox image on every run (#665, #414), and compose's
    install.sh pulls images so a cached :latest can't run (#664, #349).
  • Credential-store cleanup (#671, #418): the VM research smoke removes the minted subject's record.
  • Workloads (#674, #602): a repeated delete is told apart from a wrong id.
  • kind (#663, #429): kind no longer inherits the kind-ci placeholder client id.
  • Promote preflight (#685, #628): a missing_sibling reference says why it is absent.
  • SBX smoke step 7 confirms its cleanup instead of assuming it succeeded (#669, #653).
  • Dependency bumps: @grpc/grpc-js 1.14.7, redis 6.3.1, marked 18.1.2.

Also in this release

  • gh in the sandbox (#661): the GitHub CLI is vendored into the sandbox images.
  • mocactl workloads list (#675, #552) and mocactl bundles list (#678, #559) list your own
    workloads and config bundles.
  • --show-tools (#673, #419): a headless run shows a turn's tool calls.
  • Per-Exec timing (#666, #576): an opt-in timing line in both sandbox workers.
  • SBX docs (#662): the sandbox service is easier to find, with recipes for Codex and IBM Bob.
  • The README no longer carries a Knative/KEDA section (#693).

Installing

curl -fsSL https://raw.githubusercontent.com/rossoctl/moca/main/scripts/install-mocactl.sh | sh

This installs the latest release (this one). The mocactl-edge prerelease tracks every push to main.

Full Changelog: v0.9.0...v0.10.0

Assisted-By: Claude Code