Fixes and code review | TraceX
Fixes and code review
TraceX turns root causes into pull requests, and reviews your team's pull requests with the context of your whole codebase.
Every fix, ready to merge.
From an investigation, TraceX writes the change, explains its risk and how to validate it, and opens the pull request on your repository.
- Smallest change that fixes the root cause
- Draft pull requests when you prefer
- Validation steps in the description
app/workers/refunds.py
def pending_refunds(db):
- return db.refunds.filter(state="pending")
+ return db.refunds.filter(state="awaiting_payout")
Fix ready Low risk Open pull request Opened
Validate run the refund worker against staging; 34 refunds move to payout
Reviews that know your codebase.
When a pull request is opened or updated, TraceX reviews it with context from every connected repository, and comments on the exact lines with a fix the author can apply.
- Comments on the exact lines
- GitHub suggestions you apply in one click
- Comment
@tracex reviewfor a review on demand
TraceX Bug app/workers/refunds.py:42
This filter still uses pending, which migration 0142 renamed. The worker will skip every new refund.
Suggested change
- filter(state="pending")
+ filter(state="awaiting_payout")
Automatic reviews
When a pull request is opened or updated, TraceX reviews it and posts comments on the exact lines.
@tracex review
Comment @tracex review on any pull request to get a review right away, drafts included.
Suggested changes
Findings come with GitHub suggestions the author can apply in one click.
Your whole codebase
Reviews use context from every connected repository, not only the diff.
Never blocks a merge
Reviews are comments: TraceX never approves or blocks a merge on its own.
Through the GitHub App
Access is granted per repository through the TraceX GitHub App, and can be revoked any time.
A reviewer that runs with your CI.
TraceX reviews each pull request as it's opened or updated, alongside your tests, and posts its findings as comments on the exact lines.
- Runs on every push
- Comments and suggested changes, never a blocked merge
- Ask again any time with
@tracex review
payments-api #318 · checks
Fix refund worker state filter Opened by TraceX · 1 file changed, +1 −1
TraceX review 2 comments, 1 suggestion
Tests 12 passed
Lint no issues
All checks have passed Merge pull request
Code review questions.
How does TraceX get access to my code? Through the TraceX GitHub App, installed on the repositories you choose. You can remove it any time.
Will it approve or block merges? No. Reviews are comments and suggestions. Your team decides what to merge.
Can it open pull requests on its own? TraceX writes fixes from investigations and opens the pull request when someone on your team asks it to.
Find the root cause. Ship the fix.
TraceX is free during the private beta. Connect a database and a repository and ask your first question in minutes.