Public documentation
Documentation indexRead as MarkdownCross Browser Test (CBT) architecture
CBT has one central application and independent execution locations. Users stay
on app.corridora.ai while the selected location serves the run form and progress
page. The diagram shows systems and their connections, without deployment
identifiers, private addresses, or credentials.
Central UI and location UI
- Main UI —
app.corridora.ai. The centralweb-dashservice serves the CBT landing page at/cbt, location selection at/cbt/locations, and saved history and reports at/cbt/results. Sign-in and account management are centralized on the same app domain. The Corridora dashboard's Experience → Cross Browser Test (CBT) pages reuse the report components. - Run test UI — a location path on
app.corridora.ai. Selecting a location opens/cbt/locations/<location>/run; progress uses/cbt/locations/<location>/runs/<test_id>.<location>is the public location slug. The central service proxies these requests through a Cloudflare Tunnel to the selected location's UI container. A location is an independent service even when it shares infrastructure with the central application. - Execution — the selected agent. The location UI submits to the central Corridora API. The location dispatcher advertises browser availability, claims queued work over HTTPS, and invokes its local controller and browsers. Browser requests to the tested website originate at that location.
Cloudflare systems
- DNS, HTTPS, and Cloudflare Tunnels route the public application to the central service and provide the dashboard's connection to each location UI. Browsers use the shared app origin rather than connecting to agent origins or controllers directly.
- Private R2 stores capture artifacts at
<test_id>/<file>and the verified manifest at<test_id>/metadata.json. Agents send captures to the Corridora API, which writes and verifies R2 objects. Reports read permitted artifacts through the application; R2 is not a public file directory. - Workers and D1 — separate legacy deployment. The optional legacy hosted Worker has its own D1 metadata database and R2 storage. It is outside the current managed run path. The centralized CBT application uses PostgreSQL for its account, scheduling, and result index; it does not use D1 for those records.
Corridora systems
web-apiauthenticates UI and API requests, checks workspace access and plan allowances, schedules runs, and controls capture publication and reading.- PostgreSQL holds accounts and workspace ownership, usage reservations, the durable run queue, publication records, and indexed result summaries. Large capture files remain in R2.
- Corridora ingest and ClickHouse receive and store operational telemetry, including CBT server/controller traces and client navigation timing relayed by the application server. The ingest pipeline can write directly or use the configured Kafka pipeline. ClickHouse is separate from the CBT result catalog and artifact store. A report can link to an associated Corridora trace, subject to dashboard access rules.
Capture lifecycle and access
- A signed-in user configures a test on the selected location UI, or submits it to the central API with a Corridora API key. The API reserves the allowance and queues the accepted work in PostgreSQL.
- The selected agent claims the work, runs its local browser, reports progress, and retains the capture temporarily on that location.
- The agent uploads the capture to the Corridora API over HTTPS. Corridora verifies the files in R2 and records the result before returning a verified receipt. The agent then deletes its local raw capture. If publication is unavailable, it retains the capture and retries.
- The central results UI reads the authorized summary from PostgreSQL and verified artifacts from R2 through the API. Private reports require workspace access. Make test public allows link access to a published report and its approved artifacts; sensitive configuration and restricted artifacts remain subject to administrator checks.
See Run a test, public routes, and 3rd Party Notices.