Settings¶
The Settings screen holds the configuration of the instance. It needs an administrator account. The screen has five sections.
General¶
- Site name
The name that the browser tab and the header show.
- Licensed to
The name of the licence holder.
- Public URL
The public address of this instance. Midair builds the webhook addresses and the MCP address from it, and Horizon calls back to it.
- Logo URL
The address of the logo.
Features¶
Four switches enable or disable the top-level sections: Vision, Monitoring, Testing and Analysis.
A disabled section disappears from the sidebar, and its screens answer Not Found.
These four are not the licence features of Users, teams and access. They are a choice about what this instance shows.
Access¶
The switch Public instance decides who can read without an account. It is off by default.
- Off (private)
Midair and the Bublik beside it are behind the sign-in. A person without an account sees only the sign-in page. A link to a Bublik page sends them to the sign-in, and back to that page after it.
- On (public)
A visitor without an account reads what a viewer of every project reads: the projects, the test runs, the analyses, their results, logs, charts and comments, in Midair and in Bublik. A visitor does not see the users, the teams, the nodes, the monitored devices, the credentials or the settings, and cannot start, change or delete anything. The header shows Sign in instead of the account menu.
The switch takes effect at once, in Midair and in Bublik.
The switch Check that a person is signing in turns on the sign-in check. It is off by default. The check covers sign in, the one-time code, and the new account. Midair uses Google reCAPTCHA for it. Nobody must solve a puzzle. A submission that looks automated is refused. If Google cannot be reached, the person signs in without the check. See Getting started.
The check needs two reCAPTCHA keys. On an instance that the platform provides, the platform supplies the keys. Update the instance to receive them.
On a self-hosted instance, set these two environment variables for the core, and restart the service:
RECAPTCHA_SITE_KEYThe reCAPTCHA v3 site key.
RECAPTCHA_SECRET_KEYThe reCAPTCHA v3 secret key.
The keys must be reCAPTCHA v3 keys for the domain of the installation. If the switch is on but the keys are not loaded, the settings page shows a warning, and the check is not made.
The command-line client cannot pass this check with a password, because the check needs a browser. Use an API token for the command-line client while the check is on. See Getting started.
Setup¶
Run setup again opens the setup wizard. Use it to go back over the questions that the wizard asked at the first sign-in. See Getting started.
Integrations¶
Each integration is a card. The card says whether the integration is configured, and a click opens its fields.
- Releases
The portal that the Distributions marketplaces list, and the credential that Midair asks with. See Distributions.
- Bublik
Where the test logs are published and browsed. The fields name the Bublik UI address, the SSH account of the log server, and the incoming directory. Midair derives the incoming directory from the environment variables when the override field is empty. See Testing.
Midair keeps the Bublik installed with it in step with itself, once a minute, over the same SSH account:
Each Midair user with an e-mail address has a Bublik account with that address and the same password. Administrators are Bublik administrators. A user that is deactivated or deleted in Midair is deactivated in Bublik. Bublik accounts that Midair did not make stay as they are. On a shared instance only administrators get a Bublik account, and only they may open Bublik.
Each Midair project has a Bublik project of the same name, and the runs of the project are imported into it.
Each such Bublik project has the configurations
per_conf,references(the log server and the repositories of the project) and a report configurationmidairwith a chart for each test that reports measurements. When a person activates a version of their own of one of these configurations in Bublik, Midair leaves that configuration alone.
The card shows when the last synchronization ran and what it changed.
- AI
The provider for the log analysis, the reviews and the Vision lines. See AI providers.
The mail server. Midair sends the one-time sign-in codes and the comment notifications through it. The card shows one of three states:
Own server. You give a mail server. Midair sends all mail through it.
Through the platform. You give no mail server, but the platform gives this instance a mail service. Midair sends the mail through the platform. The sender address is
noreply@interpretica.io. If you give your own server, your own server sends the mail instead.None. You give no mail server, and the platform gives no mail service. Midair sends no mail. All other functions work.
- Delta
The monitoring agent. Two fields: the path to the agent repository on this server, and the address that the agent reports to. The report address must be reachable from the devices, so it is not
localhostand not the port of the user interface. An empty field falls back to the public URL. See Monitoring.- Webhooks
The incoming hooks that start a template from outside. See Continuous integration.
- Google Calendar
Mirrors the planned runs into a calendar.
- MCP
The endpoint for an AI assistant. See MCP endpoint.
- Credentials
The secret store: the passwords and the SSH keys that the nodes and the repositories use. See Credentials.
AI providers¶
Midair can reach an AI model in five ways. Two of them are the HTTP APIs of the vendors, billed per token against a key. The other three are the command-line tools of the assistants, which answer out of the subscription that they were signed in with.
Provider |
How it answers |
|---|---|
|
The Anthropic API, with an API key. |
|
The OpenAI API, with an API key. |
|
The Claude Code command-line tool. |
|
The Codex command-line tool. |
|
The GitHub Copilot command-line tool. |
The screen also holds the model name for each API.
Signing in the command-line tools¶
The tools sign in differently, because the vendors made different choices about where the browser has to be.
Codex signs in from anywhere. codex login --device-auth prints a link and a
one-time code, and it returns when somebody approves it in a browser on any
machine. The server drives that itself: the screen shows the link and the code,
and the administrator finishes it on whatever device they are sitting at.
Claude cannot be driven that way. Its sign-in opens a browser on the host that
runs it, and on a server that is nobody’s browser. So the token is made where a
browser already is. Run claude setup-token on the machine of the
administrator, and paste the result into the credential store.
GitHub Copilot does both. The screen can sign the host in with a link and a
one-time code, and a GitHub token kept in the credential store is handed to
every run. The token must be a fine-grained personal access token with the
Copilot Requests permission; Copilot refuses a classic ghp_ token.
Copilot has no status command, so the screen reads the stored token or the
account Copilot recorded on the host. A sign-in that Copilot found elsewhere,
for example in the system keychain, does not show there: use Test.
Claude and Codex also accept a plain API key, and either may already be signed in by hand on the host. The screen asks the tool about itself rather than reading the settings, because what the tool believes is the only answer that predicts whether the next run works.
Licence¶
Midair works only while the Portal confirms the installation’s token. It asks once an hour. If the Portal cannot be reached, Midair keeps working for 48 hours after the last confirmation; an installation that has never been confirmed does not start work at all. A token the Portal does not know, or one whose subscription has ended, stops work at once.
While Midair is not licensed, every page explains why and how to connect the token (below), and Settings stays open. Work resumes within minutes of the Portal confirming the token.
Updates¶
The Updates card is there when the instance has an update channel. It shows the build the instance runs and the newest stable build, with its notes.
An instance that the Portal built and runs is updated by the Portal. Its card says so and has no button.
On an instance you host yourself, Update now downloads the newest stable build. It installs when the instance is next idle, which restarts it; reload the page afterwards to pick up the new version.
To connect an instance you host yourself, copy the update token from the Products page of the Portal and give it to the installation:
on a server,
./scripts/configure.sh --portal-token <token>in the installation directory, then deploy or update as usual;in the Docker image,
MIDAIR_PORTAL_TOKEN=<token>in the container’s environment. A container has no Update now: it updates by being recreated from the new image, and the card shows when there is one.