Product
Platform overview Tomosu engine (open source) Tomosu Cloud Reliability rules
Solutions
Prevent outages before merge Reliability Radar Fix safety For developers For SRE and platform teams
Developers
Quickstart Documentation Contribute a rule
Resources
Blog Case studies Learn FAQ News
Company
Pricing About Contact Join the Waitlist
Theme

Accept all and Auto Fix

For many findings, decide per repository instead of one at a time. Accept all and Reject all act on every open finding of one repository. Auto Fix plans a decision for each finding, with a reason, and changes nothing until a person applies the plan.

  • fix accept-all
  • autofix plan
  • Console: Auto Fix
  • Updated

Which one should I use?

You want toConsoleTerminal
Accept every open finding of a repositoryFindings → choose a repository → Accept alltomosu fix accept-all --repo R
Reject every open finding of a repositoryReject alltomosu fix reject-all --repo R
Get a decision per finding, with reasons, to review firstAuto Fix (also Runtime → a service)tomosu autofix plan --repo R
Open one pull request for fixes already acceptedOpen one pull requesttomosu fix pr --repo R

All of them work on one repository at a time; the console’s buttons stay disabled until a repository is chosen. Signed in with a code host, Accept all and an applied plan open one pull or merge request for the repository, as you.

How does Auto Fix decide?

Auto Fix plans a decision for every open finding of the repository (or of a service, from the Runtime page), and changes nothing until a person applies the plan:

  • Accept every finding with a code change and a confidence of 50% or more, whatever its severity or origin, including fixes that need your review;
  • Reject only findings under 50% that have a concrete reason;
  • Leave for you findings with no code change to make: their guidance is for a person.

Each line says why, and the confidence behind it.

How do I run Auto Fix?

  1. Choose a repository on Findings

    Pick it in the Repository filter. Auto Fix, Accept all and Reject all become available.

  2. Press Auto Fix

    The plan is made in the background; the progress window at the bottom right links to it when it is ready.

  3. Review the plan

    Untick anything you disagree with.

    An Auto Fix plan for demo/shop: a count of findings to accept, to reject and for you to read, then a table with a ticked Accept decision per finding, the reason with its confidence, and the progress window showing the plan finished.
    An Auto Fix plan for demo/shop.
  4. Press Apply plan

    Only what stays ticked is applied.

What ends up in the pull request?

Signed in with GitHub, GitLab or Bitbucket, Apply plan and Accept all open one pull or merge request with every accepted change, as you. With a Pro plan and the CI/CD check turned on, the changes are checked first (see Fix pull requests and fix safety). Without a sign-in, the decisions are recorded and each change is available to apply yourself, as with a single Accept.