Skip to content

RunR 0.7.12

Choose a tag to compare

@brkfun brkfun released this 30 Nov 16:03
· 3 commits to main since this release
v0.7.12

RunR is an open-source, self-hosted serverless platform on Kubernetes and Knative: functions, containers, sandboxes, WebAssembly and durable workflows, with an API, a web console, the runr CLI, SDKs, a Terraform provider and a GitHub Action. You install it on infrastructure you operate, connected or air-gapped. It is developed by BRF Teknoloji and released under the MIT License.

0.7.12 is a security release. If you run RunR v0.6.0 to v0.7.11 and use gateway-only routes, upgrade.

A gateway route with gateway_only: true ("Only through the gateway", docs/api-product.md) makes the project's Knative Service cluster-local, so callers cannot get around the route's API keys, JWT check, plans and metering. Every deploy rendered it so, but on v0.6.0 to v0.7.11 a change of the project's network, applied to the running Service, took that label off again for an http project: a new access mode (PUT /api/projects/{project}/network, runr network set, runr.yaml network:, an organization import), a caller added to or removed from its allow list, a caller project of the organization renamed or deleted, or the retry of such a change. The project's own address then served everyone, without the route's authentication, until its next deploy. In access mode allowlist the allow-listed addresses kept the own address even after a deploy, through the allowlist route of its public host.

  • Fixed: every writer of the label decides by the deploy's one rule; the Service stays cluster-local while a gateway-only route leads to it, and in access mode allowlist its public host gets no route of its own (the gateway route keeps the address check). An environment's gateway-only route does the same to the environment's Service.
  • The upgrade closes what an earlier release opened: the region Job (php artisan region:reconcile, step gateway-routes) writes the network of every gateway-only workload whose Service is not cluster-local, or still has the allowlist route of its public host, and logs closed the own address of <workload> …; a warning: line names one it could not close.
  • A gateway-only change the region does not take is tried again (about twelve minutes), and POST / PATCH /api/gateways/{gateway}/routes… answer with a warning, which the console and the MCP tools show. Before, the failed write was dropped until the next deploy.
  • Until you can upgrade: deploy a gateway-only project again after every change of its network; the deploy closes its own address for everyone (in access mode allowlist, only the upgrade closes it for the allow-listed addresses). See Until you can upgrade.

Also in 0.7.12:

  • Turning gateway-only off opens the own address at once also for a project whose http trigger is not its first, and a Service that is cluster-local for another reason keeps its label.
  • Public URLs follow one rule: an environment reached only through its gateway has no default_url, an environment shows a URL only when its project has a public one, load tests need the project's own URL (422 internal_only, 422 gateway_only), and an MCP server is served from an enabled http trigger in any position of the trigger list.
  • The console shows the Load test tab for projects with a public URL, fits a phone on the platform settings and projects pages, and opens a demo screen for a link into a demo region. The demo data (runr:install --demo) is current on the day it is seeded.

Upgrading from 0.7.11 needs no migration and no new value; the images keep their names.

The documentation is at runr.sh/docs and in the documentation index here.

