Known limits
Documentation / Known limits / Known limits

Known limits

What Runique doesn't do yet (4.1 in development), or does with a restriction. Each line points to the page explaining the limit and what to do meanwhile. The security policy and the fixed vulnerabilities are described in SECURITY.md.

Database and migrations

LimitDetails
One engine per build (sqlite, postgres, mysql)
SQLite: one writer at a time, SQLITE_BUSY under heavy write load
Switching engines needs a fresh database: data isn't carried over
Database
A column type change isn't migrated (--force writes an empty migration, to complete by hand)
Snapshots copied without their migrations make the tables look created
Index and foreign key names capped at 63 characters, on every engine: makemigrations refuses beyond
migration up: a migration is atomic under Postgres only (SQLite, MySQL: a failing migration can stay half applied)
Migrations, Makemigrations
search!: in (vec) with an empty vec, no inline conditional filterQueries

Forms and messages

LimitDetails
A failed session write loses the flash message; the failure only shows in the log (session.store channel)Flash macros
A published file followed by a hard stop before the database commit can leave an orphan file
Deleting a row doesn't delete its files, from the admin included: it is up to the project to keep or remove them
Fields

Security, sessions, authentication

LimitDetails
RateLimiter and LoginGuard have no memory cap
RateLimiter and LoginGuard count per process: with several instances, the quota is multiplied
Rate limiting
LoginGuard locks by username: someone can lock an account whose name they knowLoginGuard
The in-memory session store belongs to one process
Every request without a cookie opens an anonymous session (the CSRF token is kept there): a flood of such requests can fill the store, which then refuses new sessions
Session store
A custom store (with_session_store) can't be walked per user: after a password reset, its sessions only close at their next request, and only if the user model returns session_versionSession
Session duration: one for every signed-in account; "remember me" (a duration per session) is not possible yetSessions
At most 5 custom middlewares (a 6th makes startup panic); they run before the session, without the signed-in accountMiddleware stack
Delegated mode: no external provider (OAuth, LDAP, SAML) is implementedPasswords
ACME: one site per machine (port 80 exclusive)Network

Admin

LimitDetails
.links, .search_help, .empty_value accepted but with no effect on the display (a warning says so at startup)ModelAdmin builder
No global theme stylesheet (workaround through a block)
.with_htmx is global, no per-model list fragment
Template override
No session management interface—
Many-to-many: declared in the DSL through a pivot table, not managed in the adminRoadmap

Local development

LimitDetails
Cookies ignore the port: two projects on 127.0.0.1 share (and overwrite) the session cookieTroubleshooting

Solutions in the meantime

LimitSolution
RateLimiter and LoginGuard have no memory cap, counters per processAlso limit at the reverse proxy (example below)
LoginGuard blocks by usernamePair it with a limit per IP, at the reverse proxy or with RateLimiter
Anonymous sessions opened by a flood of cookieless requestsLimit per IP at the reverse proxy, as for /login (example below), and size the store's cap
The memory session store belongs to one processOne instance, or a reverse proxy sending each visitor to the same one (ip_hash with nginx)
ACME: one site per machineHand TLS to a reverse proxy as soon as there are several sites
SQLite: one writer at a timePostgreSQL for a sustained write load
A migration is atomic only on PostgreSQLBack up the database before migration up on SQLite and MySQL
A column's type change isn't migratedComplete by hand the migration written by --force
Cookies shared by two projects on 127.0.0.1Open one on 127.0.0.1, the other on localhost

Limit per IP with nginx, to adapt. The zone caps the memory, and a refused request gets a 503 by default:

limit_req_zone $binary_remote_addr zone=login:10m rate=5r/m;

location /login {
    limit_req zone=login burst=5 nodelay;
    proxy_pass http://127.0.0.1:3000;
}