Skip to main content
GitHub integration lets the AI agent clone your repo in a sandbox, read the source code behind failing spans, and create fix PRs — all from within TraceRoot.

Setup

  1. Go to Workspace Settings -> Integrations in the TraceRoot dashboard and Connect GitHub App.
  2. Grant access to the repositories you want to connect

Permissions

PermissionAccessWhy
MetadataRead-onlyList repositories, collaborators, and access repository metadata (mandatory)
ContentsRead and writeClone and read source code for debugging; create fix PRs
Pull requestsRead and writeCreate fix PRs from root cause analysis; read PR context
IssuesRead and writeCreate and manage issues; read issue context for debugging
Commit statusesRead-onlyRead commit statuses for trace correlation
DiscussionsRead-onlyRead discussions and related context

Requirements

For source code correlation to work:
  • The TraceRoot GitHub App must have access to the repository
  • Traces must include git context typically auto-detected by the SDK
Git context is captured automatically for every span when you use the @observe decorator. See Git Context.