Install

  • Kubernetes (Helm): the chart comes from BRF's public Helm repository, without credentials:
    helm repo add brf-tech https://helm.brf.sh
    helm upgrade --install runr brf-tech/runr --namespace runr --create-namespace --set domain=runr.example.com
    See the README and docs/install.md; helm show values brf-tech/runr lists every value. A pinned install adds --version 0.7.12; the API and UI images, the region agent and the event gateway follow the chart version.
  • Single host (Docker Compose, also air-gapped): compose/README.md, from a checkout of the release tag (git clone -b v0.7.12 https://github.com/BRF-Tech/runr.git).
  • CLI: curl -fsSL https://runr.sh/install.sh | sh on Linux and macOS. The archives of every platform are at runr.sh/dl (https://runr.sh/dl/cli/v0.7.12/) and attached below; check them against checksums.txt (docs/cli.md#install).
  • Terraform / OpenTofu: source = "brf-tech/runr", version = "~> 0.6", from the Terraform Registry; terraform init checks the archive against SHA256SUMS, signed with the RunR release key (key ID 2588846B241BC095). runr.sh serves the same archives under runr.sh/brf-tech/runr, for OpenTofu and for configurations that use that address (docs/terraform.md#install).
  • GitHub Action: uses: brf-tech/runr/actions/deploy@v0.7.12; it downloads the CLI from runr.sh (docs/github-action.md).
  • Images: every image is published under ghcr.io/brf-tech/runr by release-images.yml, for linux/amd64 and linux/arm64, and pulls anonymously.

The documentation is at runr.sh/docs and in the documentation index here.

Upgrading from 0.7.11

Upgrade in place with helm upgrade of the running release; never uninstall and install again, and back up the database first (Procedure in docs/upgrade.md). The images keep their names and nothing has to be set (0.7.11 → 0.7.12).

helm repo update brf-tech
helm upgrade runr brf-tech/runr --version 0.7.12 -n runr --reuse-values
  • What moves. The API, Horizon, the scheduler and Reverb restart once on the new image tag, and after helm upgrade returned, the Job runr-region-reconcile-<revision> moves the regions' agents, queue consumers and topic publishers to ghcr.io/brf-tech/runr/agent:0.7.12 and queue-consumer:0.7.12; each rolls once. The chart's templates and values are 0.7.11's. A region that pulls through a mirror of its own needs these two images there before the upgrade (Order of operations).
  • After the upgrade, read the Job's log (kubectl -n runr logs job/runr-region-reconcile-<revision>): its gateway-routes lines name every own address it closed, a warning: line one it could not close, which a deploy of that project closes.
  • Back to 0.7.11: a helm rollback; nothing runs on the database, and the security fix goes with it (Back to 0.7.11).
  • CLI and Terraform provider 0.7.12: the code of 0.7.11's (the CLI is 0.7.5's code; the provider has 0.7.8's Go modules, and its resources and data sources are the ones of 0.6.10). curl -fsSL https://runr.sh/install.sh | sh installs the CLI 0.7.12; a configuration with version = "~> 0.6" takes the provider 0.7.12 on its next terraform init -upgrade.

From 0.7.10, upgrade straight to 0.7.12 and read 0.7.10 → 0.7.11 first: 0.7.11 moved RunR's helper images and Go functions to Alpine 3.24 (a region that pulls through a mirror of its own needs ghcr.io/brf-tech/runr/reqs/alpine:3.24 there) and deprecated PHP 8.2 in the bundled runtime catalog, its sunset 2026-12-31. From 0.7.9 or 0.7.8, upgrade straight to 0.7.12: 0.7.10, a dependency release of 0.7.9, built the region images on Alpine 3.24 and moved the Spin shim to v0.27.2-runr.3, so a region with WebAssembly support coming from 0.7.9 or earlier has its WebAssembly install run once by the region Job (the shim binaries are replaced in place, one node at a time), and the supply-chain image to 1.1.4 (0.7.9 → 0.7.10); 0.7.9 changed nothing an installation runs (0.7.8 → 0.7.9). From 0.7.7, upgrade straight to 0.7.12 and read 0.7.7 → 0.7.8 first: 0.7.8 is a security release; requests to URLs that users configure refuse private addresses, so an installation that reaches private targets on purpose sets the new values with the upgrade (Private targets before the upgrade), a multi-tenant installation looks at its organizations' own regions first (Kubeconfigs of organizations' own regions), and the region Job moves the region Traefik to chart 43.0.0 (Traefik v3.8.0). From 0.7.6, upgrade straight to 0.7.12 and read 0.7.6 → 0.7.7 first: 0.7.7 pinned the API image to PHP 8.3.37 on FrankenPHP 1.14.0 and gave Promtail new limits, which reach an installed region with php artisan cluster:patch-observability, the command that moves it to kube-prometheus-stack 94.1.0 as well. From 0.7.5, upgrade straight to 0.7.12: 0.7.6, a dependency release of 0.7.5, needs no step of its own (0.7.5 → 0.7.6); it moved the API's Composer packages (laravel/framework v12.74.0 among them), and the API moves from PHP 8.3.36 to 8.3.37. From 0.7.4, upgrade straight to 0.7.12 and read 0.7.4 → 0.7.5 first: 0.7.5 moved the region Traefik to v3.7.18 (0.7.8 moves it on to v3.8.0 by itself) and kube-prometheus-stack to 93.3.0 (php artisan cluster:patch-observability now takes an installed region straight to 94.1.0, with Promtail's 0.7.7 limits), and built the region images on alpine 3.22. From 0.7.3, upgrade straight to 0.7.12: 0.7.4, a dependency release of 0.7.3, needs no step of its own (0.7.3 → 0.7.4); it moved the API's Composer packages, gateway-auth and the supply-chain image to 1.1.1 and the Zot chart of new registries to 0.1.134 (an installed Zot keeps its chart until php artisan registry:upgrade-zot <region>, which now moves it to 0.1.135). From 0.7.1 or 0.7.2, upgrade straight to 0.7.12 as well: 0.7.3 changed nothing an installation runs and 0.7.2 only moved Go modules of the region agent (0.7.2 → 0.7.3, 0.7.1 → 0.7.2). From 0.7.0, upgrade straight to 0.7.12 and read 0.7.0 → 0.7.1 first: --reuse-values keeps the scheduler at the 64Mi / 256Mi of the old chart, so add --set scheduler.resources.requests.memory=160Mi --set scheduler.resources.limits.memory=512Mi to that upgrade (or upgrade with --reset-then-reuse-values); the same holds for every release before 0.7.1 below. From 0.6.13, upgrade straight to 0.7.12 and read 0.6.13 → 0.7.0 first: 0.7.0 adds two migrations (knative_regions.kubernetes_version, and the existing wasm-rust and wasm-js projects without a runtime version pinned to 4.1), runs Helm 4 for the region releases (Helm 4) and the kubectl of each region's Kubernetes minor (kubectl per region), and moves gateway-auth to 1.1.0 and the Spin shim to v0.27.2-runr.1; a rollback to 0.6.13 needs the projects moved to WebAssembly 4.2 set back to 4.1 first (Back to 0.6.13). From 0.6.10 to 0.6.12, upgrade straight to 0.7.12 and read 0.6.13 → 0.7.0 as well: 0.6.11 and 0.6.13 only moved Go modules of a region image (the queue consumer's and image-upload's, the security update of github.com/klauspost/compress, GO-2026-6865, among them) and 0.6.12 fixed RunR's release tooling; none of them needs a step (0.6.12 → 0.6.13, 0.6.11 → 0.6.12, 0.6.10 → 0.6.11). From 0.6.0 to 0.6.9, upgrade straight to 0.7.12 and read the security release 0.6.9 → 0.6.10 first: after the upgrade, check the routes of every project in access mode allowlist (After the upgrade). From 0.6.8, also read 0.6.8 → 0.6.9: 0.6.9 adds a column (projects.capacity_released_at, and in every tenant schema), a stopped project gives its capacity back in a pay-as-you-go region and is admitted again on resume, and a region with many stopped projects can raise the capacity alarm right after the upgrade. From 0.6.7, also read 0.6.7 → 0.6.8: 0.6.8 adds runtime sources and RunR's signed runtime catalog, which the API reads from ghcr.io (runtimeCatalog.offline: true keeps the bundled one), gives single-tenant Owners platform.manage, moves the region Traefik to chart 42.3.1, and a marketplace that merges the package's default values into an upgrade can bring ingress.tls.mode: letsencrypt to a release that never set it (The console certificate warning). From 0.6.6, also read 0.6.6 → 0.6.7: 0.6.7 changes how sandbox commands travel on Kata and gVisor (a command on gVisor takes about 100 ms more), input that arrives short fails, and a custom sandbox image needs cat and mkfifo. From 0.6.5, also read 0.6.5 → 0.6.6: 0.6.6 re-runs kata-deploy with Kata Containers 4.3.1, which stops the running Kata pods of every region with Kata, the region Traefik moves to chart 42.3.0 and deletes request headers with _ or . in their names, and Reverb refuses client events. From 0.6.4, also read 0.6.4 → 0.6.5: 0.6.5 adds the notification_user_states migration, the Helm value notifications.retentionDays, and its daily task deletes notifications older than 90 days. From 0.6.3, also read 0.6.3 → 0.6.4: 0.6.4 adds the captcha_settings migration and the Helm values captcha.*, and its first upgrade rolls the pods once. From 0.6.2, also read 0.6.2 → 0.6.3; from 0.6.1, also 0.6.1 → 0.6.2. From 0.6.0, also read 0.6.0 → 0.6.1 first: before a rollback to 0.6.0, let the running deploys finish (Rolling back to 0.6.0). From 0.5.10, read 0.5.10 → 0.6.0 in docs/upgrade.md first — in particular what to decide before the upgrade — and the notes of 0.6.0 to 0.6.9 in CHANGELOG.md; everything said there applies. From 0.5.9 or earlier, read the notes of the releases in between as well; from 0.5.8 or earlier, add --set api.image.tag= --set ui.image.tag= to that upgrade once (step 3 of the Procedure).

Changes in 0.7.12 (2026-11-30)

Upgrade notes

  • 0.7.12 is a security release: upgrade from 0.6.0 to 0.7.11 if a project is reached only
    through its gateway
    (a gateway route with gateway_only: true). Upgrading from 0.7.11 needs no
    migration and no new value. The API, Horizon, the scheduler and Reverb restart once on the new
    image tag, and the region Job moves the region agent and the event gateway (agent,
    queue-consumer) to 0.7.12 as in every release. A region that pulls through a mirror of its own
    needs agent:0.7.12 and queue-consumer:0.7.12 there first (0.7.11 → 0.7.12 in
    upgrade.md
    ).
  • The upgrade closes an own address an earlier release opened. The region Job's step
    gateway-routes writes the network of every gateway-only workload whose Knative Service is not
    cluster-local, or in access mode allowlist still has the allowlist route of its public host,
    and logs closed the own address of <workload> …. Read the Job's log after the upgrade
    (kubectl -n runr logs job/runr-region-reconcile-<revision>): a warning: line names a workload
    it could not close, which a deploy of the project closes.
  • Until you can upgrade, deploy a gateway-only project again after every change of its
    network
    : a new access mode, a caller added to or removed from its allow list, a caller project
    of the organization renamed or deleted. The deploy closes the own address for everyone; in access
    mode allowlist the allow-listed addresses keep reaching it until the upgrade
    (Until you can upgrade).
  • From 0.7.10 or earlier, upgrade straight to 0.7.12 and read 0.7.10 →
    0.7.11
    first: 0.7.11 moved RunR's helper images to Alpine 3.24 and
    deprecated PHP 8.2.
  • Back to 0.7.11 is a helm rollback; nothing runs on the database, and the security fix goes
    with it.

Fixed

  • A project whose http trigger is not its first can be served as an MCP server. PUT /api/projects/{project}/mcp-server (the console's MCP tab, mcp_server_configure) checked the
    config's single trigger_type, the first trigger only: a project with its http trigger behind
    a queue or schedule trigger was refused with "An MCP server needs the http trigger", and a
    project whose only http trigger was switched off was accepted, though nothing serves the
    function URL the gateway forwards to. It now asks for an enabled http trigger in any position
    of the trigger list.
  • Turning "only through the gateway" off opens the project's own address at once. With
    gateway_only: false on a route, or a gateway-only route removed, RunR takes the cluster-local
    label off the running Knative Service. It decided that from the config's single trigger_type:
    a project whose http trigger sits behind a queue trigger (the queue trigger first) kept its own
    address closed until its next deploy, and a Service that is cluster-local for another reason
    lost the label and was published until then (a schedule trigger first next to a queue trigger,
    or a project in access mode internal). The running Service now gets the visibility its deploy
    renders, from the project's enabled triggers and its access mode: public when a trigger serves
    HTTP (http, workflow) and the access mode is not internal, cluster-local otherwise. An
    environment's route does the same to the environment's Service.
  • An environment reached only through its gateway has no default_url; load tests need the
    project's own URL.
    With gateway_only on its gateway route an environment's own address (or
    production's) stops serving, yet GET /api/projects/{project}/environments still gave it as
    default_url. It is null now while the route is gateway-only; url stays the gateway URL.
    Load tests kept their own copy of the HTTP check, the config's single trigger_type: a project
    whose http trigger is not its first could not be tested, while a project in access mode
    internal or reachable only through its gateway was offered its function host, where the region's
    ingress answers 404. Load tests now follow the rule of endpoint_url and custom domains: the
    project's own URL must serve. POST …/load-tests refuses the two with 422 internal_only and
    gateway_only, meta.targets is empty for them, and the console shows the Load test tab for
    projects with a public URL (endpoint_url) instead of reading the trigger type itself. The API's
    response cache now watches gateway routes too: a change of a route (a new one, gateway_only on
    or off) refreshes the project's cached GET answers at once, where a change that touched no
    other watched row could leave them up to a minute old.
  • The platform settings page fits a phone. /settings was 494 px wide on a 390 px phone (466 px
    at 320 px): a region's row kept its name and badges (Demo, Operator, Serving, Redis) on one line
    past the screen's edge, the configuration and the regions stayed side by side at two and three
    fifths of the screen (labels cut, the switches' text outside their cards), and the three stats
    cards cut their labels. Below the md width the configuration and the regions now stack in one
    column (the configuration first, the order of the tour), below sm the stats cards too, and a
    region's badges wrap. Nothing is hidden; wider screens are unchanged; the tour's targets are the
    same.
  • An environment shows a URL only when its project has a public one. GET /api/projects/{project}/environments
    gave every environment url and default_url https://<workload>.<function domain>, also the
    environments of a schedule project (a CronJob), a queue project (a cluster-local service) and a
    project in access mode internal, which have no public URL: the project's own endpoint_url and
    its custom domains already said so, but the console's Environments tab and environment switcher
    linked to a host nothing serves. One rule now decides it for the project's endpoint_url, its
    environments and custom domains: a CaaS, XaaS or FaaS project with an enabled http trigger,
    access mode not internal. Without it url and default_url are null and the console shows no
    link. Two more cases follow from the one rule: a project whose http trigger is not its first
    (primary) trigger shows its endpoint_url again, as its public service and its custom domains
    already did, and a row of a former AI type (never deployed since they were retired) shows none.
  • The projects page fits a phone. Its toolbar (search, the type tabs, the Runtime, Scaling and
    Region filters) stayed in one row 635 px wide: on a 390 px phone the whole page became 659 px
    wide, scrolled sideways, and a dialog centred on it (such as the demo screen below) opened half
    off the screen. The toolbar wraps now, and below the sm width the filter dropdowns open across
    the screen (1 rem from each side) instead of from their button's right edge, which put them off
    the screen's left side once wrapped. Wider screens are unchanged; the tour's targets are the same.
  • A link into a demo region shows a demo screen, not a certificate error. A demo region has no
    cluster, so nothing serves its projects' URLs (https://<slug>.<region domain>), its
    environments' or its rollouts' hosts: on the public demo every such link ended on a browser TLS
    error, the name resolving through the zone's wildcard to a web server without a certificate for
    it. The console now checks every link it renders, whichever page or component, against the demo
    regions' function domains and opens a Demo address screen instead (the address, the demo
    region it belongs to, that nothing answers there; English and Turkish). A click, a middle click,
    Ctrl/Cmd-click and Enter all stop there; every other link opens as before. The regions of
    GET /api/settings carry the domain as demo_domain (null for any other region); the console
    loads them once signed in, so the first click knows it. The tours are unchanged: no control was
    added, moved or removed.
  • The demo data is current on the day it is seeded. The public demo is seeded again every night
    (runr:install --demo), but parts of what it showed were fixed in the seeder and had aged: a
    Node.js 18 card "8 weeks to its end of life" (an end of life the seeder made up, eight weeks after
    every seeding; Node.js 18 ended in April 2025), Node.js 20 and 22 and Python 3.12 where the
    catalog offers Python 3.15 and Node.js 26, a history whose newest deployment was four days old,
    and no metrics at all. Now:
    • the samples run the catalog's versions (executor:sync runs before the demo data): the
      runtime's default, and the Node.js queue consumer the version before it; an installation that
      has not synced runs the release's defaults;
    • the red card is Python 3.9 with its real end of life (31 October 2025), the yellow card the
      catalog's version whose end of life comes first (PHP 8.2, 31 December 2026, today), its
      description saying when; without one in the catalog, Node.js 22 (30 April 2027). The demo writes
      no other end of life and ignores the one an earlier release wrote;
    • every history spans the twelve days before the seeding and ends in the hours before it (the
      newest version six hours before, the rollback half an hour before);
    • every project has a metrics history for each range of the Metrics History tab (1 hour to 90
      days), from its first deployment to a day past the seeding: the later samples come into view as
      the day goes on, so the charts stay current until the next nightly seeding. HTTP traffic follows
      a daily curve, a queue consumer a little behind it, a schedule its runs, each with a cold start;
    • the demo region shows the Knative Serving and Kubernetes versions the release installs.

Security

  • A change of a project's network no longer opens the own address of a project reached only
    through its gateway
    (0.6.0 to 0.7.11). A gateway route with gateway_only: true makes the
    project's Knative Service cluster-local, so callers cannot get around the route's API keys, JWT
    check, plans and metering. Every deploy renders it so, but a change of the project's network,
    applied to the running Service, took the label off again for an http project: a new access
    mode (PUT /api/projects/{project}/network, runr network set, runr.yaml network:, an
    organization import), a caller added to or removed from its allow list, a caller project of the
    organization renamed or deleted, or the retry of such a change. The own address then served
    everyone, without the route's authentication, until the project's next deploy. In access mode
    allowlist the allow-listed addresses kept the own address even after a deploy, through its
    allowlist route, which goes to the Service past its label. Every writer of the label now decides
    by the deploy's one rule (InternalNetworkService::clusterLocal()): the Service stays
    cluster-local while a gateway-only route leads to it, and in access mode allowlist its public
    host gets no route (the gateway route keeps the address check). Turning gateway-only on or off
    moves the allowlist route at once. Every writer puts the allowlist route of the public host on
    the region before the label gives Knative's public route back, and takes the label first when
    the Service closes, so the host never answers everyone in between (a change from access mode
    internal to allowlist did it the other way round). An environment's gateway-only route does
    the same to the environment's Service.
    On an earlier release, a redeploy closes an address opened this way for everyone; in access mode
    allowlist only this release closes it for the allow-listed addresses. The upgrade to this
    release closes what an earlier one opened: the region Job (php artisan region:reconcile, step
    gateway-routes) writes the network of every gateway-only workload whose Knative Service is not
    cluster-local, or in access mode allowlist still has the allowlist route of its public host,
    and logs closed the own address of <workload> (route <path> of gateway <name> …); a workload
    it cannot read or write is a warning: line, tried again by the next run.
  • A gateway-only change the region does not take is tried again, and the answer says so.
    Turning gateway_only on or off, a new gateway-only route (also from an organization import)
    and removing a gateway-only route write the Service's visibility at once. When that write did
    not reach the region (its API server unreachable, the write refused, the read of the Service
    failed) RunR dropped the failure: a route set gateway-only kept serving the own address, the
    route's keys and JWT check bypassable, until the project's next deploy, and a failed read even
    counted as "not deployed". Now the change is tried again from what RunR stores (the visibility
    label and the allowlist routes of the public host, eight tries over about twelve minutes, the
    retry of a network change), and POST / PATCH /api/gateways/{gateway}/routes… answer with a
    warning; the console shows it instead of the success message, the MCP tools
    gateway_route_add and gateway_route_update pass it on, an import notes it on the route.