Two kinds of review#
| Someone’s pull request | Eido’s own change | |
|---|---|---|
| Workflow template | Review a pull request | Plan, build, review and test |
| When it runs | When a pull request linked to a work item is opened, or the item is sent to Eido | As a stage, after Eido builds the change |
| Changes code | No | No. The findings wait for a person. |
Your project’s workflows may have other names. See Workflows.
Getting a pull request reviewed#
-
Link it to a work item
A pull request with no linked work item isn’t reviewed.
-
Publish it
Drafts wait until they are published.
-
Eido reviews it
Usually within a few minutes. Or send the linked work item to Eido yourself.
Each pull request is reviewed once. To have it reviewed again after you push, send the work item to Eido again. Opening a pull request Eido reviews counts you as an Eido user. See Licensing and billing.
What Eido posts#
One thread per finding, on its file and line, most serious first. Each starts with a label:
- Blocker:, Major:, Minor: or Nit:, from most to least serious. In the templates, a failing test is always a blocker.
- Question: when Eido is asking, not telling.
- Nice: for something done well.
In the templates, a last comment gives Eido’s verdict, and the work item gets Eido has reviewed this pull request. The templates check correctness, security, the acceptance criteria, tests, performance, maintainability, and your organization’s review guidelines. A project admin can change this in the stage’s instructions.
Suggested changes#
A small fix Eido is sure of comes with a suggested change.
- To accept it, press Apply changes, then Commit all changes.
- To decline it, resolve the thread as Won’t fix.
Replying to Eido#
Reply in the thread as you would to a person. The next time Eido reviews the pull request, it reads every thread first, answers your replies, and resolves the thread if you are right. It doesn’t raise a finding twice.
Eido’s vote#
Off unless the workflow lets Eido vote. Your branch policies decide what its vote counts for.
In Eido’s own workflow#
- Code review starts with fresh eyes. It is told what the change is for, not how Eido built it.
- It doesn’t fix its own findings. You apply the suggestions you agree with. A workflow can add a stage that fixes them first. See Stages and steps.