Targets
On this page

A target is a language the service file is generated into. Python (FastAPI) and Rust (axum) ship. They are generated from the same file, run on one database and answer the same bytes. The pages talk to whichever is the default, and a switch moves them with nothing in the pages changed.

Turning targets on
In globetrotter.config.json:
"backend": {
"dir": "backend",
"default": "python",
"targets": {
"python": { "migrations": "alembic", "worker": "taskiq", "port": 8000 },
"rust": { "port": 8180 }
}
}default is the target the pages talk to. The rest run beside it on their own
ports. A target's files are written on every sync and every studio save.
To add Rust beside a Python backend that already runs (add_target(design, "rust", port)
writes the config), in order, from the project root and then backend/:
npx globetrotter sync # writes Cargo.lock (cargo needs the network for it once) and the migrations
cargo build -p <app> # in backend/; the first build is the long one
GLOBETROTTER_ENV=local cargo run -p <app> -- migrate # on Python's database it finds the migrations applied and changes nothing
GLOBETROTTER_ENV=local cargo run -p <app> # serves on its own port, on the same database; no second seedA new project starts from the lockfile this target is tested against (the versions fieldops builds with; written only when there is no Cargo.lock, then trimmed and completed by cargo), so two projects made weeks apart use the same versions, and the network is needed to download crates, not to choose them. Moving forward is yours: run cargo update when you want newer versions (sync keeps what you did), and cargo audit, if installed, to see advisories against the pins.
After the first lockfile, a sync that needs no new crate runs no resolving cargo command and leaves Cargo.lock as it was; one that needs a crate adds it (from the local cache when it is there, from crates.io otherwise) and keeps every other pin. With CARGO_NET_OFFLINE=true it never reaches the network: one line names the crate the cache lacks and the command to run when online. The Python target does the same with uv: uv lock --check first (nothing runs when uv.lock agrees), then uv lock --offline from the local cache, plain uv lock only when the cache lacks a package and UV_OFFLINE is unset; never --upgrade. When a lock step could not reach the index, sync says so in one plain line and leaves the lockfile as it was.
Then compare_targets, and set_default_target when the answers agree.
fieldops has both on: rust on 8010 beside Python, the default. Its Rust crate
(backend/crates/fieldops) holds the same bodies as fieldops_impl, and
nothing in it answers 501 (fieldops' README).
What each supports
| Python | Rust | |
|---|---|---|
| Server | FastAPI, async only | axum |
| Stores | SQLAlchemy, Alembic running the SQL files | SQLx per engine, sqlx::migrate! over the same files |
| Engines | sqlite, postgres, mysql | sqlite, postgres, mysql, each behind a feature |
| Sign-in | session, apikey, oidc, jwt, magiclink, passkey | session, apikey, oidc, jwt, magiclink |
| Who may run what | Casbin | Cedar policy set |
| Flows and jobs | Taskiq on Redis, or the relay alone | apalis on the flow store's database |
| Observability | OTel, structlog; console or OTLP | tracing; console or OTLP |
| Small primitives | Cache, Search, File (local disk or a bucket), Notify | The same |
| Filters, sort, pages; many-to-many | Yes | Yes |
| Shapes, state machines | Yes | Yes |
| Clients, webhooks | httpx; a delivery's record and its effects in one transaction | reqwest; a delivery is at least once (Limits) |
| Tenants | Yes; the organisation from a header, a cookie or a token's claim | Yes; from a header or a cookie only |
Versions (versioned, If-Match, ETag) |
Yes | Yes |
Idempotency keys (idempotent, Idempotency-Key) |
Yes; the answer is kept in the write's transaction | Yes; the answer is kept after the handler's commit (Limits) |
Rate limits (limit, the limits section) |
Yes | Yes |
Managed API keys and scopes (keys: managed, scope) |
Yes, with or without organisations | Yes, with or without organisations |
| Not written | LLM | LLM; passkey; the accounts block (people in your own database: refused); an organisation named by a token; non-inline flows on mysql; logfire, sentry; a mongodb or duckdb store |
Which of these has been run, on which engine: What has been run.
The design's sections, as each target's supportsSection answers (the node
types are the rows above):
| Section | Python | Rust |
|---|---|---|
auth |
Every kind | session, apikey, jwt, oidc, magiclink; passkey refused |
observability |
Every exporter accepted; otlp is sent, anything else goes to the console |
console and otlp; logfire and sentry refused |
flows (a components file's durability) |
Every durability | inline, worker, durable |
tenancy |
Every from |
header and cookie; claim refused |
limits |
Accepted | Accepted |
apikeys (managed keys, or an operation's scope) |
Accepted when the keys are managed; a scope without managed keys is refused |
Accepted |
A design is never served with a rule no target checks. Where a target cannot
generate something in your design, lint says target-unsupported, naming the
target and the node or section, and the studio shows the same sentence at the
top of that part. Python accepts every other section; what it cannot run (a
mongodb or duckdb store) is not said by lint. Each target's Status line says
what it leaves out.
The Rust target
It writes a workspace member crates/<app>-generated and your crate
crates/<app>. See Generated code and
Your code. What it does:
- Stores.
repo_<engine>.rsper engine turned on: get, find with the list's filters and search words, count, insert, update, delete, restore. The rows are the ones the Python backend writes: a uuid as 32 hex digits on sqlite and mysql, times as SQLAlchemy writes them.sqlx::migrate!runs the same migration files. - Default methods. What the design fully describes answers as Python answers
it: a page's lists field by field (a field the page shows in words is handed over as the text it reads as, the same bytes on both: a
day
2031-05-01, a time2031-05-01T09:00:00Zin UTC with six digits of fraction only when it has one, a decimal at its four places, an id, a flagtrue, a number as its shortest text with a float keeping its.0(100.0,1e+16,1e-05), json as compact text with non-ASCII as\uXXXX, a json string as itself), a query by key with the contract's 404, create with the entity's rules in the design's words ("An item needs a title."), update, delete and restore, a paged list'sX-Total-Count. A custom operation, or a page's data the rows fill nothing of, is a 501 naming the method and the file until you write it. - Sign-in. The matrix as a Cedar policy set (each operation's
allowthe lowest role,anyonebelow it, no deny), with 401 and 403 in Python's words. The session is Python's own signed cookie, so people stay signed in when the pages switch. API key, jwt and OIDC are each behind a feature. Owned rows are aWHERE. - Audit and outbox.
audit_logandoutboxrows as the Python target writes them, in the same transaction as the change.X-Request-Id. Events are CloudEvents. Python's relay drains what Rust wrote and the reverse. - Flows and jobs. apalis on the flow store's pool: steps as your functions,
retries and dead letters as the design says, a step done for an event never run
again. Jobs by cron or by hand, each due minute run once across workers (Redis key shared with Python, else a
flow_runrow).get_runsreads both targets' runs. - The small primitives. Cache (Redis or memory, sharing Python's on one
Redis), Search (FTS5 by bm25, postgres full-text,
LIKEelsewhere, every word a prefix), File (an upload, and a download by a signed link; on local disk or in a bucket, behind the featurefiles-s3), Notify (SMTP, a webhook, or the console andsent.jsonl)./healthand/ready. - The service's words.
words.rs, the same words aswords.py.
sync --check runs the toolchain check, cargo clippy -D warnings,
cargo fmt --check and the contract's examples through the models. A generated
file rustc refuses is said on every sync as the target's bug, by file and line.
Without cargo on the machine sync --check passes with one warning that names
what did not run; GLOBETROTTER_REQUIRE_CARGO=1 makes that a failure:
warning · target-check: The rust build in backend/ was not checked here: cargo is not installed (https://rustup.rs), so cargo check, clippy -D warnings, cargo fmt --check and the contract's examples did not run; the generated files were compared as written. GLOBETROTTER_REQUIRE_CARGO=1 (as CI sets it) fails on it insteadThis repository's workflow sets it: the verify job installs the toolchain
rust-toolchain.toml names and runs fieldops' cargo test --locked. Its
commands were run on a laptop; the workflow itself has not run on GitHub.
lock makes the lockfile once and updates it.
What both targets guarantee
The same variables, in the same words, on either target (Auth and security):
| Both targets | |
|---|---|
| Environment | Only an exact GLOBETROTTER_ENV=local is local. Unset or any other word is production: no development keys, people or secrets, no cause in a 500, Secure cookies. Unset with no production environment declared refuses to start (GLOBETROTTER_ENV is not set: …); a missing secret refuses to start naming its variable. |
| API docs | Python serves /docs and /redoc on local only. Rust serves none; the contract is /openapi.json on both. |
| CORS | Off. GLOBETROTTER_CORS_ORIGINS (a comma list) allows those origins with credentials; * refuses to start, in the same sentence. |
| Headers | Every answer: X-Content-Type-Options: nosniff, X-Frame-Options: DENY, Referrer-Policy: no-referrer; Strict-Transport-Security: max-age=63072000; includeSubDomains outside local; Cache-Control: no-store when the request carried a cookie, Authorization or an API-key header and the route set none. |
| Sign-in limit | Failures per (address, email): GLOBETROTTER_SIGNIN_MAX_FAILURES (5, 0 is off) in GLOBETROTTER_SIGNIN_WINDOW_SECONDS (60), then 429 with Retry-After, only where the design has a session or token sign-in. Counted in one process's memory; in a design with a limits section the number is limits.signIn when the variables are unset, and the count is kept in the section's store when it names one. |
| Rate limits | The same window, the same key in the store (<app>:limit:<Service.op>:<by>:<who>:<window>) and the same 429 from either. GLOBETROTTER_LIMITS=off turns the operations' checks off. Redis is counted in by one script on both. |
| Lists | GLOBETROTTER_LIST_DEFAULT (50) rows with no page size, never more than GLOBETROTTER_LIST_MAX (200), whatever size was asked for. |
| Pools | Postgres and mysql: GLOBETROTTER_<STORE>_<NAME>, else GLOBETROTTER_DB_<NAME>, for POOL_SIZE (10), MAX_OVERFLOW (10), POOL_TIMEOUT (30 s), POOL_RECYCLE (1800 s), STATEMENT_TIMEOUT_MS (30000); a connection is checked before it is handed out. sqlite is left as it is. |
| Metrics | With observability.metrics, GET /metrics in Prometheus text when GLOBETROTTER_METRICS=1 (and GLOBETROTTER_METRICS_TOKEN as a bearer): http_requests_total, http_request_duration_seconds, globetrotter_db_pool_size, _checked_out, _overflow. |
| Image | Dockerfile (Python) and Dockerfile.rust (Rust, with its own Dockerfile.rust.dockerignore), each written once; non-root, a HEALTHCHECK on /ready. Compose: compose.yaml (Python) and compose.rust.yaml (Rust), each a stub naming its own processes; the README is README.md (README.rust.md beside Python's); .env.example is the Python target's. |
| Methods | Only the contract's methods are answered: a HEAD on a GET route is a 405 on both targets, and a 405's Allow lists what the route answers (GET). |
| Foreign runner | Rust's migrate names Python's runner only when Python is among the targets; a database with an alembic_version and no Python target is refused (give Rust its own), and an unknown revision is refused in words. |
| Seed | Sample rows go in only through Python's migrate --seed, on local. Rust applies migrations (<app> migrate) and never seeds sample rows; <app> devseed adds only the development organisations and memberships, local only. One database has one runner. |
Tests
The Python target's Schemathesis suite runs against the Rust binary
(GLOBETROTTER_TEST_BASE_URL), and the crate has its own round trip of every
example in the contract. Your own tests: see Your code.
Compare and switch

The Targets view lists each target turned on, the default first, and what each leaves out.
- Compare runs the same checks against each running target, nothing
changed, and reads their traces side by side: every operation's status and
time from both backends. It is
compare_targets(design, repeat?); every read runs for realrepeattimes, and every write goes with a body no operation takes. With organisations on, the same pressescheck_authmakes inside one (a member at each role naming it, a member of another naming one that is not theirs) are held side by side too: the status, and for a read let through the body's shape and row count. When nobody is a member locally, Compare says "organisations not compared" and names the seed to run (GLOBETROTTER_ENV=local uv run python -m <app>_core.devseed, orGLOBETROTTER_ENV=local cargo run -p <app> -- devseed, frombackend/). - Make default switches the pages (
set_default_target(design, target, why?)), and the app's/apiforward follows at the next request. A switch made from an older read is a conflict, and says so. A journal line records it.
Under traffic a switch loses nothing: the next request goes to the other target.
In one test, 104 requests and 51 saves across two switches: none failed, and each
save landed once. A default that is down answers the pages "The service is not
answering" until Make default picks the live one; service_status and the
Targets view say which target answers.
What is still to write in the default target is the pages' to-do. Another
target's is said on its own line, by its name (rust: write Inbox.list in …),
and never makes a page look unready while the default answers.
One full run on a fresh copy of mail looks like this:
sync: 51 files in 2.0 s # python and rust generated from one service file
build: rustfmt clean; cargo build 4.4 s; clippy -D warnings clean
serve: one sqlite database; python :8182 /ready 200; rust :8180 /ready 200
as the member: /inbox, /threads, /settings 200/200, the same body from each
suite python: 10 passed · 10 passed · 10 passed # the same Schemathesis suite, three rounds
suite rust: 10 passed · 10 passed · 10 passed
compare_targets: 16 checks alike; reads p50 python 1.2 ms, rust 0.7 ms; 56 presses each, 0 failed
set_default_target rust: the pages' /api/* goes to :8180 at the next request
app: Settings read through python, saved through rust, read back through python: one row
sync --check: ✓ python ✓ rust (toolchain, clippy, fmt, the contract's examples through the models)A later run of the Rust suite says 10 passed, 2 skipped: the two are
test_credentials.py's cases, which press the app in process and skip by
design against a served backend.
What has been run
One table for every page. Ran: run against a live server, with the record named. Written: generated and compiled or type-checked, never run against that engine. An empty cell does not apply.
| Python, sqlite | Python, postgres or mysql | Rust, sqlite | Rust, postgres or mysql | Record | |
|---|---|---|---|---|---|
| The service: operations, sign-in, roles, audit, flows | Ran | Written | Ran | Written | The contract suites above |
| Versions | Ran | Written | Ran | Written | Each target's generated test; rust-versions.txt |
| Idempotency keys | Ran | Written | Ran | Written | python-idempotency.txt, rust-idempotency.txt |
| Idempotency keys: one key used on both targets | Ran | Ran | cross-target-replay.txt | ||
| Idempotency keys: the 503 when the database is busy (sqlite only) | Ran | Ran | python-idempotency.txt, rust-idempotency.txt | ||
| Rate limits, counted in the process | Ran | Written | Ran | Written | python-limits.txt, rust-limits.txt |
| Rate limits per organisation | Ran | Written | Ran | Written | python-limits.txt, rust-limits.txt |
| Rate limits, a caller that is an API key | Ran | Written | Ran | Written | python-limits.txt, rust-limits.txt |
| Rate limits, counted in Redis | Ran (Redis 7, two processes; Postgres beside it) | Ran (Redis 7, two processes; the same keys as Python's: one count across both targets) | fieldops-redis-stack.txt | ||
| The failed sign-in limit | Ran | Written | Ran | Written | python-limits.txt |
| API keys and scopes | Ran | Written | Ran | Written | python-apikeys.txt, rust-apikeys.txt |
| API keys in a design with organisations, and a maker lowered or removed | Ran | Written | Ran | Written | python-apikeys.txt, rust-apikeys.txt |
| API keys: one key used on both targets, without organisations | Ran | Ran | cross-target-replay.txt | ||
| API keys: one key used on both targets, with organisations | Ran | Ran | cross-target-keys-orgs.txt | ||
A create with a taken unique value (409 rowExists); two at once on Python only |
Ran | Written | Ran | Written | technicians-transcript.txt, rust-fieldops-technicians.txt |
| A link a create or an update sets points at no row: 404 | Ran | Written | Ran | Written | python-still-has.txt, rust-update-links.txt |
A list kept by a link: one key, several, none (isNull), a key no row has (an empty list), a malformed key (400) |
Ran | Written | Ran | Written | python-links-stamps-clears.txt, rust-links-stamps-clears.txt |
A list ordered by createdAt or updatedAt, both ways, and a cursor walk across rows a seed wrote and rows the app wrote |
Ran | Written | Ran | Written | python-links-stamps-clears.txt, rust-links-stamps-clears.txt |
null empties a field whose param says clears; left out or blank it stays; null on another param is a 400; the audit row |
Ran | Written | Ran | Written | python-links-stamps-clears.txt, rust-links-stamps-clears.txt |
A list's fixed where on a link (=, !=, =null) and on a row time; null empties a link whose param says clears, left out it stays, an unknown key is a 404, a blank a 400, the audit rows (each target on its own scratch copy of fieldops, not one database) |
Ran | Written | Ran | Written | python-where-link-clear-link.txt, rust-where-link-clear-link.txt |
fieldops' /work by assignee, unassigned and by updatedAt with a cursor to the end, and an email emptied by null: the same answers, order and audit rows from both targets on one sqlite file with three forms of time, a Python cursor taken by Rust (a checkpoint's walk on a scratch copy, which kept no transcript; Python alone: fieldops-links-stamps-clears.txt) |
Ran | Ran | |||
fieldops' own Work.assign, 14 November, sqlite: a key, null (the job has no assignee and reads Unassigned), left out (400), a key no technician has (404), a blank (400), ?unassigned=true, the audit rows |
Ran | fieldops-unassign.txt | |||
The same on both targets side by side on one sqlite file, 14 November (a checkpoint's walk, which kept no transcript): assign, null, an unknown key, left out and a wrong type gave equal statuses and errors, and the lists by link and by updatedAt were equal. The job's shown technician and updated, and the audit rows for them, were not equal then: fieldops' Python body writes them, and the Rust copy had only the generated body. With the same body written in a scratch Rust crate the job bodies and audit rows were equal for a key, null and null again (transcript); fieldops' own Rust crate has that body since 15 November (its row is below) |
Ran | Ran | |||
An audit row keeps a personal field as "[personal]", null where there was none; both targets wrote the same rows on one sqlite file in a checkpoint's walk, which kept no transcript (a field named in auditFields, which keeps its value, was not pressed) |
Ran | Written | Ran | Written | python-audit-personal.txt, rust-audit-personal.txt |
An audit row names the operation that wrote it, 14 November, sqlite: a database with rows from before, the migration applied by fieldops' runner (old rows empty), Work.assign (both of its rows), Technicians.update, job:flagOverdue on Python; Python and Rust side by side on one file wrote the same values. A flow step's and a webhook's row were pressed a day later (its row is below) |
Ran | Written | Ran | Written | python-audit-operation.txt, rust-audit-personal.txt (its 2026-11-14 part) |
The audit's operation in the same words from both targets on one sqlite file (Work.assign, Technicians.update); the studio's Audit read it from the row with the traces moved aside; get_audit answers via Work.assign. 14 November, a checkpoint's walk, which kept no transcript; the flow:, job: and webhook: forms were not pressed in it |
Ran | Ran | |||
Rust started ahead of its database, 14 November, sqlite: the start line, /ready 503 and an audited command 503, naming cargo run -p <app> -- migrate (the same walk, no transcript). The generated crate's tests under SQLITE_DQS=0 on a scratch copy: 53 passed |
Ran | Written | |||
Rust's save ahead of the database, 19 November, a scratch both-targets sqlite project: after a field is saved and the crate rebuilt, before sync, /tasks and /ready answer 503 in Python's words (the one difference the runner's command), an untouched entity 200; after sync the waiting-migration 503; after migrate 200. Postgres and MySQL: the catalogue queries are generated, not run |
Ran (sqlite) | Written (postgres, mysql) | save-ahead-of-database-rust.txt | ||
fieldops' own Rust crate beside its Python bodies, 15 November, sqlite, each on a database its own runner made: the dashboard, the jobs page, toggleTask, complete, undo, reassign, NewJob.create, Work.assign with null, Work.finish, the job flagOverdue: the same status and answer on every press, the same outbox and flow runs. On 16 November, after Python's repository took the rules on a create, the rest: start, finish, reopen, lapse with their 409s and 403s, a photo uploaded and addPhoto, Technicians, Reports, NewJob.create: 26 presses, each the same on both, and the audit rows 13 and 13, row for row (15 November: 13 and 14, Python's create wrote updated in a second row) |
Ran | Ran | fieldops-rust-crate.txt | ||
A webhook's and a flow step's audit rows, 15 November, sqlite, a scratch copy of fieldops with a webhook and a writing step added: webhook:field by webhook:field, flow:onJobCompleted.noteDone by flow onJobCompleted.noteDone, on each target (not one database) |
Ran | Written | Ran | Written | python-webhook-flow-operation.txt, fieldops-rust-crate.txt (its second part) |
fieldops' Python backend on Postgres 16 in a container, 16 November, a scratch copy: migrations 0001 to 0009, /ready, the presses of the Rust-crate row with the same statuses, 14 audit rows, outbox and flow runs as on sqlite; one migration behind answers 503 naming 0009; Schemathesis against the served backend 29 passed (the 40 in-process tests make a sqlite file of their own and were skipped). The dashboard's openDelta read +1 today here after the job made in the run; a second run on 16 November saw the same on sqlite and on both targets (+0 with only the seed rows) |
Ran (postgres) | python-fieldops-postgres.txt | |||
fieldops' Python backend on Postgres 16 as the example's own database, 16 November (not a scratch copy): migrations 0001 and 0002 (seed) by the Python runner, /ready, the dashboard, toggleTask, NewJob.create, Work.assign as dispatcher and a list by ?unassigned=true, six audit rows; 69 tests in process on the database fieldops_test. Not run: the pages, presses and e2e against it; the Rust binary on it |
Ran (postgres) | fieldops-ships-on-postgres.txt | |||
The migration lock and --down, 16 and 18 November, Postgres 16, a scratch copy of fieldops: two Python runners at once (the second waits, then finds nothing to do), a Python and a Rust runner against each other, the timeout, a pool of one, --down and --down --to (a refused one undoes nothing), --yes outside local. Not run: mysql, a down on sqlite or mysql that runs SQL |
Ran (sqlite: up, refused down) | Ran (postgres) | Ran (postgres) | migrations-lock-and-down.txt, rust-migrate-lock.txt | |
fieldops' Rust crate on Postgres 16 in a container, 16 November, a scratch copy: the Rust runner applied 0001 to 0009; 39 presses the same on Rust and Python, each on its own database in the one server; 22 audit rows each, the same but for the order of two rows written in one request; then both served the one database the Rust runner made, each reading the other's writes, and Python's migrate refused it. Schemathesis was not run against the Rust binary here |
Ran (postgres, beside Rust) | Ran (postgres) | rust-fieldops-postgres.txt | ||
fieldops' Python backend on MySQL 8.4 in a container, 16 November, a scratch copy: migrations 0001 to 0009 by the Python runner, /ready, a create, a rule's 400, a list by a link, an assign to nobody, a finish; six audit rows, one outbox event, one flow run; Schemathesis against the served backend 29 passed, twice. The 40 in-process tests make a sqlite file and were skipped |
Ran (mysql) | python-fieldops-mysql.txt | |||
| The Python target's suite against fieldops' Rust binary, 16 November, served with its development keys: 29 passed, 40 skipped (the in-process tests), no 5xx | Ran | rust-fieldops-schemathesis.txt | |||
| A value left out and a rule broken in one body, 16 November, a scratch design: six bodies, one 400 naming both, the same on each | Ran | Ran | rust-missing-with-rules.txt | ||
| A NUL in a path, query or body param, 16 November: 400 naming the param on both; a 255-character bound and a NUL in a field on Python in process | Ran | Ran (postgres, Python: the NUL) | Ran | string-bounds.txt, python-fieldops-postgres.txt | |
| A create's rules on a scratch design (a link marked Always, a required number, a span whose end may be empty), 16 November: nine bodies, the same answers on both, every missing value named at once. Not pressed: the update, a span of dates | Ran | Ran | rust-rules-coverage.txt | ||
| Two tables that point at each other dropped in one migration (the migration applied to a database in a test, not through a target) | Ran | Written | Ran | Written | packages/core/test/mysql-keys.test.ts |
A delete that rows still point at: 409 stillHas, then 200 once they are moved (a scratch design on both; fieldops' Technicians.remove on Python only, with the 403 for a technician) |
Ran | Written | Ran | Written | python-still-has.txt, rust-update-links.txt |
| The database's own foreign-key refusal: 409 in general words | Ran | Written | Ran | Written | python-still-has.txt, rust-update-links.txt |
A create whose unique value a soft-removed row holds: 409 rowExists |
Ran | Written | python-row-exists-soft.txt | ||
| A malformed session cookie or API key: the 401 a wrong one is (on Rust also a signed session whose body is not base64 or not JSON) | Written | Written | Ran | Written | rust-credentials.txt |
| A blank optional value is not given; an update holds what it sets to the field's rules and changes only what is sent | Ran | Written | Ran | Written | technicians-transcript.txt, rust-fieldops-technicians.txt; catalogue-transcript.txt, rust-storefront-catalogue.txt (the price alone) |
| A page's list showing each type in words (int, float, decimal, bool, date, datetime, uuid, json): the same bytes from both on one sqlite file | Ran | Written | Ran | Written | page-field-types-both-targets.txt |
Decimals as text: a JSON number, a word and 1e3 refused |
Ran | Written | Ran | Written | catalogue-transcript.txt, rust-storefront-catalogue.txt (1e3 pressed on Rust only) |
| A list with filters, a sort, cursor pages and a search | Ran | Written | Ran | Written | catalogue-transcript.txt, rust-storefront-catalogue.txt |
| A cursor made on Python read on Rust | Ran | rust-fieldops-work.txt | |||
| A state machine's moves by API key roles, a job that lapses rows, an event that runs a flow | Ran | Written | Ran | Written | work-transcript.txt, rust-fieldops-work.txt |
| Files on disk: upload, a signed link; a row that names a file never uploaded is a 404 (the work transcripts) | Ran | Written | Ran | Written | work-transcript.txt, rust-fieldops-work.txt; catalogue-transcript.txt, rust-storefront-catalogue.txt |
| A signed payment webhook that moves an order, a repeat delivery, an unsigned one (a wrong signature on Rust only) | Ran | Written | Ran | Written | payment-transcript.txt, rust-storefront-payment.txt |
Two things were run against a live Postgres, both fieldops on Postgres 16: its Python backend and its Rust crate (their rows in the table). One was run on a live MySQL 8.4: fieldops' Python backend. Rust was not run on mysql. Row-level security was applied to a Postgres 16 on 19 November (both targets, with organisations on a scratch fieldops: transcript), and a limit was counted in a real Redis 7 on 19 November (the table's row). Run your design on the engine you deploy to before you rely on a Written cell.
The Rust rows from fieldops and storefront were run on a scratch copy of each example's design, generated with Rust as the target and its bodies written by hand after the Python example's. Since 15 November fieldops keeps its Rust crate in the repository, beside Python, which stays its default; storefront and mail run on Python alone.
Also run on sqlite:
- Rust: twenty writers at once on one row, three times, all answered 200.
- Rust beside Python on one file: a delete with
returnsanswers the row, and an update of a versioned row that changes nothing keeps its version andETag. - The webhook notice was sent; SMTP went to a test sink.
Next: Limits, Deploy and operate, Studio and agents.