2026-10-21 11:34:34 -06:00
|
|
|
# Known limitations — the state of the code now
|
|
|
|
|
|
|
|
|
|
> **What this is:** an honest, current list of what Runway does **not** do, or does only partially, in the
|
|
|
|
|
> code as it stands (release `1.0.0`; the exact version is in the [CHANGELOG](../CHANGELOG.md)). The plugin
|
2026-10-29 09:22:38 -06:00
|
|
|
> contract was frozen at SPI `1.0.0`, changes only additively within `1.x`, and is enforced at load time ([SPI-STABILITY.md](SPI-STABILITY.md));
|
2026-10-21 11:34:34 -06:00
|
|
|
> configuration, the data folder and backups are governed by
|
|
|
|
|
> [CONFIGURATION-AND-DATA-STABILITY.md](CONFIGURATION-AND-DATA-STABILITY.md), which binds from `1.0.0`. The data
|
|
|
|
|
> folder and backup archives carry the version markers that promise is built on (`external/layout.yml`, a
|
|
|
|
|
> backup's `formatVersion`). Read the CHANGELOG's upgrade notes and take a backup before upgrading.
|
|
|
|
|
|
|
|
|
|
This file is part of the release and is kept truthful: an item leaves the list in the same change that
|
|
|
|
|
closes it. Items marked **after 1.0** are decided: they are not part of the `1.0.0` scope.
|
|
|
|
|
|
|
|
|
|
## Platform
|
|
|
|
|
|
|
|
|
|
- **Clustering is single-writer.** Multi-node works and is opt-in (`runway.cluster.enabled=true`): HTTP
|
|
|
|
|
sessions live in a Hazelcast `IMap` and cache-invalidation events are relayed over a Hazelcast topic, so
|
|
|
|
|
instances behind a load balancer share sessions and evict in step. The default is **off** (no Hazelcast
|
|
|
|
|
member, the container's own `HttpSession`). Not built (**after 1.0**): **read-only edge/replica nodes**
|
|
|
|
|
and a **distributed write lock**. The filesystem/YAML stores serialize writes per site within one JVM only,
|
|
|
|
|
so two nodes writing the same site are last-writer-wins at file granularity: keep authoring on one node.
|
|
|
|
|
- **Clearing the template cache acts on one node.** *Platform settings → Clear template cache* empties the
|
|
|
|
|
cache of the node that answered the request. On a cluster, a site **reload** evicts that site's templates
|
|
|
|
|
on every node (its change event is relayed); a cluster-wide clear-all needs a relay message type that does
|
|
|
|
|
not exist yet (**after 1.0**).
|
|
|
|
|
- **Each node needs the same public-page nonce key.** `external/csp-nonce.key` is created per node; copy it
|
|
|
|
|
to every node so a `304` from one node matches a page cached from another (Administration §8.4). With
|
|
|
|
|
different keys each node has its own ETags: correct, just fewer `304`s.
|
|
|
|
|
- **Linux-only installer.** The self-extracting `.bin` targets Linux with systemd. A Windows installer is
|
|
|
|
|
**after 1.0**.
|
|
|
|
|
- **Backups go to folders, not to object storage.** Per-site backups, retention, the opt-in schedule and the
|
|
|
|
|
best-effort **off-host mirror folder** (`runway.backups.offsite-dir`) ship. Pushing backups to S3/GCS
|
|
|
|
|
directly is **after 1.0**, as a plugin; until then point the mirror at a mounted share or sync it with a
|
|
|
|
|
sidecar.
|
|
|
|
|
|
|
|
|
|
## Security
|
|
|
|
|
|
|
|
|
|
- **The public-page CSP is no stronger than the host allowlist against injected markup — and no weaker.**
|
|
|
|
|
Public pages carry a nonce derived from the page version plus `'strict-dynamic'`, and the response edge
|
|
|
|
|
stamps that nonce only on the scripts the `'self'` + host-allowlist policy would have run (same-origin or
|
|
|
|
|
allowlisted `src`; never an inline script). An injected inline script or foreign-host script therefore stays
|
|
|
|
|
blocked in `enforce` mode, but an injected `<script src>` pointing at the site itself or at an allowlisted
|
|
|
|
|
host runs — as it did under the allowlist policy — and, through `'strict-dynamic'`, may load further scripts
|
|
|
|
|
from any host. Template escaping is the defence against injection itself. What the nonce closes is the
|
|
|
|
|
host-allowlist bypass for parser-inserted scripts, and it blocks scripts written at runtime
|
|
|
|
|
(`document.write`).
|
|
|
|
|
- **Some responses keep the host-allowlist policy.** Responses without a page version (error pages, plugin
|
|
|
|
|
endpoints, the maintenance page), a page larger than the 8 MiB rewrite buffer, and a page whose markup
|
|
|
|
|
already contains its own nonce (copied in through an input the page version does not fold — e.g. into an
|
|
|
|
|
`<iframe srcdoc>`) or a foreign preload hint the edge cannot remove (below) carry `'self'` plus the host
|
|
|
|
|
allowlist, without a nonce.
|
|
|
|
|
- **Inline-SVG scripts do not run under `enforce`.** The stamp needs a `src` attribute and an empty element:
|
|
|
|
|
an SVG `<script href>` names its file in `href` (which an HTML `<script>` ignores, running its text), and an
|
|
|
|
|
SVG `<script src>` runs its text, so neither can be stamped safely without building the document tree. Load
|
|
|
|
|
the code with a normal `<script src>` in the page. For the same reason a `<script src>` placed inside an SVG
|
|
|
|
|
`<title>` or `<style>` is left unstamped: the edge reads those as text (as HTML does), while inside `<svg>` the
|
|
|
|
|
browser does not — under `enforce` such a script is blocked rather than guessed at.
|
|
|
|
|
- **Preload hints to a host outside the policy are removed from public pages.** Under `'strict-dynamic'` a browser
|
|
|
|
|
fetches a `<link rel="modulepreload">` or `<link rel="prefetch">` from any host (measured in Chrome 155), so the
|
|
|
|
|
edge removes such a link — and a `preload` with a script-class `as` — unless its URL is on the site's origin or a
|
|
|
|
|
host the policy names. A hint written inside an SVG `<title>`/`<style>` (or another element the edge reads as
|
|
|
|
|
text), or inside an `<iframe srcdoc>`, cannot be removed safely; that response then falls back to the
|
|
|
|
|
host-allowlist policy without a nonce and with `no-store` (the fetch is blocked; the page loses shared caching
|
|
|
|
|
until the hint is gone). A page that merely *shows* such a tag written literally — unescaped inside a
|
|
|
|
|
`<textarea>`, or in an inline script's string — falls back the same way, because the edge builds no document
|
|
|
|
|
tree and cannot tell which element the browser will make of it; a sample escaped as text (`<link …>`, what
|
|
|
|
|
a code block normally holds) is not affected. The same fallback covers markup the edge cannot read with certainty
|
|
|
|
|
the way the browser will: after an inline `<svg>`, `<math>`, `<select>` or `<template>`, a
|
|
|
|
|
raw-text element (`<style>`, `<title>`, `<script>` …) or `<). A plugin with a `mainClass` that declares no `requiresSpi` floor of at
|
|
|
|
|
least `0.4.0` — or any plugin that links Runway's internal classes — shows **Blocked** on **Plugins** with the
|
|
|
|
|
reason; the platform runs without it until you install the plugin's release made for Runway 1.0
|
|
|
|
|
(Administration §11).
|
|
|
|
|
- **A plugin cannot add servlet filters, security chains or CSP hosts.** These are outside the 1.0 contract (they
|
|
|
|
|
reach every request); only the essential protection plugin uses them. A plugin whose script loads from or frames
|
|
|
|
|
a third-party host needs the operator to add it to `runway.csp.extra-hosts`.
|
|
|
|
|
- **A multipart body reaches a plugin route raw.** A plugin route receives a `multipart/form-data` body as bytes
|
|
|
|
|
and parses it itself, and takes its CSRF token in the `X-CSRF-TOKEN` header (no first-party plugin accepts
|
|
|
|
|
uploads).
|
|
|
|
|
- **Billboard and News plugins are not built** (**after 1.0**, as plugin releases).
|
|
|
|
|
- **The search plugin's rate limit is a courtesy limiter, not a defence.** It keys on the client address after
|
|
|
|
|
the kernel's trusted-proxy gate; the kernel's own edge guard is the abuse floor.
|
|
|
|
|
- **A search index rebuilds by rendering every page once per language.** A page is indexed as rendered in
|
|
|
|
|
each language it exists in (bundle strings included), so the first query after a change renders the site's
|
|
|
|
|
pages to rebuild the index — slower than later queries on a
|
|
|
|
|
large multilingual site. A change no event announces (a template edited on disk) reaches the index after the
|
|
|
|
|
search plugin's freshness window or the search settings' **Rebuild index** button.
|
|
|
|
|
|
|
|
|
|
## By design — not limitations
|
|
|
|
|
|
2026-10-29 09:22:38 -06:00
|
|
|
- **Runway's own data is on files.** The kernel is filesystem/YAML-backed on purpose; there is no SQL
|
|
|
|
|
layer to configure, and the first-run wizard provisions the app superadmin and first site, never a
|
|
|
|
|
database. Plugins that need one use PostgreSQL or MariaDB through the **database plugins**
|
|
|
|
|
(ADMINISTRATION §11.1), with these limits:
|
|
|
|
|
- a site's **transfer copy** carries no database data (the copy starts with an empty schema), so
|
|
|
|
|
plugins keep there only data a transfer may leave behind;
|
|
|
|
|
- the Runway-wide schema (`<ns>_app`) is in no site backup; back it up with the database's own tools;
|
|
|
|
|
- a site's database data in one backup is capped by `backupBudgetMiB` (default 128 MiB compressed);
|
|
|
|
|
- isolation between sites inside the database is enforced by the plugins' code (one account reaches
|
|
|
|
|
every schema), as everywhere else in Runway where plugins are trusted code.
|
2026-10-21 11:34:34 -06:00
|
|
|
- **Central seed changes do not back-propagate to existing tenants.** Each tenant owns its copy of the
|
|
|
|
|
seeded master/templates after creation (the self-containment law); improving the seed affects only
|
|
|
|
|
*new* tenants. This is the deliberate price of complete tenant isolation and portable backups.
|
|
|
|
|
- **No public draft-preview link.** A draft is previewed inside the console only; there is
|
|
|
|
|
no shareable URL that shows unpublished content to someone without a console account.
|