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/5-reviewing-coding-agent.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Review GitHub Copilot coding agent's work
1
+
# Exercise 5: Review GitHub Copilot coding agent's work
2
2
3
3
|[← Adding new functionality with Copilot Agent Mode][previous-lesson]|
4
4
|:----:|
@@ -30,7 +30,7 @@ Let's start by exploring the first pull request (PR) generated by GitHub Copilot
30
30
3. Open issue titled something similar to **Add missing documentation** or something more robust.
31
31
32
32
> [!NOTE]
33
-
> If Copilot is still working on the task, the issue will contain the **WIP** flag. If so, wait for Copilot to complete the work. This may take a few minutes, so feel free to take a break, or reflect on everything you've learned so far.
33
+
> If Copilot is still working on the task, the issue will contain the **[WIP]** flag. If so, wait for Copilot to complete the work. This may take a few minutes, so feel free to take a break, or reflect on everything you've learned so far.
34
34
35
35
4. Once the pull request is ready, select the **Files changed** tab and review the changes.
36
36
@@ -43,7 +43,7 @@ Let's start by exploring the first pull request (PR) generated by GitHub Copilot
43
43
44
44

45
45
46
-
9.You should see the workflows get queued in the checks section of the pull request. All being well, you should see that the workflows pass for both the backend and frontend. This may take a few minutes to complete.
46
+
9. You should see the workflows get queued in the checks section of the pull request. All being well, you should see that the workflows pass for both the backend and frontend. This may take a few minutes to complete.
47
47
48
48
## Requesting changes from GitHub Copilot
49
49
@@ -54,14 +54,14 @@ Working with Copilot on a pull request is not just a one-way street. You can als
54
54
- Create a README in both the server and client folders with descriptions of the codebase of each.
55
55
56
56
1. Add a comment requesting a change to the generated documentation. Use one of the ideas above, or another suggestion for Copilot around documentation you'd like to see in the codebase.
57
-
2.Feel free to watch the session as Copilot works on the changes.
58
-
3.Select **View Session** to watch Copilot perform its work. Notice how Copilot starts a new session to make the updates.
59
-
4.You can select **Back to pull request** to return to the pull request.
57
+
2. Feel free to watch the session as Copilot works on the changes.
58
+
3. Select **View Session** to watch Copilot perform its work. Notice how Copilot starts a new session to make the updates.
59
+
4. You can select **Back to pull request** to return to the pull request.
60
60
61
61

62
62
63
-
5.Once Copilot has completed the changes, you should see a new commit in the pull request.
64
-
6.Select the **Files changed** tab to review the changes.
63
+
5. Once Copilot has completed the changes, you should see a new commit in the pull request.
64
+
6. Select the **Files changed** tab to review the changes.
65
65
66
66
Feel free to continue iterating until you are happy. Once happy, you can convert the PR to ready from a draft, and merge it into the main branch.
67
67
@@ -81,7 +81,7 @@ Let's return to the PR Copilot generated for resolving our issue about adding en
81
81
82
82

83
83
84
-
8.You should see the workflows get queued in the checks section of the pull request. All being well, you should see that the workflows pass for both the backend and frontend. This may take a few minutes to complete.
84
+
8. You should see the workflows get queued in the checks section of the pull request. All being well, you should see that the workflows pass for both the backend and frontend. This may take a few minutes to complete.
85
85
86
86
Copilot has created the new endpoints! Just as before, you can work iteratively with Copilot coding agent to request updates. For example, you might want to request Copilot centralizes the error handling to reduce duplication, or ensuring comments and docstrings are added (remember - this was assigned **before** we made the updates to our custom instructions!) Just like before, you can make these requests by adding a new comment on the **Conversation** tab, which Copilot will see and kickoff a new session.
87
87
@@ -127,4 +127,4 @@ This is just the beginning, and we can't wait to see how you use Copilot to help
0 commit comments