Fistron docs

fistron.io

Set your repositories’ settings

Fistron’s settings of a repository (its code review rules, its change policy, its quarantined tests, its test selection and tiers, and the rest) are kept in Fistron, not in the repository. You set them once for the organisation, and they apply to all its repositories; a repository changes only what is different for it.

Open Repository settings:

  1. In Settings of, choose the organisation, one of the repositories already set, or another repository (owner/name).
  2. In the list, Open the setting. You see the scope’s own setting and, below it, the effective setting and where each of its values comes from: the organisation or this repository.
  3. Change the setting in its file’s format (TOML, or JSON for a migration’s requirements) and Save. Fistron checks it as it reads it, for the repository merged with the organisation’s; a setting that would break a repository’s effective one is not kept, and Fistron says why.
  4. Remove takes the scope’s own setting away: a repository then follows the organisation’s again.

In a control plane every change is a version with who made it, when and Why; open the versions to Restore an older one. A viewer of the organisation reads the settings; its managers change them.

Proposed changes

Fistron proposes changes of the settings itself: the flaky quarantine’s entries, the Suite Health’s tests to review, the quality goals, a change policy, review rules and the test tiers. None of them is a pull or merge request. In a control plane, an engineer of the organisation can also change a setting’s text and choose Propose this change instead of saving it. A manager sees each under Proposed changes, as proposed and as it is now, with who proposed it and why: Confirm keeps it as a new version, Reject leaves the setting as it is; a Note says why. In the local UI the same list is also on Proposals.

The code review

The page has two rows of tabs. The first row names the groups, the second the settings of the group that is open, each on its own page:

Group Its settings
Review and changes Code review, Change policy, Dependencies
Tests Quarantine, Suite Health, Test selection, Test tiers
Delivery and goals Quality goals, Install each pull request, Migration requirements
Verification checklists the group’s one setting: its tab is named as the setting
Overview All settings (which are set, and for the organisation or a repository), Proposed changes, Import

Each setting’s page says in a sentence what the setting changes, where you see the result, and what applies while it is not set. Every setting you fill is a form of named fields, with its text under Edit … as text; only the two Fistron writes itself (the migration’s requirements, the verification checklists) show their text alone. Under the text, An example … to start from and Start from this example fill an empty box with a filled example you then change. What Fistron cannot read is refused when you save it, from the form or the text, with why, and nothing is kept: every setting is checked as the part of Fistron that uses it reads it.

Under Code review, The code review of the scope is a form: for each rule its level, its level on code written with AI, whether a model’s rule Blocks, and whether it is On; the Rule pack the rules come from; and what Fistron does on a pull or merge request: Review, Publish, Request changes From the level, Inline comments at most, The author’s confirmation, and what a request’s review does unless its run says otherwise: The team’s rules, The code explained and Line by line’s depth, and the AI review. Save the code review keeps the changes in the scope’s review-rules and change-policy settings; a repository keeps only what it changes.

The change policy and the quality goals

Two more forms, each a tab:

Each field says whose value it shows (Fistron’s default, the organisation’s, this repository’s own). Keep the change policy or Keep the quality goals saves the changes into the scope’s own setting, checked as Fistron reads it; a repository keeps only what it changes, a goal or metric by its id. Undo the changes drops what is not saved. Install each pull request has its form here too.

Dependencies, quarantine, Suite Health, test selection and tiers

These five are forms as well. Each has its values as fields, with Fistron’s default shown while nothing is set, and its entries as a list:

Setting Its values Its lists
Dependencies Approved packages
Quarantine when Fistron proposes a test and when it proposes to end a quarantine Quarantined tests and jobs
Suite Health how many of the slowest tests the audit names Recommendations accepted, Recommendations rejected (not proposed again)
Test selection Changed paths that need no job Jobs and the paths each depends on
Test tiers The hour a nightly tier starts (UTC), the paths that select nothing Tiers

To add an entry, click the list’s Add … button (Add an approval, Add a tier) and fill its fields; the ones marked required must be filled, and the form says which entry misses which before anything is sent. Remove … under an entry takes it out. Keep … saves the form. A list is kept as a whole: when a repository saves its own list, it replaces the organisation’s for that repository, and the form says so before you save. A value you leave at Fistron’s default is not written into the setting. What the form does not show (a tier’s assigned tests, the quarantine’s rejected candidates) stays as it is and is edited as text.

Your repository’s old .fistron/ files

Until a setting is set in Fistron, Fistron still reads a repository’s own .fistron/ file and says so. In the local UI, Import from the repository reads a working copy’s files: Show the changes shows what would change, and Keep these settings keeps them. In a control plane, Import from the repository has a project’s agent read the repository’s files on its default branch: choose whose agents in Read by the agents of, give the Repository, and Read the repository’s files; each file that differs is shown, and Keep these settings keeps them as new versions. From then on, the files in the repository are not read again; you can delete them.

In CI without a control plane

A CI job reads the settings from Fistron’s settings directory: give the job the directory and name it with FISTRON_SETTINGS (see the settings).