You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guides/all/track-ai-driven-pull-requests.md
+93-6Lines changed: 93 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,14 +5,16 @@ description: Learn how to track and monitor AI-driven pull requests in your deve
5
5
6
6
# Track AI-driven pull requests
7
7
8
-
The software engineering world has experienced a major breakthrough with AI coding agents such as GitHub Copilot, Claude, Devin, and others. Engineering teams are increasingly integrating these AI agents into their development workflows. This guide will help you create a comprehensive dashboard to bring visibility into what these AI agents are doing in your repositories.
8
+
As engineering teams integrate AI coding agents like GitHub Copilot, Claude, and Devin into their workflows, they face the challenge of managing an increased volume of pull requests. Tracking and reviewing these AI-generated contributions can be overwhelming without a centralized system. Port's AI control center addresses this issue by identifying pull requests originating from coding agents and displaying them in real-time, allowing you to efficiently monitor and act upon them.
-**Track AI agent contributions**: Monitor which AI coding agents are actively contributing to your codebase through pull requests.
17
+
-**Act fast on AI agent contributions**: Quickly respond to pull requests from AI coding agents using your AI control center.
16
18
-**Quality assurance**: Ensure AI-generated code meets your team's standards and review processes.
17
19
18
20
@@ -22,6 +24,10 @@ This guide assumes the following:
22
24
- You have a Port account and have completed the [onboarding process](https://docs.port.io/getting-started/overview).
23
25
-[Port's GitHub integration](https://docs.port.io/build-your-software-catalog/sync-data-to-catalog/git/github/) is installed in your account.
24
26
27
+
:::info Alternative setup
28
+
This guide assumes you're using GitHub to manage your code. However, the principles and steps outlined here can be adapted to other Git platforms such as GitLab, BitBucket etc.
29
+
:::
30
+
25
31
26
32
## Data model setup
27
33
@@ -52,7 +58,53 @@ This blueprint will represent all known coding agents in your system.
52
58
},
53
59
"mirrorProperties": {},
54
60
"calculationProperties": {},
55
-
"aggregationProperties": {},
61
+
"aggregationProperties": {
62
+
"total_p_rs_handled": {
63
+
"title": "Total PRs handled",
64
+
"type": "number",
65
+
"target": "githubPullRequest",
66
+
"calculationSpec": {
67
+
"func": "count",
68
+
"calculationBy": "entities"
69
+
},
70
+
"pathFilter": [
71
+
{
72
+
"fromBlueprint": "githubPullRequest",
73
+
"path": [
74
+
"ai_coding_agent"
75
+
]
76
+
}
77
+
]
78
+
},
79
+
"total_open_p_rs": {
80
+
"title": "Total open PRs",
81
+
"icon": "DefaultProperty",
82
+
"type": "number",
83
+
"target": "githubPullRequest",
84
+
"query": {
85
+
"combinator": "and",
86
+
"rules": [
87
+
{
88
+
"property": "status",
89
+
"operator": "=",
90
+
"value": "open"
91
+
}
92
+
]
93
+
},
94
+
"calculationSpec": {
95
+
"func": "count",
96
+
"calculationBy": "entities"
97
+
},
98
+
"pathFilter": [
99
+
{
100
+
"fromBlueprint": "githubPullRequest",
101
+
"path": [
102
+
"ai_coding_agent"
103
+
]
104
+
}
105
+
]
106
+
}
107
+
},
56
108
"relations": {}
57
109
}
58
110
```
@@ -469,6 +521,8 @@ Built with Port to bring clarity to your AI-driven SDLC.
0 commit comments