[code]smith automatically fixes CI failures and addresses review feedback from bots or humans.
Autofix works across multiple rounds of review, addressing comments and CI failures as they happen so you never see a red PR.
PRs created by [code]smith automatically enable Autofix by default. You can manually enable Autofix on a PR by clicking “Autofix with [code]smith”.
You can enable Autofix automatically on all future PRs by clicking on “Autofix settings” or from the settings page.
To manage Autofix, [code]smith updates your PR footers with buttons to enable autofix for a specific change and to enable Autofix for all of your future changes.
You can disable this footer from the [code]smith settings page.
Autofix is billed at standard [code]smith rates.
How Autofix works
- [code]smith automatically monitors PRs for CI failures and review feedback. When a test failure or review comment is posted, [code]smith wakes up, processes it, and commits a fix.
- After a first comment, [code]smith will batch incoming review comments and attempt to address them as a group.
- [code]smith will not address human reviewers unless [code]smith created the PR, or if it is explicitly @mentioned.
- Autofix is automatically enabled for any PR opened by [code]smith. You can disable autofix for these PRs in the [code]smith session web UI.
Merge conflicts can trigger a cascade of lengthy [code]smith sessions when PRs with autofix enabled depend on one another, as each updated PR triggers autofix on its dependent PR after it resolves its own merge conflicts, creating new conflicts.